[Top][All Lists]

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

[Octave-bug-tracker] [bug #61172] Problems after maximize the GUI with 2

From: Theodore
Subject: [Octave-bug-tracker] [bug #61172] Problems after maximize the GUI with 2 monitors
Date: Thu, 4 Aug 2022 15:02:16 -0400 (EDT)

Follow-up Comment #50, bug #61172 (project octave):

I was trying to compile it locally but did not succeed. There are a number of
dependencies but I do not have time to investigate into it.

But I noticed that in `main-window.cc`,

The `availableGeometry()` method is called to obtain screen size.

On **Windows**, this method `availableGeometry().height()`, returns 1042 on a
1080p screen and 2122 on a 4k screen.

On **Linux**, this returns 768 on a 1366*768 screen.

Noting that gnome has the option to combine window title bar with system
status bar, and it is feasible to hide system status bar, see for example
(just perfection extension
https://extensions.gnome.org/extension/3843/just-perfection/). This setting
will probably affect available screen size.

On this line,

The height is available height - 2, leads to a `full screen` result which is
borderless. `MainWindow::setWindowState(Qt::WindowState::WindowMaximized)`
retains window title bar height regardless of gnome settings.

To reproduce, with gnome, I believe one can hide system status bar first, then
lauch octave, maximize it, then exit and reopen ovtace. The behaviour shall be

[comment #49 comment #49:]
> I wonder if this is a flatpak peculiarity.
> I cannot reproduce on fedora 36 with self-compiled 7.2.X.
> Dmitri.
> -- 


Reply to this item at:


Message sent via Savannah

reply via email to

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