[Bug 951609] New: fcitx-configtool crashes on KDE
http://bugzilla.opensuse.org/show_bug.cgi?id=951609 Bug ID: 951609 Summary: fcitx-configtool crashes on KDE Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 RC1 1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications Assignee: bnc-team-screening@forge.provo.novell.com Reporter: tiwai@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When running fcitx-configtool on KDE and clicks "Only Show Current Language" check box, it crashes immediately with a seg fault. The fcitx-configtool itself is a shell script, and it invokes for KDE like: kcmshell5 kcm_fcitx -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c1
--- Comment #1 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c2
--- Comment #2 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c3
--- Comment #3 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c4
--- Comment #4 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c5
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c7
Weng Xuetian
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c8
--- Comment #8 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c9
--- Comment #9 from Weng Xuetian
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c10
--- Comment #10 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c11
Fuminobu Takeyama
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c14
--- Comment #14 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c15
--- Comment #15 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c16
--- Comment #16 from Fuminobu Takeyama
OK, I could reproduce the issue here. So we need another workaround for the recursive visualRect() phenomenon.
It seems that temporarily disabling the categorized model makes it working. The fix patch is attached below.
A fix package is found on OBS home:tiwai:branches:openSUSE:Leap:42.1:Update repo. Can anyone test it?
Thanks for the patch. However, systemsettings5 still crashes. As far as I see its back trace, the cause is the same. Tested with Leap 42.1 on VirtualBox -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c17
--- Comment #17 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c18
--- Comment #18 from Fuminobu Takeyama
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c19
--- Comment #19 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c20
--- Comment #20 from Weng Xuetian
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c21
--- Comment #21 from Takashi Iwai
Well, some time ago during KDE4 ego, I tried to workaround the KCategorizedView issue several times and finally gave up and used QTreeView to implement it.
When I ported it to KF5, from some reason I don't remember, I went back to KCategorizedView again (probably I thought it might be a Qt issue).
I just spend sometime to port it back to QTreeView again, hopefully there will be no problem anymore.
@Takashi Iwai AFAIK, disable categorizedView may help workaround bug, but would make it totally unusable (so many keyboard layout).
Well, it temporarily disables the categorized view while updating -- this was a trick that was used in some KDE programs for avoiding the crash, IIRC. Alas, this doesn't seem work reliably. The bug in Qt5 is way deeper than I thought. So, scratch this, in anyway.
Either try my commit upstream https://github.com/fcitx/kcm-fcitx/commit/ 93a49daaafb3580a7adf36668d10fff1527b52d7, or wait for a new release (will be out soon).
Thanks, I update my branch now. Takeyama-san, could you confirm that it works for you? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
Ju Ping Chan
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c22
--- Comment #22 from Ju Ping Chan
http://bugzilla.opensuse.org/show_bug.cgi?id=951609
http://bugzilla.opensuse.org/show_bug.cgi?id=951609#c23
Takashi Iwai
participants (1)
-
bugzilla_noreply@novell.com