Closed
Bug 1468249
Opened 6 years ago
Closed 6 years ago
Toggle buttons are too tall when using touch
Categories
(Firefox :: Menus, defect, P1)
Tracking
()
VERIFIED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | unaffected |
firefox61 | --- | unaffected |
firefox62 | --- | verified |
firefox63 | --- | verified |
People
(Reporter: mt, Assigned: johannh)
References
Details
(Keywords: regression)
Attachments
(3 files)
15.56 KB,
image/jpeg
|
Details | |
59 bytes,
text/x-review-board-request
|
dao
:
review+
ritu
:
approval-mozilla-beta+
|
Details |
3.11 KB,
patch
|
Details | Diff | Splinter Review |
STR:
Open the hamburger menu by touching it.
The toggle for TP is very tall.
Expected:
It should probably not get taller when using touch, but be centered instead.
Assignee | ||
Comment 1•6 years ago
|
||
Hah, good point. Thanks for filing this.
Blocks: 1462468
status-firefox61:
--- → unaffected
status-firefox62:
--- → affected
Keywords: regression
Priority: -- → P2
Comment 2•6 years ago
|
||
Is this the right component? (maybe it doesn't matter)?
Flags: needinfo?(jhofmann)
Assignee | ||
Comment 3•6 years ago
|
||
Probably rather menus, I guess. I can take this.
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Component: Tracking Protection → Menus
Flags: needinfo?(jhofmann)
Priority: P2 → P1
Comment 4•6 years ago
|
||
Let's mark as fix-optional for 62, but it would be cool to land a patch in 62.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•6 years ago
|
||
This patch fixes the visual issue, though there's still bug 1468311 which is slightly worse with touch input, IMO.
Comment 7•6 years ago
|
||
mozreview-review |
Comment on attachment 8988299 [details]
Bug 1468249 - Avoid resizing the TP toggle in the main menu in touch mode.
https://reviewboard.mozilla.org/r/253564/#review260324
::: browser/themes/shared/customizableui/panelUI.inc.css:617
(Diff revision 1)
> }
>
> +/* Don't resize the toggle in touch mode. */
> +#appMenu-popup[touchmode] #appMenu-tp-toggle {
> + margin-top: 12px;
> + margin-bottom: 12px;
Can we add some kind of invisible padding within the button so that it's usable in touch mode without looking ridiculous?
Attachment #8988299 -
Flags: review?(dao+bmo)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•6 years ago
|
||
This is the best I can do, I think. This fixes bug 1468311 in the same commit, the button is still the same size, but at least the user doesn't accidentally close the main menu by tapping outside anymore.
Comment 10•6 years ago
|
||
mozreview-review |
Comment on attachment 8988299 [details]
Bug 1468249 - Avoid resizing the TP toggle in the main menu in touch mode.
https://reviewboard.mozilla.org/r/253564/#review266310
Attachment #8988299 -
Flags: review?(dao+bmo) → review+
Comment 11•6 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cacad1697a69
Avoid resizing the TP toggle in the main menu in touch mode. r=dao
Comment 12•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Comment 13•6 years ago
|
||
I can confirm this issue is fixed, I tested using Windows Surface Pro, on Fx 63.0a1 (2018-07-26), both x86, x64.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 14•6 years ago
|
||
Comment on attachment 8988299 [details]
Bug 1468249 - Avoid resizing the TP toggle in the main menu in touch mode.
Approval Request Comment
[Feature/Bug causing the regression]: Bug 1462468
[User impact if declined]: Ugly tracking protection toggle when opening the main menu via touch
[Is this code covered by automated tests?]: No, it's CSS-only
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: See comment 0
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: No
[Why is the change risky/not risky?]: It's a very short and straightforward front-end patch that has baked in Nightly for a while now.
[String changes made/needed]: None
Attachment #8988299 -
Flags: approval-mozilla-beta?
Comment on attachment 8988299 [details]
Bug 1468249 - Avoid resizing the TP toggle in the main menu in touch mode.
CSS only, regression fix, Beta62+
Attachment #8988299 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 16•6 years ago
|
||
This failed to graft for beta. I got:
grafting 490876:cacad1697a69 "Bug 1468249 - Avoid resizing the TP toggle in the main menu in touch mode. r=dao"
merging browser/components/customizableui/content/panelUI.inc.xul
warning: conflicts while merging browser/components/customizableui/content/panelUI.inc.xul! (edit, then use 'hg resolve --mark')
abort: unresolved conflicts, can't continue
(use 'hg resolve' and 'hg graft --continue')
Johann, could you please take a look at this? Thank you.
Flags: needinfo?(jhofmann)
Comment 17•6 years ago
|
||
The conflicts is from bug 1472535.
Assignee | ||
Comment 18•6 years ago
|
||
Updated the patch to work in beta, thanks!
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(jhofmann) → needinfo?(csabou)
Comment 19•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
status-firefox-esr52:
--- → unaffected
status-firefox-esr60:
--- → unaffected
Updated•6 years ago
|
Flags: needinfo?(csabou)
Updated•6 years ago
|
Flags: qe-verify+
Comment 20•6 years ago
|
||
I can confirm this issue is fixed on Fx 62.0b15. I verified using Windows Surface Pro.
Updated•6 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•