Closed Bug 1694546 Opened 4 years ago Closed 3 years ago

[linux] Bookmarks toolbar looks like it is one with other toolbars, but bookmarks toolbar is not draggable, unlike other toolbars

Categories

(Firefox :: Toolbars and Customization, defect, P3)

Desktop
Linux
defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- fixed

People

(Reporter: karlt, Assigned: Gijs)

References

Details

(Keywords: regression)

Attachments

(1 file)

I'd guess the bookmarks toolbar is somehow not included in -moz-window-dragging rules.

The bookmarks toolbar wasn't visible (on new tabs/windows) until bug 1674091 was fixed.

Regressed by: 1674091

(In reply to Karl Tomlinson (:karlt) from comment #1)

The bookmarks toolbar wasn't visible (on new tabs/windows) until bug 1674091 was fixed.

But you could trivially make it visible by using the context menu on the main toolbar, or going into Customize Mode...

No longer regressed by: 1674091
Keywords: regression

It looks like this is because:

https://searchfox.org/mozilla-central/rev/6f8f3d0e9022b6f0405da26ec940a89455416202/toolkit/content/xul.css#195-200

has an ifndef for Gtk. Linux is the only theme that has additional dragging rules (for the navbar, https://searchfox.org/mozilla-central/rev/6f8f3d0e9022b6f0405da26ec940a89455416202/browser/themes/linux/browser.css#266 ), the titlebar is draggable on Linux because of https://searchfox.org/mozilla-central/rev/6f8f3d0e9022b6f0405da26ec940a89455416202/browser/base/content/browser.css#348 . This was originally simplified in bug 1387415.

It seems like if we want the toolbar to be draggable on Linux, we should just remove the linux and browser/base styling, and remove the ifndef in xul.css . Dão, does that seem reasonable?

Flags: needinfo?(dao+bmo)

(In reply to :Gijs (he/him) from comment #3)

It seems like if we want the toolbar to be draggable on Linux, we should just remove the linux and browser/base styling, and remove the ifndef in xul.css . Dão, does that seem reasonable?

Sounds good to me. The current inconsistency seems to stem from -moz-window-dragging not being implemented for GTK originally. I don't think there's any other reason at this point.

Depends on: 1241885
Flags: needinfo?(dao+bmo)
Severity: -- → S3
Priority: -- → P3

This bug is for:

  • bookmarks toolbar, reportedly not draggable

bug 1727956 is for:

  • Bookmarks toolbar items, which is draggable in some situations.

Was resolution of 1727956, as a duplicate, a misunderstanding?

(In reply to Graham Perrin from comment #7)

This bug is for:

  • bookmarks toolbar, reportedly not draggable

bug 1727956 is for:

  • Bookmarks toolbar items, which is draggable in some situations.

Was resolution of 1727956, as a duplicate, a misunderstanding?

Sorry, it was a misunderstanding.

Assignee: nobody → gijskruitbosch+bugs
Blocks: 1756676
Status: NEW → ASSIGNED
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Summary: Bookmarks toolbar looks like it is one with other toolbars, but bookmarks toolbar is not draggable, unlike other toolbars → [linux] Bookmarks toolbar looks like it is one with other toolbars, but bookmarks toolbar is not draggable, unlike other toolbars

I came across this again when trying to address bug 1756676 and figured
I would just address this bug immediately per our previous discussion
on the bug.

Attachment #9265050 - Attachment description: Bug 1694546 - fix bookmark toolbar draggability on Windows, r?dao → Bug 1694546 - fix bookmark toolbar draggability on Linux, r?dao
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/ace96dd0c98b fix bookmark toolbar draggability on Linux, r=dao
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: