[Webkit-unassigned] [Bug 175999] New: Web Inspector: Critical content browser toolbar buttons are hidden at narrow widths

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 25 15:30:13 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175999

            Bug ID: 175999
           Summary: Web Inspector: Critical content browser toolbar
                    buttons are hidden at narrow widths
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mattbaker at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Summary:
Critical content browser toolbar buttons are hidden at narrow widths. See screenshots.

NavigationBar wraps items that can't find in the available space. It would be better to give items a priority, and remove the least important items first, as space becomes constrained.

Proposal:
AppKit calls this concept "visibility priority", which I think is good name (see https://developer.apple.com/documentation/appkit/nstouchbaritem). When NavigationBar does a layout:

1. Create list of candidate items in ascending priority order. Do not include dividers, flexible space, or hidden items.
2. Measure items at full width.
3. If available space is exceeded, give each item the opportunity to collapse further.
4. Measure items again.
5. If available space is exceeded, hide lowest priority item and remove from candidate list. Otherwise goto step 7.
6. Goto step 5.
7. Remove redundant dividers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170825/99acc113/attachment.html>


More information about the webkit-unassigned mailing list