Bug 18593

Summary: LXDE: add a patch to push corrections in users' configuration to sync with system configuration
Product: Mageia Reporter: Nicolas Salguero <nicolas.salguero>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal    
Version: 5   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: feedback
Source RPM: lxde-common CVE:
Status comment:

Description Nicolas Salguero 2016-05-31 11:44:55 CEST
Hi,

In Mga5, there were several modifications in the default system configuration for LXDE compared to Mga4 and the previous versions.

Because, for each user, the default system configuration for LXDE is copied into user's homedir the first time the user logs into LXDE and never updated after that, those modifications were never applied if the user did not manually applied them in his "old" LXDE profile.  Those changes are described into Mga5 errata page but not all users read that page.

To solve that problem, I made a patch that automatically pushes the modifications of the default system configuration to the user's configuration.

Currently, that patch applies the correction for the problem of empty menu and bug 14210.

I successfully tested that patch in Mga5 and in Cauldron (the patch for Cauldron also changes the menu icon to use the new SVG one).

Best regards,

Nico.
Comment 1 Nicolas Salguero 2016-05-31 11:49:50 CEST
Suggested advisory:
========================

The updated package automates the application of the modifications of the default LXDE configuration in the users' configuration when they log into LXDE.
========================

Updated packages in core/updates_testing:
========================
i586:
lxde-common-0.99.0-9.4.mga5.noarch.rpm

x86_64:
lxde-common-0.99.0-9.4.mga5.noarch.rpm

Source RPMs:
lxde-common-0.99.0-9.4.mga5.src.rpm

Status: NEW => ASSIGNED
Assignee: bugsquad => qa-bugs
Source RPM: (none) => lxde-common

Comment 2 claire robinson 2016-05-31 14:04:12 CEST
We shouldn't touch user's home directories with updates Nicolas. It sounds like that's the intention of this one.
claire robinson 2016-05-31 14:04:41 CEST

Whiteboard: (none) => feedback

Comment 3 Nicolas Salguero 2016-05-31 15:39:24 CEST
Yes, it is.

To be more precise, the purpose is to help an "old" user of LXDE having his DE working as it should by correcting some configuration mistakes, as if he was a "new" user of LXDE, if and only if he kept the previous default configuration which contains those mistakes.

The modifications applied to users' home directories are strictly limited.

I pushed a new version to limit even more the modifications but, if you think this update is not a good think, I can revert it and ask for the removal of the packages.

Updated packages in core/updates_testing:
========================
i586:
lxde-common-0.99.0-9.5.mga5.noarch.rpm

x86_64:
lxde-common-0.99.0-9.5.mga5.noarch.rpm

Source RPMs:
lxde-common-0.99.0-9.5.mga5.src.rpm
Comment 4 claire robinson 2016-05-31 15:50:56 CEST
I think so unfortunately Nicolas, thanks. We simply don't touch users home directories once created. 

It's fine to fix things so that when a new user is created the fix is there though and document how to fix for existing users with a README.update.urpmi & wiki page etc.

https://wiki.mageia.org/en/Packagers_RPM_tutorial#Interaction_with_urpmi_and_rpmdrake
Comment 5 Nicolas Salguero 2016-05-31 16:00:57 CEST
Okay, no problem.  I close that bug then.

Status: ASSIGNED => RESOLVED
Resolution: (none) => INVALID