I really like my window decoration from Plasma, so I kindly request that you can honor the window.titleBarStyle settings. I prefer not to use custom title bars, as they often vary significantly from one application to another.
I have also experienced this issue. The only workaround I found with KDE Plasma was to force ‘no titlebar and frame’ to ‘No’ in Settings->Window Management->Window Rules
Same issue on Wayland + Sway. Prior to this regression the menu (File, Edit, View, …) were shown in the native Gtk2 theme and style. Now they are gone, and cannot be summoned with Alt key either when window.menuBarVisibility=toggle mode is set.
Settings tested so far:
window.titleBarStyle=native
window.menuBarVisibility
classic OR
visible OR
toggle + Alt key press
window.customTitleBarVisibility
auto OR
windowed
What doesn’t work: Title bar menu is not shown in any of these test cases.
What works:
Setting window.dialogStyle=native shows other native Gtk2 dialogs in native theme and style.
The lower left “gear” icon (with tooltip “Manage”) shows a native Gtk2 popover menu in the native theme and style when clicked.
This is the one that opens to reveal choices: "Command Palette, Profiles, Settings, Extensions, Keyboard Shortcuts, Snippets, Tasks, Themes, Check for Updates
The title bar itself is shown, with the window.title format string
I had this set to: “${dirty}${activeEditorShort}${separator}${rootName}${separator}${profileName}${separator}${appName}”
Setting window.titleBarStyle=custom works in all possible enumerated cases of window.menuBarVisibility.
The “custom” style draws the menu using only “Custom” or “client-side” decorations.
No native Gtk theme or style decorations are shown in this mode.
It seems that this is related to a recent regression in Cursor, which caused it to deviate from the typical VSCode / Electron behavior.
Notes:
Confirmed that it affects Cursor versions: 0.50.5 up to latest 1.0.0
Last known working version: 0.44.9
I was unable to test versions between 0.44.9 and 0.50.5 due to this issue where only the latest download link is available.
None of these versions appear to have the brand new window.menuStyle setting listed or available yet in the Settings view.
The problem does not exist in vanilla VSCode (native menus are shown OK):
Expand for working vanilla VSCode + Electron, Chromium versions
results in no title bar or buttons in Cursor’s AppImage, while all other apps respect the system-wide left-side button layout. Instead, Cursor shows buttons on the right, conflicting with GNOME’s configuration.