Closed
Bug 1372043
Opened 9 years ago
Closed 9 years ago
Icon of minimize button disappeared (but button still works properly)
Categories
(Firefox :: Theme, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr52 | --- | unaffected |
| firefox54 | --- | unaffected |
| firefox55 | --- | unaffected |
| firefox56 | --- | fixed |
| firefox57 | --- | verified |
People
(Reporter: blakewolf, Assigned: urbankrajnc92)
References
Details
(Keywords: regression, Whiteboard: [photon-visual][p1])
Attachments
(2 files, 3 obsolete files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170611030208
Steps to reproduce:
The minimize icon goes away when the browser is maximized.
You can either resize to browser to click the maximize button to shrink the window.
Actual results:
The icon goes away
Expected results:
The icon should always be visible
Comment 1•9 years ago
|
||
The minimize button disappears when Maximize -> normal in my case.
Str
1. Start Browser with maximized mode
2. Click normal size mode button
3. Observe the minimized button
Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=35bdd25a810319b52365a12da51df0ac2426c6cc&tochange=806cf3746d111cd359fcea0938959b0582448ad6
Regressed by: 806cf3746d11 UK992 — Bug 1185482 - Remove gap between titlebar buttons and navigation toolbar r=dao
Blocks: 1185482
Status: UNCONFIRMED → NEW
status-firefox54:
--- → unaffected
status-firefox55:
--- → affected
Component: Untriaged → Theme
Ever confirmed: true
Flags: needinfo?(urbankrajnc92)
Flags: needinfo?(dao+bmo)
Keywords: regression
OS: Unspecified → Windows 10
I can't reproduce on 1.25 DPI. What is your DPI?
This could be solved with removing padding top and bottom, and only setting height.
Flags: needinfo?(urbankrajnc92)
Padding top and bottom is removed from titlebar buttons, except when windows is maximized and menu bar visible, because titlebar buttons are more flat.
Attachment #8876531 -
Attachment is obsolete: true
Updated•9 years ago
|
Whiteboard: [photon-visual][triage]
Updated•9 years ago
|
Flags: qe-verify+
Priority: -- → P2
QA Contact: brindusa.tot
Whiteboard: [photon-visual][triage] → [photon-visual]
Updated•9 years ago
|
Flags: needinfo?(dao+bmo)
Whiteboard: [photon-visual] → [photon-visual][p1]
| Comment hidden (mozreview-request) |
Attachment #8876532 -
Attachment is obsolete: true
Attachment #8876529 -
Attachment is obsolete: true
| Comment hidden (mozreview-request) |
Updated•9 years ago
|
Priority: P2 → P1
Comment 8•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8878218 [details]
Bug 1372043 - Set height on titlebar buttons only in miximized window
https://reviewboard.mozilla.org/r/149568/#review154408
::: browser/base/content/browser-tabsintitlebar.js:179
(Diff revision 2)
> + isPhotonWindows10 = (AppConstants.MOZ_PHOTON_THEME &&
> + AppConstants.isPlatformAndVersionAtLeast("win", "10.0"));
> +
> + if (isPhotonWindows10) {
> + // Remove height property from #titlebar-buttonbox to get right #titlebar-content height
> + $("titlebar-buttonbox").style.removeProperty("height");
Thanks for looking into this. Unfortunately, this breaks the expected order described here:
// Try to avoid reflows in this code by calculating dimensions first and
// then later set the properties affecting layout together in a batch.
...
// Begin setting CSS properties which will cause a reflow
Attachment #8878218 -
Flags: review?(dao+bmo)
| Reporter | ||
Comment 10•9 years ago
|
||
This bug looks fixed as of the 2017-06-24 nightly build on my Windows 10 x64 machine.
http://i.imgur.com/Z1a3qFR.png
Comment 11•9 years ago
|
||
I can still reproduce with 2017-06-26 nightly:
1. Maximize current window, and make sure the menu bar is hidden
2. Open a new (maximided) window with Ctrl+N
3. Unmaximize the new window, there is this problem.
But if the window is created non-maximized, then it works well.
Updated•9 years ago
|
Summary: minimize line disappears, buts button still functions properly → Icon of minimize button disappeared (but button still works properly)
Comment 15•9 years ago
|
||
Hey UK92, are you still going to try to fix this or should we try to find a new owner?
Flags: needinfo?(urbankrajnc92)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 17•9 years ago
|
||
Sorry i forgot about this bug.
Latest patch set height only when window is maximized.
Flags: needinfo?(urbankrajnc92)
Comment 18•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8878218 [details]
Bug 1372043 - Set height on titlebar buttons only in miximized window
https://reviewboard.mozilla.org/r/149568/#review163448
Thanks! I can't seem to reproduce the bug with or without this patch, but at least it shouldn't make things worse.
Attachment #8878218 -
Flags: review?(dao+bmo) → review+
Comment 19•9 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/62a148ad6d3b
Set height on titlebar buttons only in miximized window r=dao
Comment 20•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Updated•9 years ago
|
Iteration: --- → 56.3 - Jul 24
Updated•9 years ago
|
status-firefox-esr52:
--- → unaffected
Comment 21•9 years ago
|
||
[bugday-20170726]
status-ff56.0a1 : FIXED & VERIFIED.
Managed to reproduce the issue on Firefox Nightly under Windows 10 X 64.
The issue is no longer reproducible on Firefox latest Nightly [BuildID : 20170725030209 , 56.0a1(2017-07-25)(32 bit)].
Tests were performed under Windows 10 X 64.
Comment 22•9 years ago
|
||
Verified on Windows 10 x 64 and 32 bit on latest Nightly 57.0a1 Build ID 20170815100349 and i cannot reproduce the issue. I will mark this as verified fixed. Thank you
You need to log in
before you can comment on or make changes to this bug.
Description
•