Bug 33279 - Plasma desktop session is not restored
Summary: Plasma desktop session is not restored
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-32-OK MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-06-10 10:14 CEST by Morgan Leijström
Modified: 2024-06-12 21:54 CEST (History)
6 users (show)

See Also:
Source RPM: plasma-workspace-5.27.10-1.1.mga9
CVE:
Status comment:


Attachments

Description Morgan Leijström 2024-06-10 10:14:32 CEST
Since the update of plasma-workspace, the desktop session is not restored at login.
https://bugzilla.suse.com/show_bug.cgi?id=1225774#c5
https://forums.mageia.org/en/viewtopic.php?f=7&t=15378
Suse bug: https://bugzilla.suse.com/show_bug.cgi?id=1225774#c5

Version:
plasma-workspace-5.27.10-1.1.mga9
Comment 1 Morgan Leijström 2024-06-10 10:35:52 CEST
The first link was intended to be
https://bugs.mageia.org/show_bug.cgi?id=33272#c15
Comment 2 David GEIGER 2024-06-10 19:38:08 CEST
Should be fixed with plasma-workspace-5.27.10-1.2.mga9!


Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
libcolorcorrect5-5.27.10-1.2.mga9
libkfontinst5-5.27.10-1.2.mga9
libkfontinstui5-5.27.10-1.2.mga9
libkworkspace5-5.27.10-1.2.mga9
libnotificationmanager1-5.27.10-1.2.mga9
libplasma-geolocation-interface5-5.27.10-1.2.mga9
libplasma-workspace-devel-5.27.10-1.2.mga9
libtaskmanager6-5.27.10-1.2.mga9
libweather_ion7-5.27.10-1.2.mga9

lib64colorcorrect5-5.27.10-1.2.mga9
lib64kfontinst5-5.27.10-1.2.mga9
lib64kfontinstui5-5.27.10-1.2.mga9
lib64kworkspace5-5.27.10-1.2.mga9
lib64notificationmanager1-5.27.10-1.2.mga9
lib64plasma-geolocation-interface5-5.27.10-1.2.mga9
lib64plasma-workspace-devel-5.27.10-1.2.mga9
lib64taskmanager6-5.27.10-1.2.mga9
lib64weather_ion7-5.27.10-1.2.mga9

plasma-workspace-5.27.10-1.2.mga9
plasma-workspace-handbook-5.27.10-1.2.mga9.noarch.rpm
plasma-workspace-wayland-5.27.10-1.2.mga9

From SRPMS:
plasma-workspace-5.27.10-1.2.mga9.src.rpm

CC: (none) => geiger.david68210
Assignee: kde => qa-bugs

katnatek 2024-06-10 20:41:42 CEST

Keywords: (none) => advisory

Comment 3 ylyco 2024-06-10 21:04:57 CEST
For your consideration I can precise that :

I can't restore session about Dolphin windows, PDFs, images (for instance).
Only Firefox and Thunderbird show up correctly.
I didn't try LibreOffice documents for now.

Thank you all.

CC: (none) => regis.carles

Comment 4 Mike Rambo 2024-06-11 00:40:56 CEST
Discovered this regression a couple of days ago and figured out the cause yesterday. Was going to put in a bug but it's already fixed.

I use a manually saved session which failed on two machines. In my case the manual session opens konsole with several open tabs on a specific virtual desktop.

The problem cropped up with plasma-workspace-5.27.10-1.1.mga9 and the related packages. At first the konsole session was just missing the tabs it was supposed to have but when I tried to re-save the session in an attempt to fix it, konsole didn't open at all.

Upon discovering the new update I updated the relevant packages on both of my machines. The list was the same on both.

lib64colorcorrect5-5.27.10-1.2.mga9.x86_64.rpm
lib64kfontinst5-5.27.10-1.2.mga9.x86_64.rpm
lib64kfontinstui5-5.27.10-1.2.mga9.x86_64.rpm
lib64kworkspace5-5.27.10-1.2.mga9.x86_64.rpm
lib64notificationmanager1-5.27.10-1.2.mga9.x86_64.rpm
lib64plasma-geolocation-interface5-5.27.10-1.2.mga9.x86_64.rpm
lib64taskmanager6-5.27.10-1.2.mga9.x86_64.rpm
lib64weather_ion7-5.27.10-1.2.mga9.x86_64.rpm
plasma-workspace-5.27.10-1.2.mga9.x86_64.rpm

After the 1.2 update I re-saved the manual session and it has worked as desired ever since. For my use case, this update has fixed the session management regression. Thanks.

CC: (none) => mhrambo3501

Comment 5 Ben McMonagle 2024-06-11 01:44:59 CEST
confirmed issue.

