Linux, mail.tabs.drawInTitlebar, HiDPI: when HiDPI scaling is off, app does not open maximised; when the scaling is on, the app opens quasi-maximised
Categories
(Thunderbird :: Theme, defect)
Tracking
(Not tracked)
People
(Reporter: signupemail, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [closeme 2024-08-15])
Attachments
(1 file)
|
183.60 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Set mail.tabs.drawInTitlebar to true (and it does not matter how one does this).
Actual results:
Thunderbird will not open fully maximised; there is small gap between the top of the screen and the top of the window.
Expected results:
When Thunderbird is set to open maximised - which it should do if (for one thing?) it is maximised when it is closed - it should open (fully) maximised.
Extra information is as follows.
I have experienced this bug constantly since the tabs-in-titlebar feature arrived.
Theme - Thunderbird or OS - seems not to affect the problem.
I have a Hi-DPI system. Some details of my system are as follows.
OS: Linux Mint 19.2 Tina x86_64
Host: 20KHCTO1WW ThinkPad X1 Carbon 6th
Resolution: 2560x1440 @ 60.01Hz
DE: Cinnamon 4.2.4
WM: Mutter (Muffin)
GPU: Intel UHD Graphics 620
I am surprised that no-one has reported this bug before. Perhaps they have and the Bugzilla search function failed to find the relevant report(s).
I attach a screenshot. The vertical gap at issue is small but noticeable enough to irritate.
| Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Walt can you reproduce?
Comment 2•6 years ago
•
|
||
I can't reproduce using Thunderbird 60.9.0 on Linux Mint 19.2 or Ubuntu 18.04.3 LTS with the pref set to true, and the built-in Dark theme, or Light and Default themes.
I also don't have the extensive customization the reporter has in the screenshot.
I also don't have the resolution their monitor displays.
Maybe that is causing a problem?
| Reporter | ||
Comment 3•6 years ago
|
||
A test I should have tried before: I disabled all extensions (as well as resetting system themes to defaults). The problem persisted. @WaltS48: thank you for your testing; do you have HiDPI? I do (as I said above) and I have Cinnamon set to scale the screen by a factor of 2.
| Reporter | ||
Comment 4•6 years ago
|
||
The problem may be otherwise than I supposed. For, when I disable HiDPI - I mean: OS global scaling to deal with HiDPI - Thunderbird opens unmaximised (taking up about a quarter of the screen area), whether or not it was maximised when shut. So the gap - the gap I see when HiDPI scaling is on - may result not from an imperfectly maximised window, but from a window that the program is not even trying to maximise.
| Reporter | ||
Comment 5•6 years ago
|
||
. . But that problem - window not maximised at all upon open, when HiDPI scaling is disabled - only happens when 'draw tabs in titlebar' is enabled. So here we get closer to the root of the problem, I imagine.
| Reporter | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
thanks for digging to get all the detail
Comment 7•6 years ago
|
||
(In reply to signupemail from comment #3)
A test I should have tried before: I disabled all extensions (as well as resetting system themes to defaults). The problem persisted. @WaltS48: thank you for your testing; do you have HiDPI? I do (as I said above) and I have Cinnamon set to scale the screen by a factor of 2.
No, I don't have HiDPI.
| Reporter | ||
Comment 8•6 years ago
|
||
[walts48 wrote:]
No, I don't have HiDPI.
@wsmwk
Anyone in a position to try to reproduce the problem, please?
Comment 9•6 years ago
|
||
I'll take a look at this in a bit
Comment 10•6 years ago
|
||
I tested this with the current settings:
- Linux elementary OS, based on Ubuntu 18.04.2, GTK 3.22.30
- mail.tabs.drawInTitlebar set to
TRUE - HiDPI monitor at 3840x2160 with scaling factor
DISABLED
Thunderbird 72.0a1: Closing and reopening maximized works with all the themes. ✔️
Thunderbird 68.1.1: Closing and reopening maximized works with all the themes. ✔️
Thunderbird 60.9.0: Closing and reopening maximized works with all the themes. ✔️
Which version of GTK are you running?
I wonder if that might be related. Does it happen with Firefox as well?
I know Magnus runs Ubuntu, but I don't know if his version of GTK is more up to date.
| Reporter | ||
Comment 11•6 years ago
|
||
GTK: I am unsure. Does the following help?
$ dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
ii libgtk-3-0:amd64 3.22.30-1ubuntu4 amd64 GTK+ graphical user interface library
ii libgtk-3-bin 3.22.30-1ubuntu4 amd64 programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.22.30-1ubuntu4 all common files for the GTK+ graphical user interface library
ii libgtk2-gladexml-perl 1.007-2build4 amd64 Perl interface to use user interfaces created with glade-2
ii libgtk2-perl 2:1.24992-1build1 amd64 Perl interface to the 2.x series of the Gimp Toolkit library
ii libgtk2.0-0:amd64 2.24.32-1ubuntu1 amd64 GTK+ graphical user interface library
ii libgtk2.0-0:i386 2.24.32-1ubuntu1 i386 GTK+ graphical user interface library
ii libgtk2.0-bin 2.24.32-1ubuntu1 amd64 programs for the GTK+ graphical user interface library
ii libgtk2.0-cil 2.12.40-2 amd64 CLI binding for the GTK+ toolkit 2.12
ii libgtk2.0-common 2.24.32-1ubuntu1 all common files for the GTK+ graphical user interface library
ii libgtk3-perl 0.032-1 all Perl bindings for the GTK+ graphical user interface library
Firefox: I seem to remember that, a year or two ago, it used to happen with Firefox; but, after some time (some months?) the problem disappeared. I do not have it now.
Updated•3 years ago
|
Comment 13•1 year ago
|
||
Does this still reproduce for you?
Updated•1 year ago
|
Description
•