Addressing issue #158

Since CSD window decorations are shared between both menus and application windows, the gtk-window.css file sets a 10px border for CSD windows to improve the usability in resizing them, verses a 1px border which would require precision to trigger the resizer. For better or for worse, menu “decorations” shouldn’t have been shared with window application “decorations,” but that is the spec for the toolkit so we have to make do with it.
The excess 10px border intended for CSD application windows appear to interfere with context menus used in MATE panel plugins, causing the menu scrolling arrows (arrow up & arrow down) to appear.
This commit should patch this issue after testing with a Ubuntu MATE 20.10 VM.
This commit is contained in:
EMH-Mark-I 2021-01-18 15:45:09 -06:00
parent 3c7dd56bb7
commit 5f28575906
2 changed files with 7 additions and 0 deletions

View File

@ -182,6 +182,13 @@ PanelToplevel.background {
border-bottom-color: @border_dark;
background-color: @button_bg_color;
box-shadow: inset -1px -1px @border_shade, inset 1px 1px @border_light; }
/* MATE context-menu window decoration */
.mate-panel-menu-bar window decoration {
border: 2px solid @border_dark;
background-color: @bg_color;
border-image: url("../assets/mate_menu_decoration.png");
border-image-slice: 2 2 2 2;
box-shadow: none; }
/* Brisk Menu */
.brisk-menu {

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B