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

Provide an option to disable Custom Titlebar (a.k.a. CSD) on Linux #14

Closed
cgonzalez opened this issue Mar 15, 2019 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request implemented Feature requests that have been implemented.

Comments

@cgonzalez
Copy link

I'm using Altus since 1.2.x version. I've just updated to 2.0.2 and now the app is using custom titlebar (a.k.a. CSD). This change is very unfortunate for KDE Plasma users, for several reasons:

  • Can't resize the main window (since there is no border). I have to use a custom key + mouse combination (Alt + right click drag).
  • Doesn't respect global titlebar button configurations (In plasma you can use a global menubar or a special button in the titlebar for the app menu).
  • Main window has no shadows under KWin (KDE Plasma's window manager).
  • Borderless apps appears on ALL "activities" (or desktop workspaces), breaking my workflow.

This is Altus 2.0.2 in KDE Plasma. Note the lack of borders and shadows (it's hard to resize the main window):
altus_csd

This is Altus after disabling the "No border" option in the window manager (ergo forcing native window decorations). Note the duplicated title, menubar (app menu is embebed in the second button from left to right in the titlebar) and minimize/maximize/close buttons:
altus_no_csd

Is it possible to add a configuration option for disabling Custom Titlebar? The classical Electron titlebar from Altus 1.2.x works fine on KDE Plasma.

@amanharwara
Copy link
Owner

Thanks for making me aware of this. I will work on a fix as soon as possible. It's late here right now, so I'll work on this tomorrow but I'll make sure it's quick. This won't be too hard to fix.

@amanharwara amanharwara self-assigned this Mar 15, 2019
@amanharwara amanharwara added the bug Something isn't working label Mar 15, 2019
amanharwara added a commit that referenced this issue Mar 16, 2019
Added a global setting to allow users to disable the custom titlebar if
the want
@amanharwara
Copy link
Owner

v2.0.3 should have the fix for your issue

@amanharwara amanharwara added enhancement New feature or request and removed bug Something isn't working labels Mar 16, 2019
@cgonzalez
Copy link
Author

Than you! v2.0.3 works like a charm :)

@amanharwara amanharwara added the implemented Feature requests that have been implemented. label Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request implemented Feature requests that have been implemented.
Projects
None yet
Development

No branches or pull requests

2 participants