Bug 182844 - Web Inspector: TabBar redesign: TabBarItem close button is incorrectly positioned
Summary: Web Inspector: TabBar redesign: TabBarItem close button is incorrectly positi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Matt Baker
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-02-15 15:40 PST by Matt Baker
Modified: 2018-02-16 13:00 PST (History)
4 users (show)

See Also:


Attachments
[Image] Close button location bug (195.61 KB, image/png)
2018-02-15 15:40 PST, Matt Baker
no flags Details
Patch (4.81 KB, patch)
2018-02-15 15:50 PST, Matt Baker
no flags Details | Formatted Diff | Diff
[Image] with patch applied (199.14 KB, image/png)
2018-02-15 15:51 PST, Matt Baker
no flags Details
Patch (5.19 KB, patch)
2018-02-15 18:52 PST, Matt Baker
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.