Bug 402682 - If Clipboard is active in system tray, gvim crashes
Summary: If Clipboard is active in system tray, gvim crashes
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.14.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 18:39 UTC by Marko Kosunen
Modified: 2019-10-18 13:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Kosunen 2018-12-29 18:39:36 UTC
While opening a file with gvim, gvim exits/crashes when Clipboard is enabled in System Tray. However this does not happen with every file, and the file it crashes with may change.


STEPS TO REPRODUCE
~>gvim somefile.txt

OBSERVED RESULT
BadWindow (invalid Window parameter)

Vim: Got X error

(gvim:9019): GLib-WARNING **: 09:28:58.806: g_main_context_prepare() called recursively from within a source's check() or prepare() member.

(gvim:9019): GLib-WARNING **: 09:28:58.806: g_main_context_check() called recursively from within a source's check() or prepare() member.
Vim: Finished.


EXPECTED RESULT
gvim should open the file
This result is achieved by disabling Clipboard in Configure System Tray->Extra items


SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: 5.14.4
(available in About System)
KDE Frameworks 5.53.0
Qt 5.11.1 (built against 5.11.1)
The xcb windowing system
Comment 1 Konrad Materka 2019-10-18 13:35:13 UTC
I checked with gvim 8.0.1453, it was not crashing. If this happens again, please send more detailed information, including exact steps how to reproduce. It is probably a good idea to report this bug to gvim team.