The CSD restore button is missing in some themes
Categories
(Core :: Widget: Gtk, defect, P2)
Tracking
()
People
(Reporter: rautyrauty, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
|
130.65 KB,
image/png
|
Details | |
|
2.20 KB,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Steps to reproduce:
- Open firefox on Mate with BlueMenta theme
- Expand to full screen
The bug is also reproduced on thunderbird.
Fix for thunderbird :
thunderbird/browser/themes/linux/browser.css | 2 +-
thunderbird/comm/mail/themes/linux/mail/messenger.css | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/thunderbird/browser/themes/linux/browser.css b/thunderbird/browser/themes/linux/browser.css
index 963a33af855..d4de1a507ac 100644
--- a/thunderbird/browser/themes/linux/browser.css
+++ b/thunderbird/browser/themes/linux/browser.css
@@ -272,21 +272,21 @@
order: env(-moz-gtk-csd-maximize-button-position);
.toolbarbutton-icon {
-moz-default-appearance: -moz-window-button-maximize;
background-image: url(chrome://browser/skin/window-controls/maximize.svg);
}
}
.titlebar-restore {
order: env(-moz-gtk-csd-maximize-button-position);
.toolbarbutton-icon {
- -moz-default-appearance: -moz-window-button-restore;
- -moz-default-appearance: -moz-window-button-maximize;
background-image: url(chrome://browser/skin/window-controls/restore.svg);
}
}
@media not (-moz-gtk-csd-maximize-button) {
.titlebar-restore,
.titlebar-max {
display: none;
}
}
diff --git a/thunderbird/comm/mail/themes/linux/mail/messenger.css b/thunderbird/comm/mail/themes/linux/mail/messenger.css
index bdabab82c63..f070717a7ff 100644
--- a/thunderbird/comm/mail/themes/linux/mail/messenger.css
+++ b/thunderbird/comm/mail/themes/linux/mail/messenger.css
@@ -196,21 +196,21 @@
.toolbarbutton-icon {
-moz-default-appearance: -moz-window-button-maximize;
background-image: url(chrome://messenger/skin/window-controls/maximize.svg);
}
}
.titlebar-restore {
order: env(-moz-gtk-csd-maximize-button-position);
.toolbarbutton-icon {
- -moz-default-appearance: -moz-window-button-restore;
- -moz-default-appearance: -moz-window-button-maximize;
background-image: url(chrome://messenger/skin/window-controls/restore.svg);
}
}
@media not (-moz-gtk-csd-maximize-button) {
.titlebar-max,
.titlebar-restore {
display: none;
}
}
2.42.2
But then all other themes will have an extension icon instead of a restore.
Actual results:
The restore button is not displayed.
Expected results:
The restore button with the extension icon is displayed, since there is no recovery icon in the theme.
| Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Can confirm on KDE Plasma 6 as well. Both snap and flatpak versions have restore button themed incorrectly (tested on 2 different machines). However, .deb version from mozilla ppa doesn't have this issue. The problem is only present with title bar turned off
Can you test stock Mozilla binaries?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_Nightly_binaries
Thanks.
| Reporter | ||
Comment 4•1 year ago
|
||
The bug is reproduced on the firefox-136.0a1
So stock Mozilla binaries fails but deb version from mozilla ppa works? Is that correct?
Also does it help if you change Icon theme?
Comment 7•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #5)
So stock Mozilla binaries fails but deb version from mozilla ppa works? Is that correct?
if so we can remove blocking snap/flatpak i guess
| Reporter | ||
Comment 8•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #6)
Also does it help if you change Icon theme?
Yes, it will help.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #5)
So stock Mozilla binaries fails but deb version from mozilla ppa works? Is that correct?
I have not tested the deb version from mozilla ppa.
| Reporter | ||
Comment 9•1 year ago
|
||
The bug was fixed in 140. Now buttons are the same in all themes in mate.
Close bug as a fixed please.
Comment 10•11 months ago
|
||
Okay, Thanks.
Description
•