Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active item not highlighted when cycling windows (ALT-TAB, xfwm-tabwin) #62

Open
muello opened this issue Dec 16, 2020 · 0 comments
Open

Comments

@muello
Copy link

muello commented Dec 16, 2020

Thanks for putting so much work into a beautiful theme.

One issue that came up on my install of Mc-OS-CTLina-XFCE-Dark: when I press ALT-TAB to cycle through open windows, the popup is uniformly grey. The only thing showing which item is currently active is the text underneath:

tabwin-default

When xfwm is set to cycle through windows in a list, distinguishing the active item becomes entirely impossible:

tabwin-list

Do other people have this issue?

In case anyone finds it useful, my hacky workaround has been to add the following to gtk-3.0/gtk.css

/* Muello's tabwin hack */
/* mostly adapted from Greybird-dark-mx/gtk-3.0/gtk.css */
/* Xfwm4's alt-tab dialog, aka "tabwin" */

/* The containing popup*/
#xfwm-tabwin { padding: 12px;
background-image: none;
background-color: rgba(90, 90, 90, 0.95);
color: shade(#ffffff, 0.65);
text-shadow: 0px 1px rgba(90, 90, 90, 0.95);
border-radius: 12px;
/* Set the application icon- and preview-size to 64px */
-XfwmTabwinWidget-icon-size: 64px;
-XfwmTabwinWidget-preview-size: 64px; }

/*item labels (except in list mode, they only show when active or hovering)*/
#xfwm-tabwin button { background-image: none;
/* color: #ffffff;
/* font-weight: bold;
text-shadow: 0px 1px rgba(0, 0, 0, 0.8); */
border: 1px;
border-radius: 4px;
}

/*background of item currently focused ("active")*/
#xfwm-tabwin button:active, #xfwm-tabwin button:checked, #xfwm-tabwin button:active:hover, #xfwm-tabwin button:checked:hover {
background: rgba(157, 163, 163, 0.8);
box-shadow: 1px 1px rgba(80, 80, 80, 0.2); }

/* mouse hover*/
#xfwm-tabwin button:hover { background: rgba(50,105,164,0.96) /*#0c3764*/;
transition-duration: 50ms; }

The results:

tabwin-default_hacked

tabwin-list_hacked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant