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

Let windows be handled by the window manager #216

Closed
Virtheon opened this issue Mar 31, 2019 · 7 comments
Closed

Let windows be handled by the window manager #216

Virtheon opened this issue Mar 31, 2019 · 7 comments
Labels
feature request Issues that request new features to be added to OnlyOffice fixed Issues that fixed and released

Comments

@Virtheon
Copy link

Do you want to request a feature or report a bug?
I'm not sure. A feature, the lack of which makes the application look like it has a bug.

What is the current behavior?
The application has its own styled window buttons (e.g. Close, minimise, maximise), similar to buttons in Windows, regardless of how window decorations and buttons are configured.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
While this is not my OS, here is an image I found online demonstrating the issue I have.

ZfQuW00 - Imgur

Note how, rather than the left styled buttons Ubuntu Unity usually has, the buttons are on the right, styled like in Windows.

What is the expected behavior?
For the application buttons to conform to window manager/OS styles.

Which versions of DesktopEditors, and which OS are affected by this issue? Did this work in previous versions of DesktopEditors?
The latest version. Linux, though I've only personally tested it on KDE. I don't know, but I would not guess so.

@ShockwaveNN ShockwaveNN added the feature request Issues that request new features to be added to OnlyOffice label Apr 1, 2019
@janxkoci
Copy link

I can confirm this issue on Linux (I use elementary OS, which has close button on the left and maximize on the right, with no minimize button). I have found screenshots of OnlyOffice on macOS where the buttons are mac-style as expected, so this issue is really Linux-specific.

The problem is that on Linux there is a lot of different window managers, while on Windows and macOS there is only one, so making it custom-fit for those platforms is easy.

Maybe there is some freedesktop specification to check or listen to, but I'm not a dev so I know very little about this. However I know that cross-platform apps like Chromium or Firefox can usually get it right (although my firefox has both buttons on the left right now, so not always), so it should be doable at least in principle.

@matveevms
Copy link
Member

matveevms commented Mar 31, 2021

Hi, @janxkoci , @CodingEagle02
Seems we forgot to create issue in 2019, but our dev team take a look at this problem in 2019 and said that fixing this is not an easy task
But I've created new issue to track this - 49409

@matveevms
Copy link
Member

We can suggest that you launch the editor with the flag --system-title-bar. In this case, the editor window will inherit the system interface (to disable this mode, run the application with the flag --custom-title-bar).

@ShockwaveNN
Copy link
Contributor

Those flags already aviable in v7.0.0 and I think in earlier version either

So I'm closing this issue

There may be some troubles with some specific window manager, but better to create new issues

@ShockwaveNN ShockwaveNN added the fixed Issues that fixed and released label Feb 4, 2022
@Batwam
Copy link

Batwam commented Jan 9, 2023

Could this be added as an option in the Settings rather than a hidden command line flag please (same thing with --ascdesktop-support-debug-info? Perhaps as an addition to the "Interface theme" dropdown?
image

@matveevms
Copy link
Member

matveevms commented Aug 14, 2023

Hello, @Batwam
Could you create a new issue for this feature request?

@Earthling-Z3R0
Copy link

Add

export ONLYOFFICE_PARAM="--system-title-bar"

to your /etc/environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to OnlyOffice fixed Issues that fixed and released
Projects
None yet
Development

No branches or pull requests

7 participants