Bug 182844

Summary: Web Inspector: TabBar redesign: TabBarItem close button is incorrectly positioned
Product: WebKit Reporter: Matt Baker <mattbaker>
Component: Web InspectorAssignee: Matt Baker <mattbaker>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, inspector-bugzilla-changes, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Image] Close button location bug
none
Patch
none
[Image] with patch applied
none
Patch none

Description Matt Baker 2018-02-15 15:40:20 PST
Created attachment 333958 [details]
[Image] Close button location bug

Summary:
TabBarItem close button is incorrectly positioned. The initial round of TabBar changes (https://webkit.org/b/181468) went too far, removing or changing stuff that should have stayed put.

Steps to Reproduce:
1. Open Inspector
2. Disable the New Tab Bar experimental setting
3. Open Search (or New Tab) tab
4. Make sure TabBar is not collapsed (width enough to show tab icons and text)
5. Hover the Search (or New Tab) tab

Expected:
Left-aligned close button (x) is shown.

Actual:
Tab icon is replaced by the close button (see attached screenshot).
Comment 1 Radar WebKit Bug Importer 2018-02-15 15:40:56 PST
<rdar://problem/37586749>
Comment 2 Matt Baker 2018-02-15 15:50:02 PST
Created attachment 333959 [details]
Patch
Comment 3 Matt Baker 2018-02-15 15:51:47 PST
Created attachment 333960 [details]
[Image] with patch applied
Comment 4 Matt Baker 2018-02-15 15:54:26 PST
(In reply to Matt Baker from comment #3)
> Created attachment 333960 [details]
> [Image] with patch applied

(In reply to Matt Baker from comment #0)
> Created attachment 333958 [details]
> [Image] Close button location bug
> 
> Summary:
> TabBarItem close button is incorrectly positioned. The initial round of
> TabBar changes (https://webkit.org/b/181468) went too far, removing or
> changing stuff that should have stayed put.
> 
> Steps to Reproduce:
> 1. Open Inspector
> 2. Disable the New Tab Bar experimental setting

Disregard step 2. Close button behavior should not be impacted by this setting.
Comment 5 Matt Baker 2018-02-15 18:52:41 PST
Created attachment 333985 [details]
Patch
Comment 6 WebKit Commit Bot 2018-02-16 12:38:51 PST
Comment on attachment 333985 [details]
Patch

Rejecting attachment 333985 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 333985, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
rdparty/autoinstalled/mechanize/_urllib2_fork.py", line 332, in _call_chain
    result = func(*args)
  File "/Volumes/Data/EWS/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py", line 1170, in https_open
    return self.do_open(conn_factory, req)
  File "/Volumes/Data/EWS/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_urllib2_fork.py", line 1118, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 60] Operation timed out>

Full output: http://webkit-queues.webkit.org/results/6540684
Comment 7 WebKit Commit Bot 2018-02-16 13:00:00 PST
Comment on attachment 333985 [details]
Patch

Clearing flags on attachment: 333985

Committed r228573: <https://trac.webkit.org/changeset/228573>
Comment 8 WebKit Commit Bot 2018-02-16 13:00:02 PST
All reviewed patches have been landed.  Closing bug.