Open Bug 1691339 Opened 3 years ago Updated 10 months ago

Firefox starts in a wrong position with titlebar disabled

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 85
defect

Tracking

()

UNCONFIRMED

People

(Reporter: gudvinr+bugzilla, Unassigned)

References

(Blocks 2 open bugs)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

  1. Place Firefox window in top left corner not in maximized state
  2. Reboot system
  3. Open Firefox

--
I am running Firefox under KDE (X11 session):
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
OS Type: 64-bit

I have 2-monitor setup and window opens on secondary monitor (to the right of primary one) which makes Firefox starting in the middle of virtual screen space.

Actual results:

With titlebar disabled Firefox opens window shifted to the right and down for ~40px on the first start. If I close this and open again it starts in correct position until system reboot.

More than that, if I open another Firefox profile (also with titlebar disabled) it will also start in correct position (after previous manipulation).

Expected results:

Firefox windows should be started in correct position with CSD enabled.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Priority: -- → P3

Could be somehow related with https://bugs.kde.org/show_bug.cgi?id=432326?

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.