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

Persist "Always On Top" & "Always on Visible Workspace" #18

Closed
wyqydsyq opened this issue Jan 16, 2018 · 1 comment
Closed

Persist "Always On Top" & "Always on Visible Workspace" #18

wyqydsyq opened this issue Jan 16, 2018 · 1 comment

Comments

@wyqydsyq
Copy link

Your Environment

  • Version used: 2.1.19
  • Operating System and version: OpenSUSE Tumbleweed
  • Desktop Environment: GNOME Shell 3.26.2
  • Node version: v9.3.0

Expected Behavior

Opening the context menu on a window and setting "Always On Top" or "Always on Visible Workspace" to true should result in these settings being saved and restored along with window positioning.

Current Behavior

"Always On Top" and "Always on Visible Workspace" are not persisted.

Steps to Reproduce (for bugs)

  1. Open context menu for a window, set "Always On Top" or "Always on Visible Workspace"
  2. Save session
  3. Restore session
  4. Notice the "Always On Top" or "Always on Visible Workspace" setting you just picked is now cleared
@johannesjo
Copy link
Owner

johannesjo commented Jan 17, 2018

Hey there! Thanks for reporting!

Setting "Always On Top" works just fine on my machine (Ubuntu with Gnome). About "Always visible on workspace" I'm not sure to be honest. Executing

xprop -f _NET_WM_STATE 32a -set _NET_WM_STATE _NET_WM_STATE_STICKY

Manually seems to have no effect neither. Maybe it's an x11 issue?

I'm glad for any help on this. You can find the related code in the x11Wrapper.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants