I’m encountering a rather odd problem with kate following the 20151229 TW snapshot (which included the kde-frameworks-5.17.0 update).
Kate 15.08.3
KDE Frameworks 5.17.0
Qt 5.5.1 (built against 5.5.1)
Problem is…
Open Dolphin and navigate to a text file. Either left click or use context menu ‘open with’ (kate). Kate then opens and loads the file. So far nothing wrong.
Now, close kate and repeat the process. This time the busy cursor is displayed but kate does not open. In fact, from now on kate can not be launced from within Dolphin.
If I log out/in then kate will again work correctly… but only the once.
Affects all users, including a new test user, I see the same if instead of using Dolphin I launch kate from Krusader.
After the second (failed) attempt to open a text file the following is appended to “xsession-errors-:0”
kdeinit5: Got EXT_EXEC '/usr/bin/kate' from launcher.
kdeinit5: preparing to launch '/usr/bin/kate'
QXcbConnection: XCB error: 3 (BadWindow), sequence: 43505, resource id: 92274689, major code: 18 (ChangeProperty), minor code: 0
kate: openURL
I’m afraid I don’t know the significance of the “XCB” error. The only other thing that looks vaguely suspicious is the “kate: openURL” with nothing specified; (should that perhaps be the filename?). Although I don’t see it anywhere earlier in “xsession-errors-:0” (ie, from the first, working, open).
No, that is currently unchecked. Just to be certain, I’ve tried enabling it, log out/in, then disabled it again, log out/in. Still seeing the same behaviour.
Another thing I’ve just found is:
If kate is simply lauched from the application menu and “terminated” by using the “close” button, (where it does start on each occasion); for each launch/close there is a kate process left behind. Following example is after three launch/close.
paul@Orion-Tumble:~$ ps -ef | grep kate
paul 1573 1451 2 15:10 ? 00:00:00 /usr/bin/kate -b
paul 1605 1451 4 15:11 ? 00:00:00 /usr/bin/kate -b
paul 1610 1451 13 15:11 ? 00:00:00 /usr/bin/kate -b
paul 1616 1580 0 15:11 pts/0 00:00:00 grep --color=auto kate
paul@Orion-Tumble:~$