You are not logged in.
Hi golinux,
I've been using the Chimaera theme for about a week now, and I really like it. But I just noticed a small glitch - on the MATE Desktop, the selection rectangle is an opaque solid white instead of translucent blue, covering up whatever it is one is trying to select. I guess I don't make group selections of things on the desktop very often, because I just noticed this yesterday :-) Anyway, thought you ought to know.
Offline
Hi golinux,
I've been using the Chimaera theme for about a week now, and I really like it. But I just noticed a small glitch - on the MATE Desktop, the selection rectangle is an opaque solid white instead of translucent blue, covering up whatever it is one is trying to select. I guess I don't make group selections of things on the desktop very often, because I just noticed this yesterday :-) Anyway, thought you ought to know.
You're right. I just tried this in chimaera with mate. It also does it in beowulf with xfce and the cinnabar theme. Maybe we can figure out how adwaita does it and do the same in our themes.
Offline
Hi golinux,
I've been using the Chimaera theme for about a week now, and I really like it. But I just noticed a small glitch - on the MATE Desktop, the selection rectangle is an opaque solid white instead of translucent blue, covering up whatever it is one is trying to select. I guess I don't make group selections of things on the desktop very often, because I just noticed this yesterday :-) Anyway, thought you ought to know.
@sgage . . . thanks for reporting this. I have poked it a bit and discovered it also happens on all the clearlooks-phenix themes - including the original - on xfce beowulf too yet it works as expected on ascii even though the styling is identical. If I can't figure it out, I will post to the xfce forum to help me sort it. Stay tuned . . .
Online
The fix is in compliments of ToZ on the Xfce forum. The hilighting is now semi-transparent as it used to be. Either resort to self-help with the patch below or wait for the deepsea theme to get repackaged:
Starting line 158 of gtk-widgets,css, add a ".thunar .rubberband" statement:
.rubberband, .thunar .rubberband, view rubberband, rubberband { background-color: alpha (@theme_selected_bg_color, 0.35); border-color: @theme_selected_bg_color; border-style: solid; border-width: 1px; border-radius: 2px; }
Online
The fix is in compliments of ToZ on the Xfce forum. The hilighting is now semi-transparent as it used to be. Either resort to self-help with the patch below or wait for the deepsea theme to get repackaged:
Starting line 158 of gtk-widgets,css, add a ".thunar .rubberband" statement:
.rubberband, .thunar .rubberband, view rubberband, rubberband { background-color: alpha (@theme_selected_bg_color, 0.35); border-color: @theme_selected_bg_color; border-style: solid; border-width: 1px; border-radius: 2px; }
Alas, this does not work for MATE. I added the stanza as is, and also substituting 'caja' for 'thunar', but no joy. I'm sure the fix is hiding in plain sight...
Offline
@sgage . . . does the ascii darkpurpy theme work OK on Mate? If yes, try replacing the gtk-widgets.css, applications.css and gtk-widgets-img.css in deepsea with those from darkpurpy. There is one color change towards the end of gtk-widgets.css that you'll want to keep from deepsea but the rest can probably fall back to the earlier gtk version.
[edit] Actually you probably need to use those files from Clearlooks-Phenix-purpy not darkpurpy. You can find them here
Online
@sgage . . . does the ascii darkpurpy theme work OK on Mate? If yes, try replacing the gtk-widgets.css, applications.css and gtk-widgets-img.css in deepsea with those from darkpurpy. There is one color change towards the end of gtk-widgets.css that you'll want to keep from deepsea but the rest can probably fall back to the earlier gtk version.
[edit] Actually you probably need to use those files from Clearlooks-Phenix-purpy not darkpurpy. You can find them here
Yes! That did it. I used the above-mentioned css files from purpy, from the link you provided. I will try to analyze it tomorrow, but it's bedtime. Thanks for your efforts!!!
Offline
golinux wrote:[edit] Actually you probably need to use those files from Clearlooks-Phenix-purpy not darkpurpy. You can find them here
Yes! That did it. I used the above-mentioned css files from purpy, from the link you provided. I will try to analyze it tomorrow, but it's bedtime. Thanks for your efforts!!!
Excellent! IIUC, Mate is built on gnome2 which still uses gtk-2 so would choke on the gtk-3 in the more recent versions.
Online
Whoops! I spoke too soon. While replacing gtk-widgets.css with the one from Purpy indeed fixes the selection rectangle issue, it creates other problems. Items on the panel have no spacing, the menus don't operate properly (no highlighting as you mouse over items), and perhaps a couple other things. Lots going on in that file! But I poked around and I think I have it solved, and the solution is quite simple.
In the gtk-widgets.css file in the new Clearlooks-Phenix-Deepsea theme, the 'rubberband' code at line begins thusly:
.rubberband,
view rubberband,
rubberband {
I looked at the corresponding code in the css file from the old Purpy (that allowed the selection rectangle to work properly), and it went like so:
.view.rubberband,
.rubberband {
So I deleted the opening ".rubberband" and put a "." in front of the"view rubberband", and the "rubberband" just before the {, and voila! A translucent selection rectangle with everything else continuing to be layed out properly. So there's no need to replace files or such - just fix what seems to be a typo in the existing file.
I will continue to test and see if anything else crops up. But it seems like all is well now...
Incidentally, MATE was forked from Gnome2 years ago, and is now (allegedly) fully transitioned over to GTK+ 3. Or so they announced a while back.
Last edited by sgage (2021-03-29 13:58:18)
Offline
Here's the final version (I think). Tested in xfce (thunar) and mate (caja), both in chimaera. I'll rebuild the package later today.
.rubberband,
.view .rubberband,
view rubberband,
rubberband {
background-color: alpha (@theme_selected_bg_color, 0.35);
border-color: @theme_selected_bg_color;
border-style: solid;
border-width: 1px;
border-radius: 2px;
}
Offline
Here's the final version (I think). Tested in xfce (thunar) and mate (caja), both in chimaera. I'll rebuild the package later today.
.rubberband, .view .rubberband, view rubberband, rubberband { background-color: alpha (@theme_selected_bg_color, 0.35); border-color: @theme_selected_bg_color; border-style: solid; border-width: 1px; border-radius: 2px; }
This works fine for me using MATE (caja). What I had ended up with, which also works fine w/ caja, was simply this:
.view.rubberband,
.rubberband {
background-color: alpha (@theme_selected_bg_color, 0.35);
border-color: @theme_selected_bg_color;
border-style: solid;
border-width: 1px;
border-radius: 2px;
}
Maybe it wouldn't work w/ thunar, though. In any case, your 'final' version seems to work fine with both. I can't claim that I really understand the css lingo...
Offline
I suspected that switching files out might break other things and was going to start investigating after a good night's sleep. Looks like sgage and fsmithred and ToZ on the Xfce forum saved me the headache. Gtk-3 is such a pox . . .
Online