[Bug 1040433] New: ReText does't work from KDE
http://bugzilla.opensuse.org/show_bug.cgi?id=1040433 Bug ID: 1040433 Summary: ReText does't work from KDE Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: otuominen@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 726082 --> http://bugzilla.opensuse.org/attachment.cgi?id=726082&action=edit screenshot ReText doesn't work if started from application menu - blank window. When ReText is closed it will hang and process stops responding. See screenshot. However it work if started from the command line. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1040433 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ReText does't work from KDE |ReText can't start from KDE | |Application launcher | |(kickoff) but can from | |command line because | |sys.stdin.read() led to a | |blockage -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1040433 http://bugzilla.opensuse.org/show_bug.cgi?id=1040433#c1 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #1 from Marguerite Su --- Sorry for the so late reply. But the good news is I reply with the cause found :-D In /usr/bin/retext we have a line: inputData = '' if (sys.stdin is None or sys.stdin.isatty()) else sys.stdin.read() which means if the standard input pipe got an invalid file descriptor (the only None case) or we are running retext from command line, inputData will be an empty placeholder. if not, it will read from the standard input pipe for a file name. Unluckily sys.stdin.read() is a blocking action. it will not end until receiving inputs. And Of course we can't give it inputs while starting it from a click on the desktop. But if you run retext from command line, it'll be fine because stdin was not read 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=1040433 http://bugzilla.opensuse.org/show_bug.cgi?id=1040433#c2 --- Comment #2 from Marguerite Su --- Created attachment 784856 --> http://bugzilla.opensuse.org/attachment.cgi?id=784856&action=edit the patch -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1040433 http://bugzilla.opensuse.org/show_bug.cgi?id=1040433#c3 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Marguerite Su --- for Factory we just update to 7.0.0: https://build.opensuse.org/request/show/639503 for SLE 15, Leap 15 and Leap 42.3 an update stack is provided: https://build.opensuse.org/request/show/639506 closed as fixed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com