bugGNU Octave - Bugs: bug #40962, GUI unmaximizes itself after some...


bug #40962: GUI unmaximizes itself after some number of restarts

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 19 Dec 2013 03:13:48 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev 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.


( Jump to the original submission)

Sat 08 Feb 2014 11:30:44 PM UTC, comment #13: 

Looks good to me, ran the GUI 60 or 70 times in a row and it stays maximized now. Thanks!

Mike Miller <mtmiller>
Project Administrator
Sat 08 Feb 2014 09:24:37 AM UTC, comment #12: 

Mike, I have pushed the patch with changeset
Does this fix the issue in for the stable branch?

Torsten Lilge <ttl>
Project Member
Thu 06 Feb 2014 05:02:25 AM UTC, comment #11: 

This bug looks fixed for me with the patch from bug #40823.

Mike Miller <mtmiller>
Project Administrator
Fri 17 Jan 2014 09:06:30 PM UTC, comment #10: 

I do not see this behavior with another window manager (I can't remember at the moment which one I tried, lxde maybe?).

Also I suspect this may be related to bug #41093 about the GUI starting minimized, because I also sometimes see something similar when starting Octave in gnome 3. The GUI actually never appears sometimes, it starts minimized. I have to Alt-Tab switch to it, it is in last place in the switcher because it is minimized.

Mike Miller <mtmiller>
Project Administrator
Mon 06 Jan 2014 05:25:40 AM UTC, comment #9: 

I did a reset layout, and still get the same effect happening after maximizing. No, the widgets just return to the size they would have if I had unmaximized the window myself.

I will try to set up another desktop environment or window manager and see if I get the same behavior at all.

Mike Miller <mtmiller>
Project Administrator
Thu 02 Jan 2014 05:55:13 PM UTC, comment #8: 

When octave is unmaximized, do you see a slight change in the geometries of the doc widgets and/or of the main window after a restart (similar to bug #40691 you reported recently)?

Torsten Lilge <ttl>
Project Member
Thu 02 Jan 2014 05:38:30 PM UTC, comment #7: 

No worries. Sometimes it takes 3 restarts, sometimes a dozen or more.

After playing with it some more, I have now seen what you thought I said the first time :) If I resize the GUI to be slightly smaller than the display area (not including the gnome-shell bar), I have now seen the GUI become maximized after 1-5 restarts.

Mike Miller <mtmiller>
Project Administrator
Thu 02 Jan 2014 05:22:18 PM UTC, comment #6: 

Mike, I am sorry, I have read your posting the wrong way and thought octave accidentally maximizes from an unmaximized state.
But still the behavior is not reproducible on my system, octave stays maximized after 25 restarts.
Do you need more restarts to make this happen?

Torsten Lilge <ttl>
Project Member
Thu 02 Jan 2014 04:08:10 PM UTC, comment #5: 

And to be clear, the dimensions are 1340x574 after this happens, the new height is only about 3/4 of the display height. It is not simply an unmaximized window that still takes up the same screen area.

Mike Miller <mtmiller>
Project Administrator
Thu 02 Jan 2014 04:03:00 PM UTC, comment #4: 

No, I do not see the GUI become maximized spontaneously. The only effect I see is the maximized window becoming smaller after a random number of restarts.

In gnome-shell, if I intentionally make the GUI height larger than the display size, the height is simply truncated to the available space on the next restart. If I make both dimensions larger than the display, then yes the GUI does start up maximized the next time. But then again, after some number of restarts it spontaneously becomes unmaximized.

Mike Miller <mtmiller>
Project Administrator
Mon 30 Dec 2013 08:35:51 AM UTC, comment #3: 

I am using unity and have the effect (not only with octave) that an unmaximized application restarts maximized when the window exceeds a specific size. Using your settings on my system (1200x800) I have to enlarge the window just for a few pixels and octave restarts maximized.

Does the effect also occur when you are using a smaller window size?

Torsten Lilge <ttl>
Project Member
Thu 19 Dec 2013 12:56:17 PM UTC, comment #2: 

Yes, just starting the GUI and then pressing Ctrl-D to exit immediately.

If I delete my ~/.config/octave directory and try again, this condition comes back.

If I re-maximize after it has unmaximized, the condition happens again after some number of exits and restarts.

Mike Miller <mtmiller>
Project Administrator
Thu 19 Dec 2013 06:08:37 AM UTC, comment #1: 

Does this happen without any changes on the window layout, i.e. by just starting and exiting?

Torsten Lilge <ttl>
Project Member
Thu 19 Dec 2013 03:13:48 AM UTC, original submission:  

If I maximize the Octave GUI it normally remembers that state and comes back up maximized as before. However, after some number of exits and restarts the GUI sometimes decides that it should no longer be maximized.

I've attached the qt-settings for when the GUI is maximized and when it modifies that setting to be unmaximized.

I'm using GNOME 3 on a 1366x768 display on this particular system if that makes a difference.

Mike Miller <mtmiller>
Project Administrator


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

Attach Files:

Attached Files
file #30041:  octave-maximized-qt-settings added by mtmiller (24KiB - application/octet-stream)
file #30042:  octave-modified-qt-settings added by mtmiller (24KiB - 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)
  • -email is unavailable- added by mtmiller (Submitted the item)

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-08 mtmiller StatusNone => Fixed
        Open/ClosedOpen => Closed
    2013-12-19 mtmiller Attached File- => Added octave-maximized-qt-settings, #30041
        Attached File- => Added octave-modified-qt-settings, #30042

    Back to the top

    Powered by Savane 3.5