bugGNU Octave - Bugs: bug #41452, GUI does not display under some...


bug #41452: GUI does not display under some window managers

Submitted by:  None
Submitted on:  Tue 04 Feb 2014 04:45:24 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  David Fabijan Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.8.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.


( Jump to the original submission)

Sun 09 Feb 2014 07:59:34 PM UTC, comment #14: 

Looks fixed with this changeset under my testing so far, the GUI no longer starts up minimized under GNOME or awesome.

Mike Miller <mtmiller>
Project Administrator
Sat 08 Feb 2014 09:14:52 AM UTC, comment #13: 

Pushed the patch with changeset
If there are no more issues, I will close the bug.

Torsten Lilge <ttl>
Project Member
Thu 06 Feb 2014 05:55:31 AM UTC, comment #12: 

I hope the v3-patch (bug #40823) mentioned by Mike is working on windows. I'll test it tonight.

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

Before applying this patch, please see my comment #7.  We can't completely screw the Window layout on Windows systems as a side effect of fixing the problem for Linux systems...

John W. Eaton <jwe>
Project Administrator
Thu 06 Feb 2014 04:55:54 AM UTC, comment #10: 

I mean to say I tested your v3 patch on the other bug dealing with Unity, I did not test the v1 or v2 patches on this bug report. The v3 patch worked perfectly. I also installed the awesome WM, saw the same minimization problem as the OP, and it is fixed for me with the v3 patch.

Mike Miller <mtmiller>
Project Administrator
Thu 06 Feb 2014 04:41:32 AM UTC, comment #9: 

Without this patch, the GUI started up minimized for me under GNOME 2 times out of about 40. After applying this patch to the stable branch, I have not seen it start up minimized after about 50 or so runs, so looks good to me!

I'll test some of the other odd minimization/maximization behaviors I've seen using this patch to see if they are also solved.

Mike Miller <mtmiller>
Project Administrator
Tue 04 Feb 2014 06:07:13 PM UTC, comment #8: 

John, thanks for testing (my build process was still running). I have an idea what is wrong but I am waiting with the next patch for a feedback concerning the issue of this report.

Torsten Lilge <ttl>
Project Member
Tue 04 Feb 2014 05:22:17 PM UTC, comment #7: 

I built for Windows with the patch and the layout is not correct (see the attached screenshot).  This is an initial run after deleting the ~/.config/octav/qt-settings file, so I was shown the welcome wizard and Octave should have started with the default layout.

John W. Eaton <jwe>
Project Administrator
Tue 04 Feb 2014 07:00:25 AM UTC, comment #6: 

Here is the right patch (still not tested on windows yet).

(file #30451)

Torsten Lilge <ttl>
Project Member
Tue 04 Feb 2014 05:55:36 AM UTC, comment #5: 

Sorry! wrong patch, please wait for the next!

Torsten Lilge <ttl>
Project Member
Tue 04 Feb 2014 05:54:21 AM UTC, comment #4: 

I was already working on this section. The minimized / hide / show thing was to prevent a global menu bar showing "Editor" or "Console" instead of "Octave". But this seems to be less important than the other issues showing up. Attached a patch that might fix the problem (not yet tested on windows).

(file #30450)

Torsten Lilge <ttl>
Project Member
Tue 04 Feb 2014 05:14:17 AM UTC, comment #3: 

I suspect this section at the end of the main_window initialization:


but I have not had time to verify whether removing or changing this does anything different for me (it takes quite a few runs to see minimization or unmaximization for me in GNOME).

Mike Miller <mtmiller>
Project Administrator
Tue 04 Feb 2014 05:10:51 AM UTC, comment #2: 

I'm pretty sure this behavior is not intentional, but I have no idea where to look.  Maybe someone who has time and knows what to look for could step through the code that starts up the Octave gui and determine where the calls to minimize/maximize/reparent/whatever the windows are happening.

John W. Eaton <jwe>
Project Administrator
Tue 04 Feb 2014 05:07:32 AM UTC, comment #1: 

I don't have awesome installed at the moment to confirm, but I suspect this might be related to bug #41093 and bug #40962. I frequently see Octave start up minimized in GNOME as well.

Mike Miller <mtmiller>
Project Administrator
Tue 04 Feb 2014 04:45:24 AM UTC, original submission:  

In some window mangers under Linux, in particular in "awesome wm", the GUI runs but is not displayed on the screen. The GUI is unmapped shortly after creation. A bug has already been submitted to the awesome wm developers, who claim that Octave is not adhering to the ICCCM ยง 4.1.4




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

Attach Files:

Attached Files
file #30457:  windows-layout.png added by jwe (140KiB - image/png)
file #30451:  minimized_v02.patch added by ttl (3KiB - text/x-diff)
file #30450:  minimized_v01.patch added by ttl (3KiB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ttl (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 mtmiller StatusPatch Submitted => Fixed
        Open/ClosedOpen => Closed
    2014-02-06 mtmiller StatusNone => Patch Submitted
    2014-02-04 jwe Attached File- => Added windows-layout.png, #30457
    2014-02-04 ttl Attached File- => Added minimized_v02.patch, #30451
    2014-02-04 ttl Attached File- => Added minimized_v01.patch, #30450

    Back to the top

    Powered by Savane 3.5