--maximized has no effect (running qttabs under WinXP)

Bug #798194 reported by eulores
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
leo-editor
Fix Released
Low
Edward K. Ream

Bug Description

I execute leo by typing on the cmd command line:
python launchleo.py quickstart.leo --maximized
Other commands are accepted, tested with --minimized and with --no-splash

Actually, the main Leo window is maximized for a very brief moment, before being reset by the call to setTopGeometry() in method startVnodes of class saxContentHandler in file leoFileCommands.py.
If I comment out the call to setTopGeometry, then the window stays maximized.

Btw, my "fixedwindow" setting is only set in leoSettings.leo to False, neither appearing in myLeoSettings.leo nor in quickstart.leo. The documentation in leoSettings.leo still refers to this varaible as fixed_window (with an underscore).

Revision history for this message
Edward K. Ream (edreamleo) wrote : Re: [Bug 798194] [NEW] --maximized has no effect (running qttabs under WinXP)

On Thu, Jun 16, 2011 at 7:43 AM, eulores <email address hidden> wrote:
> Public bug reported:
>
> I execute leo by typing on the cmd command line:
> python launchleo.py quickstart.leo --maximized
> Other commands are accepted, tested with --minimized and with --no-splash
>
> Actually, the main Leo window is maximized for a very brief moment, before being reset by the call to setTopGeometry() in method startVnodes of class saxContentHandler in file leoFileCommands.py.

Thanks for this detailed report. I'll fix it today.

Edward

Changed in leo-editor:
assignee: nobody → Edward K. Ream (edreamleo)
importance: Undecided → Low
Revision history for this message
Edward K. Ream (edreamleo) wrote :

> Btw, my "fixedwindow" setting is only set in leoSettings.leo to False, neither appearing in myLeoSettings.leo nor in quickstart.leo. The documentation in leoSettings.leo still refers to this variable as fixed_window (with an underscore).

The "canonical" representation of settings deletes '-' and '_' characters, and lowers the result, so these kinds of details, either in user settings or in Leo's code, do not matter.

EKR

Revision history for this message
Edward K. Ream (edreamleo) wrote :

The fix is on the trunk at rev 4382. Besides the --maximized option, the fix also affects the --minimized and --fullscreen options.

Changed in leo-editor:
status: New → Fix Released
Revision history for this message
Lewis Neal (lewisneal) wrote :

Edward,

When I start leo with launchleo.py testdoc.leo --fullscreen it still has no lasting effect. The --minimized option is working fine.
I see a brief flash which seems to be a fullscreen display but it reverts to the normal maximized display as eulores described.

I'm running build 4402.
Leo Log Window
Leo 4.9 rc1, build 4399, June 17, 2011
Python 2.7.2, qt version 4.7.2
Windows 6, 1, 7601, 2, Service Pack 1

Regards
Lewis

Revision history for this message
Edward K. Ream (edreamleo) wrote : Re: [Bug 798194] Re: --maximized has no effect (running qttabs under WinXP)

On Sun, Jun 19, 2011 at 4:40 AM, Lewis Neal <email address hidden> wrote:

> When I start leo with launchleo.py testdoc.leo --fullscreen it still has no lasting effect. The --minimized option is working fine.
> I see a brief flash which seems to be a fullscreen display but it reverts to the normal maximized display as eulores described.

Both --maximized and --fullscreen are working for me with both the qt
and qttabs guis on Windows 7.

I'm not sure why you are having a problem, but we'll have to deal with
it after 4.9 final.

Edward

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.