updated following packages:
lib64colorcorrect5-5.27.10-1.2.mga9
lib64kfontinst5-5.27.10-1.2.mga9
lib64kfontinstui5-5.27.10-1.2.mga9
lib64kworkspace5-5.27.10-1.2.mga9
lib64notificationmanager1-5.27.10-1.2.mga9
lib64plasma-geolocation-interface5-5.27.10-1.2.mga9
lib64plasma-workspace-devel-5.27.10-1.2.mga9
lib64taskmanager6-5.27.10-1.2.mga9
lib64weather_ion7-5.27.10-1.2.mga9

plasma-workspace-5.27.10-1.2.mga9
plasma-workspace-handbook-5.27.10-1.2.mga9.noarch.rpm
plasma-workspace-wayland-5.27.10-1.2.mga9

invoked konsole, konversation, ktorrent, kwrite.
logout and back in - desktop applications running prior to logout relaunched.

reboot

desktop applications running prior to reboot relaunched.

CC: (none) => westel

Comment 6 Morgan Leijström 2024-06-11 12:42:44 CEST
mga9-64

Tested on two Plasma X11 systems, one nouveau one nvidia470

I did not see the problem before as I use own script instead of session restore.

Now when i set it to restore session I see it now restores most of what I had up at logout: Dolphin, Konsole, Kwrite, Firefox.
- But it do not restore LibreOffice Writer.
Is restoring LO apps supposed to work?
Comment 7 Thomas Andrews 2024-06-11 15:08:48 CEST
MGA9-64 Plasma-X11 on an HP Pavilion

I don't normally restore from the last session, but for purposes of this test I changed that in systemsettings. No installation issues. Rebooted, to make sure the new desktop was settled in.

This install has 4 virtual desktops. I opened several apps as follows:

1. Firefox, full screen, on this bug
2. Dolphin, also full screen, with a photo loaded into Gwenview
3. Kwrite, containing the list of packages pasted from the clipboard
4. Qarepo, with repo enabled, and Kpatience with a partially played game

Then I rebooted yet again. All apps were restored, in the proper virtual desktops, as they were when I logged out, except Firefox and Kpatience started new sessions. A little investigation showed that's how they are set, so it's not the fault of the DE. On a side note, the clipboard still contained the same text it had when I closed the session.

Looks good here for X11. I don't use Wayland (I suppose I should start...), so I can't verify it works there.

CC: (none) => andrewsfarm

Comment 8 katnatek 2024-06-12 04:49:38 CEST
(In reply to Thomas Andrews from comment #7)
> Looks good here for X11. I don't use Wayland (I suppose I should start...),
> so I can't verify it works there.

RH mageia 9 x86_64 Plasma wayland (I cover your back with that ;) )

 LC_ALL=C urpmi --auto --auto-update
medium "QA Testing (64-bit)" is up-to-date
medium "QA Testing (32-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date

installing lib64kworkspace5-5.27.10-1.2.mga9.x86_64.rpm lib64taskmanager6-5.27.10-1.2.mga9.x86_64.rpm plasma-workspace-wayland-5.27.10-1.2.mga9.x86_64.rpm lib64kfontinstui5-5.27.10-1.2.mga9.x86_64.rpm lib64notificationmanager1-5.27.10-1.2.mga9.x86_64.rpm lib64kfontinst5-5.27.10-1.2.mga9.x86_64.rpm lib64weather_ion7-5.27.10-1.2.mga9.x86_64.rpm plasma-workspace-5.27.10-1.2.mga9.x86_64.rpm lib64colorcorrect5-5.27.10-1.2.mga9.x86_64.rpm lib64plasma-geolocation-interface5-5.27.10-1.2.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
     1/10: lib64kfontinst5       ##################################################################################################
     2/10: lib64kworkspace5      ##################################################################################################
     3/10: lib64kfontinstui5     ##################################################################################################
     4/10: lib64plasma-geolocation-interface5
                                 ##################################################################################################
     5/10: lib64colorcorrect5    ##################################################################################################
     6/10: lib64weather_ion7     ##################################################################################################
     7/10: lib64notificationmanager1
                                 ##################################################################################################
     8/10: lib64taskmanager6     ##################################################################################################
     9/10: plasma-workspace      ##################################################################################################
    10/10: plasma-workspace-wayland
                                 ##################################################################################################
     1/10: removing plasma-workspace-wayland-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     2/10: removing plasma-workspace-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     3/10: removing lib64kfontinstui5-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     4/10: removing lib64kfontinst5-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     5/10: removing lib64colorcorrect5-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     6/10: removing lib64kworkspace5-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     7/10: removing lib64notificationmanager1-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     8/10: removing lib64plasma-geolocation-interface5-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
     9/10: removing lib64taskmanager6-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################
    10/10: removing lib64weather_ion7-5.27.10-1.1.mga9.x86_64
                                 ##################################################################################################

