Bug 431090 - KONSOLE_DBUS_SESSION and KONSOLE_DBUS_WINDOW the same for all konsole windows
Summary: KONSOLE_DBUS_SESSION and KONSOLE_DBUS_WINDOW the same for all konsole windows
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 20.08.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-03 03:15 UTC by Matthew Cline
Modified: 2021-03-11 12:59 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 Matthew Cline 2021-01-03 03:15:31 UTC
No matter how many konsole windows I open the environmental variables KONSOLE_DBUS_SESSION and KONSOLE_DBUS_WINDOW are always the same ("/Sessions/1" and "/Windows/1" respectively).  It used to be that they were different for different konsole instances, though I can't remember the latest version in which it worked that way.
Comment 1 Carlos Alves 2021-01-03 11:06:15 UTC
Testing here: KONSOLE_DBUS_SESSION is not always the same here, each tab and each window have a diferent session number, but KONSOLE_DBUS_WINDOW is always the same
Comment 2 Kurt Hindenburg 2021-02-09 04:06:59 UTC
How are you opening new windows?  It seems to work here regardless of how "Run all Konsole windows in a single process" is checked.

Note that I'm testing master.
Comment 3 Matthew Cline 2021-03-11 12:59:41 UTC
This problem happens when I:

1) Right-click the screen's background to get a context menu and select "konsole"

2) Press Alt-F2 to get krunner and enter "konsole"

3) Enter "konsole &" at the bash prompt in an existing konsole window.

However, if I have an existing konsole window focused and do "Ctrl-Shift-N" or select "File > New Window" from the menu THEN the environmental variables are set properly.