Closed Bug 874448 Opened 13 years ago Closed 13 years ago

OS X customization mode doesn't have dragover border indicators on toolbarpaletteitems

Categories

(Toolkit :: Themes, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This makes it hard to tell where items will end up when dragging them.
Attached patch Patch — — Splinter Review
This is all that's needed, AFAICT.
Attachment #752194 - Flags: review?(dao)
Comment on attachment 752194 [details] [diff] [review] Patch Can you describe what exactly is broken here and how this patch fixes it? It's not obvious to me at a first glance.
On Windows/Linux, when you drag an item over a toolbar item in customization mode, the item gets a dragover attribute with value 'left' or 'right' depending on LTR/RTL, and a 2px black border appears indicating where the item you're dragging would end up if you dropped it at that point. On OS X, this border currently doesn't appear. There's styling for this border a while further down in the file: http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/osx/global/toolbar.css#96 but because the margin/border "exchanges" in the patch *aren't* yet in the file like they are on Windows/Linux, that rule currently ends up doing nothing (the toolbarpaletteitems have no border). Hence the patch.
Comment on attachment 752194 [details] [diff] [review] Patch This should probably be moved down into the "drag and drop feedback" section for clarity.
Attachment #752194 - Flags: review?(dao) → review+
Component: Toolbars and Customization → Themes
Product: Firefox → Toolkit
(In reply to Dão Gottwald [:dao] from comment #4) > Comment on attachment 752194 [details] [diff] [review] > Patch > > This should probably be moved down into the "drag and drop feedback" section > for clarity. OK. Would you want me to move the blocks in the linux/windows copies as well, or leave those for hg annotate/blame reasons?
(In reply to :Gijs Kruitbosch from comment #5) > (In reply to Dão Gottwald [:dao] from comment #4) > > Comment on attachment 752194 [details] [diff] [review] > > Patch > > > > This should probably be moved down into the "drag and drop feedback" section > > for clarity. > > OK. Would you want me to move the blocks in the linux/windows copies as > well, or leave those for hg annotate/blame reasons? I'd prefer if they were moved there as well.
Cool, pushed to UX with the blocks moved everywhere: https://hg.mozilla.org/projects/ux/rev/daf6a4427453
Whiteboard: [fixed-in-ux]
Any reason why this shouldn't land on mozilla-central today?
(In reply to Dão Gottwald [:dao] from comment #8) > Any reason why this shouldn't land on mozilla-central today? I guess not. Should I just push this to inbound then?
(In reply to :Gijs Kruitbosch from comment #9) > (In reply to Dão Gottwald [:dao] from comment #8) > > Any reason why this shouldn't land on mozilla-central today? > > I guess not. Should I just push this to inbound then? yep
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: