Rayzeq/quick-settings-audio-panel

QuickSettings panel styling compatibility issue

neuromorph opened this issue · 0 comments

Hello,
So, I believe this extension removes or replaces the QuickSettings panel with its own layouts. I am hoping it follows the same menu>box>grid kind of setup as default Gnome but maybe I am missing something.

The issue is a conflict of sorts with extension Open Bar which styles the panel and all the menus. Open Bar allows to change the css elements for QuickSettings like background, foreground, shadow, border etc and also for the internal buttons.
When QSAP is enabled , the styling does not apply to the QS panel (though does work, at least partially, with the internal elements).
I am thinking the custom styles from class .popup-menu-content do not apply.
OpenBar basically goes through list of all the elements in the QS panel menu (based on default Gnome layout) and adds a custom css class to all of them. This class can then be used to override the styles. This works by default but not when QSAP is enabled,

I am guessing the answer lies in libpanel but I could not identify exactly where the conflict occurs.

In case you can think of what may be causing it, we can think of how to make it work. I would guess, I need to push my custom class into QS panel differently for QSAP based on its layout.

In the end it would be good to have QSAP panels also be styled with OpenBar.

Cheers.