You are not logged in.

#1 2018-11-09 17:40

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Gedit settings are not saving on x64 r4 version

Dears,

I noticed that in this latest version of Q4OS (q4os-2.6-x64-instcd.r4.iso) there is a bug to save the settings in Gedit (version 3.22, the same version that was present in version r3 and that the bug did not happen).

I open the "Preferences" window and change the options I want, and close the window.

But the changes are not getting saved, they always return to the default when I close Gedit.

If I go in the terminal and give a "sudo gedit" there I can save the options normally...

It seems to be some permission problem...

Any idea of contouring solution?

Att.;

Rafael

Offline

#2 2018-11-10 15:23

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Gedit settings are not saving on x64 r4 version

We can confirm the issue. It looks like a bug in Gedit, as it doesn't respect the XDG home configuration. You could workaround this bug temporarily adding the command "unset XDG_CONFIG_HOME" in the "/usr/share/applications/org.gnome.gedit.desktop" desktop shortcut, so the exec lines will look like this:

Exec=unset XDG_CONFIG_HOME ; gedit ...

You can verify the workaround above running in terminal:
$ unset XDG_CONFIG_HOME ; gedit

We will try to search a solution and report back, if find something new.

Offline

#3 2018-11-11 03:19

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Gedit settings are not saving on x64 r4 version

Hi guys, thank you for the feedback.

Just a minor correction: the version that did not appear in this bug was "2.6 r1", not "2.6 r3" as I had reported...

Actually I did not test on r3, I went straight from r1 to r4 and I noticed the issue.

The curious is why this did not happen in r1...

What might have been changed from r1 to r4 that might be causing this issue?

Rafael

Last edited by rafaelramos (2018-11-11 03:21)

Offline

#4 2018-11-12 10:30

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Gedit settings are not saving on x64 r4 version

The change is Q4OS uses another "XDG_CONFIG_HOME" location starting from "r2" revision.

Offline

#5 2018-11-29 09:52

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Gedit settings are not saving on x64 r4 version

The issue is now fixed, you only need to update your system, so run in terminal:
$ sudo apt-get update
$ sudo apt-get dist-upgrade
Reboot.

Offline

#6 2018-11-30 14:57

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Gedit settings are not saving on x64 r4 version

Great guys!

This bug was particularly annoying for me, because I use Gedit a lot to program small routines in PHP and to edit HTML ...

This fix will be present in the next r5 release, right?

Thanks for the correction!

Offline

#7 2018-11-30 16:03

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Gedit settings are not saving on x64 r4 version

rafaelramos wrote:

This fix will be present in the next r5 release, right?

Definitely.

Offline

#8 2018-12-06 20:58

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Gedit settings are not saving on x64 r4 version

Curious...

I did a clean r4 install now, applied the Full Profile, and then I installed GEdit.

I went to test and the GEdit options were recording normally, without any issue. Wonderful! big_smile

The funny thing is that I have NOT given the command "apt-get dist-upgrade"...

When applying the Full Profile does it automatically perform a "dist-upgrade" during the process?

Offline

#9 2018-12-07 08:27

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Gedit settings are not saving on x64 r4 version

rafaelramos wrote:

When applying the Full Profile does it automatically perform a "dist-upgrade" during the process?

Yes, your system has been upgraded along with the full desktop profile installation, so it has got all fixes from repositories as well, nothing curious.

Offline

#10 2018-12-07 17:28

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Gedit settings are not saving on x64 r4 version

q4osteam wrote:

Yes, your system has been upgraded along with the full desktop profile installation, so it has got all fixes from repositories as well, nothing curious.

Interesting!

Offline

Board footer

Powered by FluxBB