[Bug 1199699] New: KDE3 Kmenu often has wrong layout
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 Bug ID: 1199699 Summary: KDE3 Kmenu often has wrong layout Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: anixx@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The Kmenu sometimes appears not where it should but with a shift to the bottom, covering the panel. This depends on the icon theme currently in use: it does not happen with Crystal SVG theme but does with Slick and iKons icon themes for example. The menu appears shifted for the first click on the K menu button after a change in KDE configuration through KControl. The second time the button pushed the menu appears not shifted. To reproduce set Slick icon theme, change something in KControl and push the K menu button. This is a very old and annoying bug. Bug report in Trinity: https://bugs.trinitydesktop.org/show_bug.cgi?id=352 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |belphegor@belbel.or.jp -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c1 --- Comment #1 from Ilya Chernykh <anixx@opensuse.org> --- This also happens first time after login. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c2 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anixx@opensuse.org Flags| |needinfo?(anixx@opensuse.or | |g) --- Comment #2 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- It could not be reproduced.. Steps I tried: 1. Install openSUSE Tumbleweed 20220518 with "Generic Desktop". 2. Add "KDE:KDE3" OBS repo and install kdebase3-{apps,kdm,session,workspace} and kde3-style-asteroid (according to the comment of TDE bug report). 3. Run "update-alternatives" and select kdm3 as display manager. 4. Reboot. 5. Login as user and select "Asteroid style" in Control Center. 6. Logout and re-login. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c3 --- Comment #3 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- (Because it seems to be unable to upload an attachment, I have used an image sharing site.) https://ibb.co/HrCHBzY -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c4 --- Comment #4 from Ilya Chernykh <anixx@opensuse.org> --- This affects only the classic K-menu (Windows-2000-style), not the SUSE-style K-menu. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c5 --- Comment #5 from Ilya Chernykh <anixx@opensuse.org> --- You can switch to the classic style by right-clicking on the "start" button. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c6 --- Comment #6 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Created attachment 859174 --> http://bugzilla.opensuse.org/attachment.cgi?id=859174&action=edit KDE3 menu with classic style + asteroid -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c7 --- Comment #7 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Switched to the classic style, but cannot be reproduced (as attached). Is it depends on the environment such as screen resolution or some customization? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c8 --- Comment #8 from Ilya Chernykh <anixx@opensuse.org> --- It definitely depends on the icon theme. Try the theme Slick, may be you will be able to reproduce. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c9 --- Comment #9 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Where can I download Slick icon theme? It seems not to be exist in KDE:KDE3 repo. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c10 --- Comment #10 from Ilya Chernykh <anixx@opensuse.org> --- It is a part of kdeartwork3 package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c11 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(anixx@opensuse.or | |g) | --- Comment #11 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Created attachment 859524 --> http://bugzilla.opensuse.org/attachment.cgi?id=859524&action=edit Screenshot Thanks. I confirmed that the Y position is shifted down a bit at first open after icon theme was changed. The left side of attached screenshot is the first open, the right side is the second (and later) open. The root cause of this bug is that popup->height() in KickerLib.popupPosition() (kicker/libkicker/global.cpp in kdebase) does not reflect the newly selected icon theme at first call. It may occur not only in KMenu, but also in other popup menu. But it seemed to require many and major changes to fix and is fairly beyond the scope of maintenance. Any idea for fix is welcome. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c12 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #12 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Changed to CONFIRMED. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c13 --- Comment #13 from Ilya Chernykh <anixx@opensuse.org> --- But since this happens with some icon themes and not others, maybe the theme itself could be fixed? Maybe it uses a wrong format of SVG files? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c14 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(anixx@opensuse.or | |g) --- Comment #14 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Sorry for delaying reply.
But since this happens with some icon themes and not others, maybe the theme itself could be fixed?
Yes, your point is correct. Some icon images have an incorrect (a little large) size. You can fix icons with: cd /opt/kde3/share/icons/slick; for i in *; do if [[ $i =~ ^[0-9]+x[0-9]+$ ]]; then find $i/ -type f | xargs -n 1 -i sh -c "mv {} {}.orig; convert -resize $i {}.orig {}"; fi; done After running it, this bug was solved in my environment. Could you please check in your environment? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c15 --- Comment #15 from Ilya Chernykh <anixx@opensuse.org> --- That's great find! Can it be fixed in build-time? Please, add this fix! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c16 --- Comment #16 from Ilya Chernykh <anixx@opensuse.org> --- Can the size be fixed in load-time, so that it would be correct size for all icon themes even those which were built wrong? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c17 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS Flags|needinfo?(anixx@opensuse.or | |g) | --- Comment #17 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Thanks for confirmation. Now preparing fix. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199699 http://bugzilla.opensuse.org/show_bug.cgi?id=1199699#c18 Yasuhiko Kamata <belphegor@belbel.or.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #18 from Yasuhiko Kamata <belphegor@belbel.or.jp> --- Ok, submitted as OBS req#989837. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com