Closed Bug 1593578 Opened 6 years ago Closed 1 year ago

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)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: signupemail, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [closeme 2024-08-15])

Attachments

(1 file)

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.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Walt can you reproduce?

Severity: normal → minor
Component: Untriaged → Mail Window Front End
Flags: needinfo?(wls220spring)
Summary: Appplication will not open maximised when mail.tabs.drawInTitlebar is true → Small gap at top when maximised on Linux with mail.tabs.drawInTitlebar is true

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?

Flags: needinfo?(wls220spring)

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.

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.

. . 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.

Summary: Small gap at top when maximised on Linux with mail.tabs.drawInTitlebar is true → 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

thanks for digging to get all the detail

Component: Mail Window Front End → Theme

(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.

[walts48 wrote:]

No, I don't have HiDPI.

@wsmwk

Anyone in a position to try to reproduce the problem, please?

I'll take a look at this in a bit

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.

Flags: needinfo?(mkmelin+mozilla)

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.

I don't see this.

Flags: needinfo?(mkmelin+mozilla)
Severity: minor → S4

Does this still reproduce for you?

Blocks: 732812
Flags: needinfo?(signupemail)
Whiteboard: [closeme 2024-08-15]
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(signupemail)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: