bugGNU Octave - Bugs: bug #59253, GUI Settings Are Not...

 
 

bug #59253: GUI Settings Are Not Saved/Remembered, qt-settings File Resets Each Time GUI Is Launched

Submitter:  None
Submitted:  Mon 12 Oct 2020 02:34:42 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Need Info Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 5.2.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 22 Apr 2022 03:28:30 PM UTC, comment #11: 

Is this report still relevant? Has the user had issues on recent versions, especially the current v7.1.0?

Nicholas Jankowski <nrjank>
Group Member
Sat 06 Mar 2021 06:35:41 PM UTC, comment #10: 

Could you please try if the issue persists with a current version 6.2.0 or 6.1.0 of Octave?

Torsten Lilge <ttl>
Group Member
Tue 27 Oct 2020 01:27:52 PM UTC, comment #9: 

You're welcome. I'm fine continuing to troubleshoot the issue if there is more we can do.

Anonymous
Mon 26 Oct 2020 09:24:05 PM UTC, comment #8: 

Thanks for further testing. This file is already way too small. We now know that octave fails to create the settings file but not what is causing this on your system.

Torsten Lilge <ttl>
Group Member
Mon 26 Oct 2020 02:16:33 PM UTC, comment #7: 

I'm attaching the file that is automatically generated by Octave after I delete the ~/.config/octave directory that holds the qt-settings file. The attached file is called qt-settings-fresh.

(file #50106)

Anonymous
Fri 23 Oct 2020 08:26:48 PM UTC, comment #6: 

Ah, sorry, whyever I have assumed you are on Windows.

Okay, the default file looks good. Still no clue what is messing up you config file and when. How does the config file look like directly after the start of a freshly installed octave, i.e. when the welcome wizard is finished?

Torsten Lilge <ttl>
Group Member
Mon 19 Oct 2020 02:43:41 PM UTC, comment #5: 

Correction: Make that 22639 bytes.

Anonymous
Mon 19 Oct 2020 02:41:36 PM UTC, comment #4: 

I'm attaching the default-qt-settings file. I found it in /gnu/store/jsai81npalk4cjw45fjh1gljyspb72j1-octave-5.2.0/share/octave/5.2.0/etc. The file size is 1969 bytes.

(file #50013)

Anonymous
Sun 18 Oct 2020 06:32:00 PM UTC, comment #3: 

There is something weird going on. The preference file before Octave's start is already too small.

Could you please locate the file

mingw64\share\octave\5.2.0\etc\default-qt-settings

in Octave's installation directory? What is the size of this file?

Torsten Lilge <ttl>
Group Member
Mon 12 Oct 2020 10:01:13 PM UTC, comment #2: 

I'm attaching three more files: "qt-settings-before-starting-Octave", "qt-settings-running-Octave", and "qt-settings-after-closing-Octave". I did not interact with the Preferences GUI, just opened and closed Octave.)

Anonymous
Mon 12 Oct 2020 04:29:33 PM UTC, comment #1: 

Thanks for the report. If qt-settings-default is the file that is initially generated by the welcome wizard, then this file is definitely much too short. Have you copied this file directly after octave's start up or (without modification) after octave eas closed again?

If the latter is the case, I guess there is a problem when octave is writing the settings file at exit. The file after the modification looks normal.

Torsten Lilge <ttl>
Group Member
Mon 12 Oct 2020 02:34:42 PM UTC, original submission:  

Running Octave 5.2.0 on CentOS Linux 6.10. Downloaded and installed Octave using GUIX. Running Octave with the --force-gui option.

Steps to reproduce:
1. Open Octave (with --force-gui), and open the Preferences GUI (Edit --> Preferences).
2. Select the "Command" tab, change Font size from 10 (default) to 11.
3. Click "Apply", then "Ok". Note that the text in the command window is larger.
4. Close Octave (type "exit", then Enter).
5. Restart Octave (with --force-gui). Note that text in the command window is back to font size 10.
6. Open the Preferences GUI, select the "Command" tab. Note that Font size is 10.

Debugging attempts:
Deleted the qt-settings file from ~/.config/octave. Confirmed that Octave regenerates the qt-settings file when Octave is launched. Did not correct the problem. The freshly created file is attached as "qt-settings-default". The modified file (copied while Octave is still open, but after the Preferences GUI has been closed) is attached as "qt-settings-modifier". The overwritten file (copied just after Octave is restarted) is attached as "qt-settings-restarted".

Note:
It looks like another user reported the same bug using Octave 5.2.0 on Windows: https://savannah.gnu.org/bugs/?58400. If this is the same bug, it may be operating system independent.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #50106:  qt-settings-fresh added by None (2KiB - application/octet-stream)
file #50013:  default-qt-settings added by None (22KiB - application/octet-stream)
file #49970:  qt-settings-before-starting-Octave added by None (5KiB - application/octet-stream - I'm attaching three more files: "qt-settings-before-starting-Octave", "qt-settings-running-Octave", and "qt-settings-after-closing-Octave". I did not interact with the Preferences GUI, just opened and closed Octave.)
file #49971:  qt-settings-running-Octave added by None (1KiB - application/octet-stream - I'm attaching three more files: "qt-settings-before-starting-Octave", "qt-settings-running-Octave", and "qt-settings-after-closing-Octave". I did not interact with the Preferences GUI, just opened and closed Octave.)
file #49972:  qt-settings-after-closing-Octave added by None (5KiB - application/octet-stream - I'm attaching three more files: "qt-settings-before-starting-Octave", "qt-settings-running-Octave", and "qt-settings-after-closing-Octave". I did not interact with the Preferences GUI, just opened and closed Octave.)
file #49967:  qt-settings-default added by None (2KiB - application/octet-stream)
file #49968:  qt-settings-restarted added by None (1KiB - application/octet-stream)
file #49969:  qt-settings-modified added by None (34KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-22 nrjank StatusNone Need Info
    2020-10-26 None Attached File- Added qt-settings-fresh, #50106
    2020-10-19 None Attached File- Added default-qt-settings, #50013
    2020-10-12 None Attached File- Added qt-settings-before-starting-Octave, #49970
        Attached File- Added qt-settings-running-Octave, #49971
        Attached File- Added qt-settings-after-closing-Octave, #49972
    2020-10-12 None Attached File- Added qt-settings-default, #49967
        Attached File- Added qt-settings-restarted, #49968
        Attached File- Added qt-settings-modified, #49969

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code