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

Pinned window: can it skip the taskbar (be non alt-tab'abble)? #2337

Open
giladbarnea opened this issue Jan 29, 2022 · 3 comments
Open

Pinned window: can it skip the taskbar (be non alt-tab'abble)? #2337

giladbarnea opened this issue Jan 29, 2022 · 3 comments
Labels
Enhancement Feature requests and code enhancements

Comments

@giladbarnea
Copy link

Feature Description

Hi,
Thanks for flameshot!

I think that pinned screenshots should skip the taskbar, i.e not be alt-tabb'able.
The rationale is that they're always on top anyway, so one doesn't need to switch to them.
Instead, they take a slot and create extra friction for the user when they switch windows.

The window property that controls this is _NET_WM_STATE_SKIP_TASKBAR, just like _NET_WM_STATE_ABOVE control always-on-top.
This can be manipulated with xprop / wmctrl:

2022-01-29_14-41-56.mp4

What do you think?

Thanks!
Gilad

@giladbarnea giladbarnea added the Enhancement Feature requests and code enhancements label Jan 29, 2022
@giladbarnea giladbarnea changed the title Pinned window: can it have SKIP_TASKBAR property (non alt-tab'abble)? Pinned window: can it skip the taskbar (be non alt-tab'abble)? Jan 29, 2022
@mmahmoudian
Copy link
Member

There are already discussions to improve the pinned tool (#2251 #954) and most probably some keyboard shortcuts will be added to the pin tool. When that happens, this would actually make it hard for people who mostly use/rely on keyboard.

@borgmanJeremy
Copy link
Contributor

@giladbarnea do you know if qt has a cross platform wrapper for that API?

@giladbarnea
Copy link
Author

@giladbarnea do you know if qt has a cross platform wrapper for that API?

@borgmanJeremy No idea, but if I understand correctly, this thread suggests that child widows don't take up a slot in taskbar, and (this is where I'm not sure) you could create a faux parent window and hide it, thus ending up with one window that skips taskbar?

https://stackoverflow.com/questions/4055506/qt-hide-taskbar-item

(I googled "qt skip taskbar")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Feature requests and code enhancements
Projects
None yet
Development

No branches or pull requests

3 participants