Bug#403097: kmix: show/hide menubar does not toggle state correctly
Package: kmix
Version: 4:3.3.2-1
Severity: normal
How to reproduce the bug:
0. Start kmix with default settings.
1. Using the mouse, click menubar -> settings -> "hide menubar"
2. The menubar is gone. Now we try to show it again.
3. Right-click in mixer area, the context menu still says "hide"
when it should say "show" (strange!) but click on "hide" anyway.
4. The menubar returns, but menubar -> settings now says "show menubar"
even though the menubar *is* shown.
To restore the correct status, repeat the process.
Anaylsis:
When the menubar is showing, there are three ways to hide it:
H1) right-click in mixer area -> settings -> "hide"
H2) click menubar -> settings -> hide
H3) ctrl+m
When the menubar is hidden, there are two ways to show it:
S1) right-click in mixer area -> settings -> "show"
S2) ctrl+m
It seems that only H1 and S1 actually toggle the name of the option
between "show" and "hide". So it is easy to get into the wrong state by
mixing, for example, H2 and S1
I think the bugfix must be for all methods to toggle the name of the
option.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages kmix depends on:
ii kdelibs4 4:3.3.2-6.4 KDE core libraries
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libasound2 1.0.8-3 ALSA library
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libfam0c102 2.7.0-6sarge1 client library to control the FAM
ii libgcc1 1:3.4.3-13sarge1 GCC support library
ii libice6 4.3.0.dfsg.1-14sarge2 Inter-Client Exchange library
ii libidn11 0.5.13-1.0 GNU libidn library, implementation
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libqt3c102-mt 3:3.3.4-3sarge1 Qt GUI Library (Threaded runtime v
ii libsm6 4.3.0.dfsg.1-14sarge2 X Window System Session Management
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-14sarge2 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-14sarge2 X Window System miscellaneous exte
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii xlibs 4.3.0.dfsg.1-14sarge2 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
Reply to: