Bug 415099

Summary: Kate always opening a new session even when existing session is running.
Product: [Applications] kate Reporter: Ken Fallon <bugs.kde.org>
Component: sessionsAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 19.04.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ken Fallon 2019-12-12 15:36:59 UTC
SUMMARY

The default behaviour of kate has changed so that it always opens a new session. 

STEPS TO REPRODUCE
1. Create 2 text files x.txt and y.txt
2. open kate using `kate -b x.txt`
3. open kate using `kate -b y.txt`

OBSERVED RESULT
Two different sessions are open. Both report the message "Failed to register /MainApplication on DBus"

EXPECTED RESULT

That both files would be open in the same session.

SOFTWARE/OS VERSIONS
KDE Frameworks 5.64.0
Qt 5.12.5 (built against 5.12.5)
The xcb windowing system

Name         : kate
Version      : 19.04.2
Release      : 1.fc30
Architecture : x86_64
Size         : 14 M
Source       : kate-19.04.2-1.fc30.src.rpm
Repository   : @System
From repo    : updates
Summary      : Advanced Text Editor
URL          : https://cgit.kde.org/kate.git
License      : LGPLv2 and LGPLv2+ and GPLv2+
Description  : Advanced Text Editor.

ADDITIONAL INFORMATION

This happens regardless of the method of opening the files using `xdg-open` or in a file manager.
Comment 1 Ken Fallon 2019-12-14 11:05:53 UTC

*** This bug has been marked as a duplicate of bug 410742 ***