octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57226] [GUI] Undocked editor position isn't r


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #57226] [GUI] Undocked editor position isn't reliably retained between Octave sessions
Date: Wed, 13 Nov 2019 15:58:37 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <https://savannah.gnu.org/bugs/?57226>

                 Summary: [GUI] Undocked editor position isn't reliably
retained between Octave sessions
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Wed 13 Nov 2019 09:58:35 PM CET
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

(Originally reported in bug #57198, but Torsten wrote that this is a separate
issue)

What I get on my dual screen Win 7 box (Octave hg id e18237114cf8 Hide
__appdata__ ....) is this:
1. Open editor, drag to on right screen.
2. Close Octave.
3. Reopen Octave. Editor appears on right screen, fine.
4. Close Octave and reopen again. Editor appears on right screen, fine.
5. Close, Octave, reopen 3rd time. Now, no editor is shown.
6. Open editor (through menu or typing "edit"). Editor appears on left screen
in a small window.

I could very reliably reproduce this. After closing Octave for the third time
the editor position is cleared. But after a few tries another scenario
unfolded, see below.

Then I'm confused. Where does Octave keep its GUI settings nowadays?
<HOME>\.config\qt-settings or <HOME>\Appdata\Roaming\octave\octave-gui.ini?

Deleting either one makes no difference, deleting both makes octave start the
first-use screen. 
Octave starts then with its title bar above the screen limits so can't be
moved. The fix is to pull down the lower Octave screen border all the way down
to the screen bottom, next moving the mouse cursor all the way up, then the
Octave window shifts a tiny bit down, enough to grab a tiny strip of the title
bar; use it to move the Octave window down and then resize it using the upper
border.

The above mentioned bug (editor gone, or position reset) still showed after
deleting the octave-gui.ini and qt-settings files.
But then, after a few tries the editor isn't reopened at all anymore
automatically at Octave restart. Opening it manually gives the small pane in
upper left corner on left screen.

octave-gui.diff (FileEditor lines before/after as per your request) attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 13 Nov 2019 09:58:35 PM CET  Name: octave-gui.diff  Size: 710B   By:
philipnienhuis

<http://savannah.gnu.org/bugs/download.php?file_id=47862>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57226>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]