Closed
Bug 450915
Opened 17 years ago
Closed 7 years ago
Dragging a tab (slightly) outside of the tab bar should still just reorder the tabs
Categories
(Firefox :: Tabbed Browser, defect, P1)
Firefox
Tabbed Browser
Tracking
()
Tracking | Status | |
---|---|---|
firefox57 | --- | verified |
People
(Reporter: frandavid100, Assigned: jaws)
References
Details
(Keywords: ux-control, Whiteboard: [reserve-photon-animation])
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
Originally sent to Launchpad: https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/241937
I have noticed that dragging tabs in Firefox does not work like in other gnome apps.
Basically, you can drag tabs along the tab bar to change their order, like in so many gnome apps. But you can also drag them up and down: if you accidentally drag them up and drop them on the bookmark bar, you add a bookmark for it. and if you accidentally drag it down to the browser area, you load that page again.
As you can see in the attached screenshot, the "good" area is quite small compared to the "bad" areas, so it's actually very easy to miss and drop the tab on a wrong place, and perform an action you didn't want. I propose that tabs in Firefox should behave just like gnome apps, and be able to move only left or right.
If you don't agree because you like being able to easily adding a bookmark or loading a page, think that the same exact effect can be achieved by dragging the favicon instead of the tab.
Reproducible: Always
Steps to Reproduce:
1.Drag a tab left or right
2.Accidentally miss and unadvertedly move it up or down
Actual Results:
The browser opens the URL / a new bookmark is created
Expected Results:
The tab changes places with other tabs, either left or right.
Reporter | ||
Comment 1•17 years ago
|
||
Comment 2•17 years ago
|
||
First off, this is an enhancement request.
Second, why should we not enable people to move the tab up or down? That is standard FF functionality, and should not be removed.
Moving the Favicon is not very accessible in itself. A favicon is only 16X16px, and so is harder to move. I think this should be WONTFIX.
Severity: normal → enhancement
Updated•17 years ago
|
Summary: Handle tabs like other gnome apps → Dragging a tab (slightly) outside of the tab bar should still just reorder the tabs
Reporter | ||
Comment 3•17 years ago
|
||
"First off, this is an enhancement request."
Really sorry, that was one of my first times using this bug tracker. I didn't even see the "severity" field.
"Second, why should we not enable people to move the tab up or down? That is
standard FF functionality, and should not be removed."
Well, the functionality would be intact by using the favicon which takes us to the next point.
"Moving the Favicon is not very accessible in itself. A favicon is only 16X16px,
and so is harder to move. I think this should be WONTFIX."
As a user, I find the current behaviour TOO accessible, in that it has triggered by accident more usually than purpose. What's the use of dragging the tab to the browser to load it, anyway? Is it such a common action that justifies moving tabs more difficult?
I would rather be able to perform a common operation more easily (moving tabs) even if it implies making a less common operation (dragging to the browser) slightly harder.
Comment 4•17 years ago
|
||
I agree with this enhancement request. Having an obscure extra way to reload the page (or add a bookmark) isn't worth the annoyance for people trying to reorder tabs. And it will have to go away when we make it possible to drag away from the tab bar in order to create a new window, which I assume is what bug 225680 is about.
Comment 5•16 years ago
|
||
Bug 465346 will probably fix this (although I'm not exactly sure if it's a direct dupe). Specifically see Beltzner's proposal there about vertical sensitivity.
Comment 6•16 years ago
|
||
This works fine for me now. The tab doesn't detach unless there's a drag more then the height of the tabbar.
Assignee: nobody → mano
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Depends on: 471499
Resolution: --- → FIXED
Whiteboard: [fixed by bug 471499]
Comment 7•16 years ago
|
||
Yes, but that is not what this request it about.
Assignee: mano → nobody
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Updated•16 years ago
|
Whiteboard: [fixed by bug 471499]
See Also: → https://launchpad.net/bugs/241937
It should have a graphical identity (e.g. "+") for creating a new window, and a perf to disable the behavior or adjust its threshold.
Assignee | ||
Updated•8 years ago
|
Blocks: 1352117
Severity: enhancement → normal
Flags: qe-verify+
Priority: -- → P4
Whiteboard: [reserve-photon-animation]
Assignee | ||
Updated•8 years ago
|
QA Contact: jwilliams
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Iteration: --- → 57.3 - Sep 19
Priority: P4 → P1
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8902388 [details]
Bug 450915 - Increase the drag space of the TabsToolbar by 15px on the bottom to improve the tab reordering experience.
https://reviewboard.mozilla.org/r/173956/#review179384
::: browser/base/content/browser.css:189
(Diff revision 1)
> + padding-bottom: 20px;
> +}
> +
> +#TabsToolbar[movingtab] + #nav-bar {
> + margin-top: -20px;
> + pointer-events: none;
This breaks dropping tabs on the bookmarks menu button
::: browser/themes/shared/tabs.inc.css:29
(Diff revision 1)
> :root:-moz-lwtheme {
> --tab-line-color: var(--lwt-accent-color);
> }
>
> #tabbrowser-tabs,
> +#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
Why is this needed?
Attachment #8902388 -
Flags: review?(dao+bmo)
Updated•7 years ago
|
QA Contact: jwilliams → stefan.georgiev
Comment hidden (mozreview-request) |
Assignee | ||
Comment 14•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8902388 [details]
Bug 450915 - Increase the drag space of the TabsToolbar by 15px on the bottom to improve the tab reordering experience.
https://reviewboard.mozilla.org/r/173956/#review179384
> Why is this needed?
Without this, the tabs shrink in size from 33px to 29px (on Windows) with the increased padding-bottom.
Assignee | ||
Comment 15•7 years ago
|
||
Comment on attachment 8902388 [details]
Bug 450915 - Increase the drag space of the TabsToolbar by 15px on the bottom to improve the tab reordering experience.
Redirecting to Gijs who can hopefully get to this sooner.
Attachment #8902388 -
Flags: review?(dao+bmo) → review?(gijskruitbosch+bugs)
Comment 16•7 years ago
|
||
mozreview-review |
Comment on attachment 8902388 [details]
Bug 450915 - Increase the drag space of the TabsToolbar by 15px on the bottom to improve the tab reordering experience.
https://reviewboard.mozilla.org/r/173956/#review182276
r+ with the downloads and home button included. We can followup making the 20px match the navbar height more exactly, and/or dealing with the menubar.
::: browser/base/content/browser.css:184
(Diff revision 2)
> .tabbrowser-tabs[movingtab] > .tabbrowser-tab[fadein]:not([selected]) {
> transition: transform 200ms var(--animation-easing-function);
> }
>
> +#TabsToolbar[movingtab] > .tabbrowser-tabs {
> + padding-bottom: 20px;
Clever. Two questions:
- the 20px feels kind of arbitrary. I guess this should basically be the navbar height, right? Is there some way we can more closely approximate this?
- should we also do the same for the top and the menubar, if the menubar is permanently visible (so on non-osx) ?
::: browser/base/content/browser.css:193
(Diff revision 2)
> + margin-top: -20px;
> + pointer-events: none;
> +}
> +
> +/* Allow dropping a tab on the bookmarks-menu-button to create a bookmark. */
> +#TabsToolbar[movingtab] + #nav-bar > #nav-bar-customization-target > #bookmarks-menu-button {
We should do the same for the downloads and the home button, which both also do reasonable things if dropping tabs on them.
::: browser/themes/shared/tabs.inc.css:29
(Diff revision 2)
> :root:-moz-lwtheme {
> --tab-line-color: var(--lwt-accent-color);
> }
>
> #tabbrowser-tabs,
> +#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
Just for my (& future) understanding, why was this necessary?
Attachment #8902388 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 17•7 years ago
|
||
mozreview-review |
Comment on attachment 8902388 [details]
Bug 450915 - Increase the drag space of the TabsToolbar by 15px on the bottom to improve the tab reordering experience.
https://reviewboard.mozilla.org/r/173956/#review182352
::: browser/base/content/browser.css:184
(Diff revision 2)
> .tabbrowser-tabs[movingtab] > .tabbrowser-tab[fadein]:not([selected]) {
> transition: transform 200ms var(--animation-easing-function);
> }
>
> +#TabsToolbar[movingtab] > .tabbrowser-tabs {
> + padding-bottom: 20px;
The more we increase this the harder it is to tear off a tab without making a large mouse movement. We're trying to balance ease of reordering tabs and tearing off tabs.
Chrome looks to tear off at about 15 pixes from their tab bar, even though their navbar measures about 35px tall.
Edge tears off around 8-10px, but their implementation treats reordering and tearing off pretty much as one-in-the-same.
Doing this for the top and the menubar isn't as straightforward due to the visibility of the menubar etc and didn't seem worth the extra complexity for a "nice-to-have".
I'll lower our amount to be closer to Chrome since we don't have a metric that says what is the *best* value here, and we don't want to make tearing tabs off too much harder.
::: browser/themes/shared/tabs.inc.css:29
(Diff revision 2)
> :root:-moz-lwtheme {
> --tab-line-color: var(--lwt-accent-color);
> }
>
> #tabbrowser-tabs,
> +#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
This was answered in comment 14. Because of how -moz-box-align:stretch; is applying the space, the tabs shrink in size from 33px to 29px (on Windows default density) with the increased padding-bottom.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 20•7 years ago
|
||
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/481d7cc2f6f0
Increase the drag space of the TabsToolbar by 15px on the bottom to improve the tab reordering experience. r=Gijs
![]() |
||
Comment 21•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 16 years ago → 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Comment 22•7 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 (20170915100121)
This issue is verified as fixed with the latest Nightly build on 9/15/2017.
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•