Package: blackbox
Version: 0.65.0-5
Severity: important
Tags: patch

 ** Please type your report below this line ***

The Toolbar Configuration "BottomCenter" places the toolbar 2px too high, 
causing funny popup/popdown effects with AutoHide enabled.

A picture showing the bug is attached.

A patch is also attached. Might not be right, but works for me.



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages blackbox depends on:
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libgcc1                  1:3.4.3-6       GCC support library
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libstdc++5               1:3.3.5-5       The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- no debconf information

<<attachment: bb-bug.gif>>

diff -Nur blackbox-0.65.0.orig/src/Toolbar.cc blackbox-0.65.0/src/Toolbar.cc
--- blackbox-0.65.0.orig/src/Toolbar.cc 2005-01-25 07:46:25.000000000 +0100
+++ blackbox-0.65.0/src/Toolbar.cc      2005-01-25 07:51:19.000000000 +0100
@@ -295,8 +295,8 @@
   case BottomRight:
   case BottomCenter:
   default:
-    y = rect.bottom() - frame.rect.height() -1
-      - (screen->getBorderWidth() * 2);
+    y = rect.bottom() - frame.rect.height()
+      - (screen->getBorderWidth() * 2) +2;

Reply via email to