[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2024-04-16 Thread Laurent Bonnaud
** No longer affects: qt

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2024-04-01 Thread Scarlett Gately Moore
** Changed in: plasma-workspace (Ubuntu)
   Status: Confirmed => Fix Released

** Changed in: qtbase-opensource-src (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2016-03-30 Thread Bug Watch Updater
** Bug watch added: freedesktop.org Bugzilla #70593
   https://bugs.freedesktop.org/show_bug.cgi?id=70593

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2016-02-24 Thread Bug Watch Updater
** Changed in: kdebase-workspace
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2015-12-21 Thread Bug Watch Updater
** Changed in: kdebase-workspace
   Status: Won't Fix => Confirmed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2015-12-16 Thread Bug Watch Updater
** Changed in: kdebase-workspace
   Status: Unknown => Won't Fix

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2015-12-11 Thread Bug Watch Updater
Launchpad has imported 9 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=354724.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2015-11-02T07:34:43+00:00 Leslie Zhai wrote:

When open chromium, konsole, thunderbird, then logout, relogin, but only
thunderbird successful WM_SAVE_YOURSELF, chromium or konsole failed to
be opened.

plasma-workspace: 5.4.90
KF5: 5.15.0
Qt5: 5.5.1 

Reproducible: Always

Steps to Reproduce:
1. open chromium, konsole, thunderbird, then logout
2. relogin

Actual Results:  
but only thunderbird successful WM_SAVE_YOURSELF

Expected Results:  
chromium and konsole able to be opened.

Reply at: https://bugs.launchpad.net/ubuntu/+source/plasma-
workspace/+bug/1446865/comments/76


On 2015-11-02T07:36:53+00:00 Leslie Zhai wrote:

my ~/.config/ksmserverrc 
[General]
screenCount=1

[LegacySession: saved at previous logout]
clientMachine1=localhost
command1=thunderbird
count=1

[Session: saved at previous logout]
clientId1=1014cd7d2d400014443520570012260003
clientId2=1014cd7d2d400014443520850012260012
clientId3=10bd534f4600014461053770070460007
count=3
discardCommand1[$e]=rm,$HOME/.config/session/kwin_1014cd7d2d400014443520570012260003_1446105607_787343
discardCommand2[$e]=rm,$HOME/.config/session/kmix_1014cd7d2d400014443520850012260012_1446105607_737385
program1=kwin_x11
program2=/bin/kmix
program3=/usr/lib/mozilla/kmozillahelper
restartCommand1=kwin_x11,-session,1014cd7d2d400014443520570012260003_1446105607_787343
restartCommand2=/bin/kmix,-session,1014cd7d2d400014443520850012260012_1446105607_737385
restartCommand3=/usr/lib/mozilla/kmozillahelper,-session,10bd534f4600014461053770070460007_1446105607_737492
restartStyleHint1=0
restartStyleHint2=0
restartStyleHint3=0
userId1=lesliezhai
userId2=lesliezhai
userId3=lesliezhai
wasWm1=true
wasWm2=false
wasWm3=false

Reply at: https://bugs.launchpad.net/ubuntu/+source/plasma-
workspace/+bug/1446865/comments/77


On 2015-11-05T08:31:53+00:00 Leslie Zhai wrote:

When open konsole, dolphin, systemsettings5, then logout

legacy.cpp, line 113
windowSessionId(*it, leader) is NOT EMPTY!

legacy.cpp, line 214
windowWmCommand(w) is EMPTY!

Reply at: https://bugs.launchpad.net/ubuntu/+source/plasma-
workspace/+bug/1446865/comments/78


On 2015-11-23T01:42:30+00:00 maelcum wrote:

While debugging the problem with Konsole, I found a common problem with
Qt5 applications:

QGuiApplicationPrivate::commitData() (supposed to make sure that the session is 
saved) calls
QApplicationPrivate::tryCloseAllWindows() which, when 
QGuiApplication::quitOnLastWindowClosed() is true, invokes
QApplication::quit()

which terminates the application immediately after it reports successful 
session saving to the session manager ksmserver.
During session shutdown, ksmserver still removes its bookkeeping data about 
applications that were terminated for any reason - including those that quit 
right after session saving. When ksmserver saves the list of existing 
application slightly later, konsole is gone and, while it has a session save 
file, that file isn't "registered" in ksmserverrc, which makes it useless.

There are at several problems:
- QGuiApplicationPrivate::commitData() effectively quits the application if the 
application didn't call QGuiApplication::setQuitOnLastWindowClosed(false). This 
is despite Qt's own documentation recommending against quitting the application 
due to a request to save the session data.
- setQuitOnLastWindowClosed(false) is not a good solution. Quit on last window 
closed is a useful feature, the problem is more that session saving implies 
closing windows, which doesn't make too much sense. It is supposed to prevent 
interaction with a state that won't be saved anymore, but there are other ways 
to do that, e.g. preventing user input and network event handling.
- ksmserver should maybe stop removing applications from its internal list 
while shutting down. Because shutdown can be aborted, changes would have to be 
queued and applied after an aborted shutdown.

Reply at: https://bugs.launchpad.net/ubuntu/+source/plasma-
workspace/+bug/1446865/comments/79


On 2015-11-23T01:56:17+00:00 Leslie Zhai wrote:

Hi Andreas,

Thanks for your analysis, I wrongly argued that it might be libSM issue,
I will try your solution.

Reply at: https://bugs.launchpad.net/ubuntu/+source/plasma-
workspace/+bug/1446865/comments/80


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2015-11-30 Thread Timo Jyrinki
Let's wait for the latter patch to be approved and merged, and I can
then cherry-pick it later.

The former patch is already part of the Qt 5.5.1 packages that will land
soon to xenial.

** Changed in: qtbase-opensource-src (Ubuntu)
 Assignee: (unassigned) => Timo Jyrinki (timo-jyrinki)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1446865] Re: KDE5/Qt5 does not support session restoration

2015-11-30 Thread Laurent Bonnaud
This bug is dependent on this upstream Qt bug:

  https://bugreports.qt.io/browse/QTBUG-45484

but launchpad would not let me enter this URL.


** Summary changed:

- kwin does not remember on which desktop to open windows on session start
+ KDE5/Qt5 does not support session restoration

** Also affects: qt
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kwin in Ubuntu.
https://bugs.launchpad.net/bugs/1446865

Title:
  KDE5/Qt5 does not support session restoration

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1446865/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs