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

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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 #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 ttl (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.5