Test after update, just close session and start Plasma wayland not works so reboot
After reboot test twice
1. geany, firefox and writer, after close and start session just firefox is restarted 
2 Open dolphin window , close and start session, dolphin not was loaded

So this not always work or not with all the applications

As you Thomas I usually let the configuration to always start clean session, so I can't say if this works or not in any time before the recent updates.

In my opinion, this test must not block the update
Comment 9 katnatek 2024-06-12 05:28:34 CEST
RH mageia 9 i586

LC_ALL=C urpmi --auto --auto-update 
medium "QA Testing (32-bit)" is up-to-date
medium "BDK-Free-i586" is up-to-date
medium "BDK-Free-noarch" is up-to-date
medium "BDK-NonFree-i586" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date


installing libkfontinstui5-5.27.10-1.2.mga9.i586.rpm libplasma-geolocation-interface5-5.27.10-1.2.mga9.i586.rpm plasma-workspace-5.27.10-1.2.mga9.i586.rpm libcolorcorrect5-5.27.10-1.2.mga9.i586.rpm libkworkspace5-5.27.10-1.2.mga9.i586.rpm libweather_ion7-5.27.10-1.2.mga9.i586.rpm libnotificationmanager1-5.27.10-1.2.mga9.i586.rpm libtaskmanager6-5.27.10-1.2.mga9.i586.rpm libkfontinst5-5.27.10-1.2.mga9.i586.rpm from //home/katnatek/qa-testing/i586
Preparing...                     ################################################################
      1/9: libkfontinst5         ################################################################
      2/9: libkfontinstui5       ################################################################
      3/9: libtaskmanager6       ################################################################
      4/9: libnotificationmanager1
                                 ################################################################
      5/9: libweather_ion7       ################################################################
      6/9: libkworkspace5        ################################################################
      7/9: libcolorcorrect5      ################################################################
      8/9: libplasma-geolocation-interface5
                                 ################################################################
      9/9: plasma-workspace      ################################################################
      1/9: removing plasma-workspace-5.27.10-1.1.mga9.i586
                                 ################################################################
      2/9: removing libkfontinstui5-5.27.10-1.1.mga9.i586
                                 ################################################################
      3/9: removing libkfontinst5-5.27.10-1.1.mga9.i586
                                 ################################################################
      4/9: removing libcolorcorrect5-5.27.10-1.1.mga9.i586
                                 ################################################################
      5/9: removing libkworkspace5-5.27.10-1.1.mga9.i586
                                 ################################################################
      6/9: removing libnotificationmanager1-5.27.10-1.1.mga9.i586
                                 ################################################################
      7/9: removing libplasma-geolocation-interface5-5.27.10-1.1.mga9.i586
                                 ################################################################
      8/9: removing libtaskmanager6-5.27.10-1.1.mga9.i586
                                 ################################################################
      9/9: removing libweather_ion7-5.27.10-1.1.mga9.i586
                                 ################################################################

Reboot make the same 2 test that in comment#8 but with Plasma X11
Test 1: geany, firefox and writer close and start session
geany and firefox are started after the desktop start but not libreoffice

Test 2: dolphin close and start session
dolphin is started after start the desktop

This confirm the theory that this function is rotten in plasma wayland
Comment 10 Frédéric "LpSolit" Buclin 2024-06-12 15:23:31 CEST
I confirm that this update fixes the problem for me too, X11 64bit. Thanks!
Comment 11 Thomas Andrews 2024-06-12 16:13:21 CEST
It's possible that deep within the settings of apps that don't start on either X11 or Wayland, like Libreoffice, there is one that's overriding the desktop, the same as I found in my test.

Giving this OKs, and validating.

Whiteboard: (none) => MGA9-32-OK MGA9-64-OK
Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 12 ylyco 2024-06-12 17:21:25 CEST
On X11 session : LibreOffice, Gwenview, Okular, Kate, Konsole, Firefox and Thunderbird open successfully.

On the other side with Wayland : only Firefox and Thunderbird open successfully.

Thanks a lot to all.
Comment 13 Mageia Robot 2024-06-12 18:10:22 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0142.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 14 Morgan Leijström 2024-06-12 21:12:41 CEST
Did restoring work previously when using wayland?
Of so open another bug report on that.
Comment 15 ylyco 2024-06-12 21:54:27 CEST
I opened a new thread for wayland :
https://bugs.mageia.org/show_bug.cgi?id=33299

Note You need to log in before you can comment on or make changes to this bug.