Closed
Bug 464205
Opened 16 years ago
Closed 15 years ago
all tabs preview is disconnected from the window and oversized.
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 3.7a4
People
(Reporter: phiw2, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
189.76 KB,
image/png
|
Details | |
16.67 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
Actual result:
The all tabs preview is hooked to the user' screen, independently of width (size) and position on screen of browser window. If the user has multiple windows open, there is no clear relation between the tabs preview and that window.
Expected result:
Do something sane with the all tabs preview.
The all tabs preview should be sized to the width of the window (and autosize in height, but that appears covered by bug 464122), and positioned relative to the browser window, not the screen.
Conceptually the current implementation might fit for someone surfing with the browser window open in full screen. Users who surf with smaller windows, not necessarily positioned at top of the screen are overwhelmed. It is absolutely not clear how that preview relates to the current active window.
In the attached screenshot, the preview jumps out of the open window, far away form where my attention is focused
There is no way to control the size/positioning of the all tabs preview by themes or user stylesheets.
Comment 1•16 years ago
|
||
To provide some background, if we restrict to the window size we can't really show thumbnails in a way that is useful, particular for large numbers of tabs. Also, the UI is meant to be transient, you are only interacting with it briefly before returning to Firefox, so during that transition we overlay your other apps, but the visual feedback is quickly dismissed. cc'ing boriss since she is driving the design work on this.
![]() |
Reporter | |
Comment 2•16 years ago
|
||
(In reply to comment #1)
> To provide some background, if we restrict to the window size we can't really
> show thumbnails in a way that is useful, particular for large numbers of tabs.
I fail to see how this relates. If someone has a smaller monitor, the problem is the same... And the preview images scale depending on the width of the tab-preview pane.
(try setting a max-width to that object: #ctrlTab-panel {max-width: 900px !important;} - tested on my 1980px wide monitor)
> Also, the UI is meant to be transient, you are only interacting with it briefly
> before returning to Firefox, so during that transition we overlay your other
> apps, but the visual feedback is quickly dismissed.
It is not about blocking other aps form view, it is all about the relationship with the browser window where the tabs are located.
Comment 3•16 years ago
|
||
(In reply to comment #1)
> To provide some background, if we restrict to the window size we can't really
> show thumbnails in a way that is useful, particular for large numbers of tabs.
Preamble: I'm testing Shiretoko on a 24" screen.
The way it is now, the All-Tabs panel appears _somewhere_ on the screen, not where I'm looking and focussing. Add a couple of open overlapping app windows and a patch of the desktop background to the mix, and it's *really* hard to make out the previews and tab titles.
Restricting to the browser window could improve the "visual noise" situation. I see that the notes in http://pastebin.mozilla.org/571525 contain the quote:
"<-- all tabs in tabstrip order
<-- pagination entries if needed
<-- overlays entire browser window",
so maybe the design is moving into this direction anyway...
![]() |
Reporter | |
Comment 4•16 years ago
|
||
Dao, any thoughts on this ?
Assignee | ||
Comment 5•16 years ago
|
||
I think we should avoid scrolling or other overflow scenarios in the all-tabs panel, as they would complicate the UI. We also don't want the previews to shrink more than needed. Therefore I don't think the panel size should be limited to the size of non-maximized windows.
![]() |
Reporter | |
Comment 6•16 years ago
|
||
(Sorry for slow response - I simply forgot the hit the commit button...)
So WontFix then ?
Mind you, the whole issue is much less important to me now, with the 'browser.allTabs.previews' pref. I hope it stays there, I can always flip to false if needed :-).
(In reply to comment #5)
Therefore I don't think the panel size should be
> limited to the size of non-maximized windows.
I still don't fully understand how that makes a difference; what about the people with a smaller monitor ? (1100px~1200px, macBook)
Assignee | ||
Comment 7•16 years ago
|
||
(In reply to comment #6)
> Mind you, the whole issue is much less important to me now, with the
> 'browser.allTabs.previews' pref. I hope it stays there, I can always flip to
> false if needed :-).
It's not expected to stay there forever.
> I still don't fully understand how that makes a difference; what about the
> people with a smaller monitor ? (1100px~1200px, macBook)
Smaller screens get smaller thumbnails with more truncated titles. That's not ideal either.
Assignee | ||
Updated•16 years ago
|
Blocks: ctrl-tab-panel
Keywords: uiwanted
Comment 8•15 years ago
|
||
Smaller screens and non-maximized windows is what those users *chose*. Their browser window will be at a size they want and can use. Therefore, they will likely be perfectly happy if the thumbnails also fit into that chosen space. Having internal browser UI spill out over the browser and into the OS is just wrong.
e.g. I have my browser windowed (non-maximized) and slightly to the left of the screen (to allow me to see my Win7 Gadgets on the right). Having the thumbnails preview pane lopsided relative to my browser and spill outside my browser on one side is highly irritating and disorienting.
Assignee | ||
Comment 9•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Comment 10•15 years ago
|
||
+ const PANEL_MAX_HEIGHT = Math.max(gBrowser.selectedBrowser.clientHeight,
+ screen.availHeight / 2);
+ const PANEL_MAX_WIDTH = Math.max(gBrowser.selectedBrowser.clientWidth,
+ screen.availWidth / 2);
Querying for clientHeight / clientWidth will flush layout. Since the panel hasn't been reflowed at this point, the flush can cause the panel to resize temporarily, for example after dragging a preview to a different row. Can you move these lines somewhere else, for example to allTabs_open() before opening the panel, where flushing layout doesn't do any harm?
At least on OS X, a resizing panel will redraw its contents synchronously, so the unreflowed state actually makes its way to the screen. This results in a very unpleasant flash.
Assignee | ||
Comment 11•15 years ago
|
||
as suggested
Attachment #432562 -
Attachment is obsolete: true
Attachment #433843 -
Flags: review?(mstange)
Attachment #432562 -
Flags: review?(mstange)
Updated•15 years ago
|
Attachment #433843 -
Flags: review?(mstange) → review+
Assignee | ||
Comment 12•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a4
You need to log in
before you can comment on or make changes to this bug.
Description
•