[Bug 954623] New: fcitx prevents dropbox system tray loading in KDE Plasma 5
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 Bug ID: 954623 Summary: fcitx prevents dropbox system tray loading in KDE Plasma 5 Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: kde-maintainers@suse.de Reporter: farcusnz@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Build Identifier: openSUSE leap 42.1 installing fcitx as ime prevents the dropbox system tray from loading Reproducible: Always Steps to Reproduce: 1.install dropbox > run > system tray icon for dropbox loads 2. install fcitx/mozc > run > reboot > fcitx icon tray loads, dropbox icon does not. 3.uninstall fcitx > reboot > dropbox systray icon loads -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c3 --- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> --- *** Bug 962591 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c4 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #4 from Wolfgang Bauer <wbauer@tmo.at> --- FYI, I tried to install fcitx on my 13.2 system now (Plasma 5.5.3 from KDE:Frameworks5 and fcitx 4.2.8.5 from the standard 13.2 repos) I cannot reproduce the problem here though. Old XEmbed icons still show up. Will try in a Leap 42.1 VM next. Just for understanding: do the icons not load/display at all, or are they blank? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c5 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i@marguerite.su, | |tiwai@suse.com --- Comment #5 from Wolfgang Bauer <wbauer@tmo.at> --- Ok, I can reproduce the problem in Leap, with Plasma 5.4.3 and fcitx 2.4.9 from the standard repos. I noticed that xembedsniproxy is not running at all, that's why the old-style XEmbed icons are not shown. I started it manually, and old-style icons show up then (for newly started applications). But when I quit fcitx and start it manually as well, xembedsniproxy crashes with a segmentation fault. So apparently fcitx causes xembedsniproxy to crash during the login process, causing the reported problem. I will further investigate. CC'ing the last contributers to fcitx as well, it might be a problem in fcitx. Although xembedsniproxy should not crash anyway... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c6 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #6 from Wolfgang Bauer <wbauer@tmo.at> --- Well, I can actually reproduce the crash in 13.2 as well, so it's not Leap/fcitx 2.4.9 specific. It just doesn't happen on login here, maybe fcitx is started before xembedsniproxy by chance or something like that. Quitting and again running fcitx (or selecting "Restart" in its context menu) makes xembedsniproxy crash as well and XEmbed icons disappear. I filed a bug report at KDE too, let's see what they say. https://bugs.kde.org/show_bug.cgi?id=358227 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c7 --- Comment #7 from Mark Fairbairn <farcusnz@gmail.com> --- I installed fcitx this morning to have a quick play and noticed the skype is showing in the system tray . . . so I guess that skype doesn't even use xembed icons and the icon not showing previously was a different issue. Dropbox is the only other app I use that I am sue uses xembed icons and that consistently does not show up. (no blank space - it just isn't there) Thanks for filing the bug at KDE -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c8 --- Comment #8 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Mark Fairbairn from comment #7)
so I guess that skype doesn't even use xembed icons and the icon not showing previously was a different issue.
Skype is a Qt4 application, and does use the new-style SNI protocol if sni-qt (or as Skype is a 32bit app, sni-qt-32bit on a 64bit system) is installed.
Dropbox is the only other app I use that I am sue uses xembed icons and that consistently does not show up. (no blank space - it just isn't there)
Dropbox uses an xembed icon, yes. As mentioned, you can (re)start xembedsniproxy manually and the icons should appear. Might only work for freshly started applications though. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c9 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS --- Comment #9 from Wolfgang Bauer <wbauer@tmo.at> --- PS: I just noticed that the KDE bugreport is closed as fixed already, the fix should be in 5.5.4. I will have a look in backporting this for the version in Leap and submit an update. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c10 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |farcusnz@gmail.com Flags| |needinfo?(farcusnz@gmail.co | |m) --- Comment #10 from Wolfgang Bauer <wbauer@tmo.at> --- The fix for the crash has been added to the packages in KDE:Frameworks5 meanwhile, so please update and report back whether it works now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c11 Mark Fairbairn <farcusnz@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(farcusnz@gmail.co | |m) | --- Comment #11 from Mark Fairbairn <farcusnz@gmail.com> --- Created attachment 662681 --> http://bugzilla.opensuse.org/attachment.cgi?id=662681&action=edit blank tray space and xembed crash I updated plasma today from frameworks repo to 5.5.3-134.5 On reboot both fcitx and dropbox show in system tray. However, there is a blank space beside the dropbox icon. This seems to be a separate issue to the ongoing blank space icon problem with system tray in plasma 5 which can be corrected by toggling settings. There is no way to make this blank space beside the dropbox icon disappear. Clicking the blank space results in the immediate disappearance of the dropbox icon from system tray and system tray settings. so something still seems to be amiss. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c12 --- Comment #12 from Mark Fairbairn <farcusnz@gmail.com> --- running xembedsniproxy manually after crash brings xembed icons (dropbox) back without the blank space but after a reboot the problem resurfaces -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c13 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #13 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Mark Fairbairn from comment #11)
Created attachment 662681 [details] blank tray space and xembed crash
Hm? Where's a crash there?
However, there is a blank space beside the dropbox icon. This seems to be a separate issue to the ongoing blank space icon problem with system tray in plasma 5 which can be corrected by toggling settings.
No. This seems to be an issue of fcitx itself. It apparently creates an XEmbed icon as well which is empty, and this is what made xembedsniproxy crash in the first place. The fix prevents the crash, and now the empty icon is added to the system tray. I see something similar in IceWM as well btw: Often (not always) a blank window appears (old-style system tray icons are just regular application windows that are embedded in the system tray via XEmbed) in addition to the (new-style?) icon in the system tray, which even prevents me from logging out. If you see this as bug, please report it separately against fcitx. Closing as fixed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c14 --- Comment #14 from Mark Fairbairn <farcusnz@gmail.com> --- surely it can't be considered fixed when clicking the blank space immediately crashes xembedsniproxy? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c15 --- Comment #15 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Mark Fairbairn from comment #14)
surely it can't be considered fixed when clicking the blank space immediately crashes xembedsniproxy?
Well, that's a different crash now isn't it? But sorry, I overlooked this sentence about the new crash. Feel free to reopen then or create a new bug report, but please provide a backtrace. (run xembedsniproxy in gdb and reproduce the crash) Might be better to report it upstream though. I will see if I can reproduce it as well, didn't experience that so far in my previous tests and I'm sure I did click on that empty icon. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c16 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #16 from Wolfgang Bauer <wbauer@tmo.at> --- Ok, I managed to reproduce the new crash. I'll try to get a backtrace and report it upstream at KDE. xembedsniproxy sends a fake mouse click to the application's XEmbed "icon" window when you click on the SNI icon in the system tray. I suspect that window doesn't exist any more or is invalid (this might also have been the reason for the original crash). I still think fcitx is doing something weird here though. Maybe it deletes the window immediately after creating it or something like that? Would maybe also explain why KDE4 e.g. doesn't show that second "icon" at all. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c17 --- Comment #17 from Wolfgang Bauer <wbauer@tmo.at> --- Ok, new KDE bug report: https://bugs.kde.org/show_bug.cgi?id=358317 After a quick look at the code, it seems the previous fix was not complete. In the mouse click function it still uses the client geometry without checking for null, a check was added in other places (to prevent the original crash) but not here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 http://bugzilla.opensuse.org/show_bug.cgi?id=954623#c18 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Wolfgang Bauer <wbauer@tmo.at> --- The crash when clicking on that icon is fixed in Plasma 5.5.4, which is in the KDE:Frameworks5 repo now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=954623 Emilio Recio <emrecio@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emrecio@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com