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

Update tray behavior on linux #12

Closed
Doka-NT opened this issue Sep 11, 2021 · 1 comment · Fixed by #22
Closed

Update tray behavior on linux #12

Doka-NT opened this issue Sep 11, 2021 · 1 comment · Fixed by #22
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Doka-NT
Copy link
Owner

Doka-NT commented Sep 11, 2021

In some linux systems hidden windows not available to re-open after hide.

In code was added workaround for that

But some linux supports tray as app is expected, so app have to:

  • detect which linux distro is launched. lsb_release -a
  • detect desktop environment. echo $XDG_CURRENT_DESKTOP
  • hide MainWindow if desktop environment supports it
  • In other cases MainWindow should minimize instead of hide

Helpfull links:

@Doka-NT Doka-NT added the enhancement New feature or request label Sep 11, 2021
@Doka-NT Doka-NT added this to the v1.0.0.beta.4 milestone Sep 11, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
@Doka-NT Doka-NT self-assigned this Sep 18, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
Doka-NT added a commit that referenced this issue Sep 18, 2021
It should be done in separate issue
@Doka-NT
Copy link
Owner Author

Doka-NT commented Sep 18, 2021

Tray behavior tested on x-cinnamon, unity, kde and xfce.

Doka-NT added a commit that referenced this issue Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant