Closed Bug 1387618 Opened 7 years ago Closed 7 years ago

Increase "Close tab" icon size with Touch density

Categories

(Firefox :: Theme, defect, P1)

57 Branch
x86_64
Windows 7
defect

Tracking

()

VERIFIED FIXED
Firefox 57
Iteration:
57.2 - Aug 29
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- verified

People

(Reporter: Virtual, Assigned: dao)

References

(Depends on 1 open bug)

Details

(Keywords: nightly-community, ux-consistency, Whiteboard: [reserve-photon-visual][p3])

Attachments

(1 file)

"Close tab" button icon size should respect "Density" preference in "Customize..." option, because for now it doesn't change like all other icons and it looks kinda huge in "Compact" density mode.



"Speedy" Regression window (mozilla-central)
Good:
https://ftp.mozilla.org/pub/firefox/nightly/2017/08/2017-08-03-10-03-52-mozilla-central/

Bad:
https://ftp.mozilla.org/pub/firefox/nightly/2017/08/2017-08-04-10-03-54-mozilla-central/

Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=63e261ce8cb04c913d2e6b19ea451b7078d24dc1&tochange=32083f24a1bb2c33050b4c972783f066432194eb

Probably caused by:
Bug 1385702 - Update close icon style for photon
Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
The spec says the size should only be adjusted for Touch mode. Compact mode has the same size as Normal mode.

http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html
Summary: "Close tab" button icon size should respect "Density" preference in "Customize..." option → Increase "Close tab" icon size with Touch density
Perhaps fixing bug 1387609 will make the icon feel lighter and smaller.
...which will help for Compact mode.
(In reply to Tim Nguyen :ntim from comment #1)
> The spec says the size should only be adjusted for Touch mode. Compact mode
> has the same size as Normal mode.
> 
> http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html

Maybe specification forgot to include also the Compact mode, so "Close tab" button icon size should be smaller, like in Touch mode betting bigger.
Stephen, should the close button be smaller in Compact mode ?
Flags: needinfo?(shorlander)
Why should it be smaller? That won't change the tab height and thus doesn't help the UI get more compact. There's no user benefit.
If the close button will be smaller, it will be consistent with other buttons also getting smaller in Compact mode or getting bigger in Touch mode, so in end Compact mode user could see more characters in tab titles (or at least I think it will be, as close button size get bigger, after landing patch from bug #1385702).
Whiteboard: [photon-visual] [triage] → [reserve-photon-visual][p3]
Flags: qe-verify?
Priority: -- → P3
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Flags: qe-verify? → qe-verify+
Priority: P3 → P1
Iteration: --- → 57.2 - Aug 29
I didn't extend the close button's hover background. That background is part of the icon file so fixing this would be more work.

We're not going to make the button smaller in compact mode.
Flags: needinfo?(shorlander)
Comment on attachment 8897482 [details]
Bug 1387618 - Increase tab close button size in touch mode.

https://reviewboard.mozilla.org/r/168774/#review174504

Apologies for the delay, wanted to make sure to test in touch mode and my windows machine had build issues, got it working and this is looking good cheers
Attachment #8897482 - Flags: review?(dharvey) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/760113529a6c
Increase tab close button size in touch mode. r=daleharvey
https://hg.mozilla.org/mozilla-central/rev/760113529a6c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Is this patch only intended for making larger hover active close tab button area in only Touch Density mode,
not making also visible close button size larger in Touch Density mode
and not touching Compact Density mode?
I'm asking to doube-check.
Flags: needinfo?(dao+bmo)
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #14)
> Is this patch only intended for making larger hover active close tab button
> area in only Touch Density mode,
> not making also visible close button size larger in Touch Density mode
> and not touching Compact Density mode?
> I'm asking to doube-check.

Yes, see comment 10.
Flags: needinfo?(dao+bmo)
I saw it, but I wanted to make sure that I understand it correctly by doube-checking.
I'm confirming that bug is fixed, starting in Mozilla Firefox Nightly 57.0a1 (2017-08-17), so I'm marking this bug as VERIFIED. Thanks.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Depends on: 1398750
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: