New issue
Advanced search Search tips

Issue 859585 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 1
Type: Bug



Sign in to add a comment

[MdRefresh] Separator is missing in Single Tab Mode

Project Member Reported by meh...@chromium.org, Jul 2

Issue description

Chrome Version: Canary 69.0.3478.0
OS: All

What steps will reproduce the problem?
(1) Enable MdRefresh
(2) Open a window with a single tab
(3) Take a look between the close button and the NTB on the tab in the Single Tab Mode

What is the expected result?
A separator would be nice.


What happens instead?
Without a separator it feels like something is missing :( 


Thanks
Mehmet
 
without_separator.png
18.9 KB View Download
with_separator.png
20.0 KB View Download
Cc: -pkasting@chromium.org
Owner: pkasting@chromium.org
Status: Assigned (was: Untriaged)
I'll take this, I've been looking at this code this weekend
Thank you :)
Issue 859694 has been merged into this issue.
Issue 859627 has been merged into this issue.
Labels: -Pri-2 Pri-1
Triage: Promoting to P1
Status: Started (was: Assigned)
Project Member

Comment 7 by bugdroid1@chromium.org, Jul 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/93e913c148a1a54557c8b29517a4be2eab7949ea

commit 93e913c148a1a54557c8b29517a4be2eab7949ea
Author: Peter Kasting <pkasting@chromium.org>
Date: Mon Jul 09 16:02:29 2018

Show separators in single-tab mode.

Bug:  859585 
Test: An active chrome window with one tab should have a white titlebar with a separator between the tab close X and trailing new tab button.
Change-Id: I35c61f0a19f16f9020e4416efe735c2af0978219
Reviewed-on: https://chromium-review.googlesource.com/1128276
Reviewed-by: Allen Bauer <kylixrd@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#573321}
[modify] https://crrev.com/93e913c148a1a54557c8b29517a4be2eab7949ea/chrome/browser/ui/views/tabs/tab.cc
[modify] https://crrev.com/93e913c148a1a54557c8b29517a4be2eab7949ea/chrome/browser/ui/views/tabs/tab_controller.h
[modify] https://crrev.com/93e913c148a1a54557c8b29517a4be2eab7949ea/chrome/browser/ui/views/tabs/tab_strip.cc
[modify] https://crrev.com/93e913c148a1a54557c8b29517a4be2eab7949ea/chrome/browser/ui/views/tabs/tab_strip.h
[modify] https://crrev.com/93e913c148a1a54557c8b29517a4be2eab7949ea/chrome/browser/ui/views/tabs/tab_unittest.cc

Status: Fixed (was: Started)
Project Member

Comment 9 by bugdroid1@chromium.org, Jul 10

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fd44237deff45b5e048ac6178c1081df57e9b04f

commit fd44237deff45b5e048ac6178c1081df57e9b04f
Author: Fredrik Söderquist <fs@opera.com>
Date: Tue Jul 10 10:12:30 2018

Scrub line-endings in chrome/browser/ui/views/tabs/tab.cc

93e913c148a1a54557c8b29517a4be2eab7949ea added mixed line-endings,
making git unhappy. Remove the excess carriage returns (CRs.)

Tbr: pkasting@chromium.org
Bug:  859585 
Change-Id: Ied4e1465491679a607c9f273da0c3d8cbc6be499
Reviewed-on: https://chromium-review.googlesource.com/1130528
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#573673}
[modify] https://crrev.com/fd44237deff45b5e048ac6178c1081df57e9b04f/chrome/browser/ui/views/tabs/tab.cc

Labels: Needs-Feedback
Tested the issue on latest chrome# 69.0.3488.0 on Mac 10.12.6, Windows-10 and Ubuntu 14.04. Able to verify the fix(Separator when single tab is opened) on both Mac and Windows, but unable to verify the fix on Linux because of different UI(i.e., when single tab is opened unable to find the separator)

@Fredrik Söderquist: Please find the attached screenshot for your reference and help us in verifying the fix.

Thanks!

859585.png
99 KB View Download
859585 - Linux.png
146 KB View Download
Labels: -Needs-Feedback
This is for me, not Fredrik.

The Linux screenshot in comment 10 is actually drawing the trailing separator, but it shouldn't be, since there's a clearly-visible active tab shape.

Given that and the color of the new tab button (which was clearly chosen to contrast with a light frame and not a dark one), I think the frame in this case is reporting that single tab mode is available, but not drawing that way.  This is GTK-specific, and I've filed it as  bug 862629 .

Sign in to add a comment