Classic Shell development was stopped in December 2017. For now the forum remains online as reference, but is read-only. Registration of new users is disabled.
It is currently Thu Sep 11, 2025 2:37 am

All times are UTC - 8 hours [ DST ]


Forum rules


Before posting a bug report or a feature request, search the forum for an older post on the same topic.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Thu Aug 22, 2013 10:19 am 
Offline

Joined: Tue Aug 13, 2013 6:57 pm
Posts: 23
Would it be possible to change Shift-Win to act on release rather than press? Right now it can conflict with Shift-Win key combinations, like Shift-Win-Up. It's possible to avoid the action by pressing the Win key first, then Shift, but I do happen to press Shift first in many cases.

If there's a reason for it act on press rather than on release, a configuration option would be the best.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 22, 2013 10:26 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
Shift+Win is a hotkey. Hotkeys work on press, not release. Try Win+E for example.
What you can do is press Win+Shift+Up.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 22, 2013 10:56 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
I agree. It also conflicts with Shift+Win+Left/Right to move the app across monitors.
In previous versions of Classic Shell, it acted on release because it was implemented using a keyboard filter hook. Now it uses hotkeys. The keyboard filter hook caused some compatibility problems for some users and didn't work if an elevated app had focus. The hotkey gets rid of this but conflicts with other shortcuts.
I guess best way would be to allow the user more flexibility in choosing the hotkey (Ctrl+Win/Shift+Win/Alt+Win or Win+Shift/Win+Alt/Win+Ctrl, or some combination of three, or holding down Winkey?

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 22, 2013 2:28 pm 
Offline

Joined: Tue Aug 13, 2013 6:57 pm
Posts: 23
But then, WinKey by itself acts on release to open the menu, as it does without Classic Shell to switch to the the Start Screen.

If it's about a hook doing trouble and WM_HOTKEY only being sent on press, I guess that's another sort of problem/dilemma.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 22, 2013 6:57 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
There are two problems here:

1) How to detect the key press. One way is with a keyboard hook. But it doesn't work and an elevated application is running because of UIPI.

2) How to bring the menu in foreground. The OS only gives you foreground if you use a hotkey, or if the user clicks on your window. Any other cases are hacky and unreliable. That's why the Hover feature doesn't work 100% - because there is no user action that gives you the right to be in foreground. Keyboard hooks suffer from the same problem. The OS doesn't know that the key is for you and doesn't put you in foreground.

So at the moment the only available controls that solve both problems are the ones available in the settings.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 22, 2013 11:46 pm 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
Here are some keyboard shortcuts on Windows that involve Shift/Alt/Ctrl and the Windows key (not necessarily a complete list but which I think may be significantly used):


- Shift+Win+M=Undo minimize all windows previously done by Win+M- Shift+Win+Up=Maximize window vertically
- Shift+Win+Left=Move window to left monitor (when using multiple displays)
- Shift+Win+Right=Move window to right monitor (when using multiple displays)
- Shift+Win+<number>=Open new window of app on the taskbar
- Alt+Win+<number>=Show jumplist of taskbar app
- Ctrl+Win+<number>=Switch to the last active window of app on the taskbar when combining is enabled

The ones with Shift are greater than Alt or Ctrl. So giving Ctrl+Win as an option seems like a good idea.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 23, 2013 4:20 am 
Offline

Joined: Tue Aug 13, 2013 6:57 pm
Posts: 23
How's WinKey handled to both get focus and detect release?


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 23, 2013 7:35 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
It is handled by the system. The system can do whatever it wants. Individual apps can't.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 26, 2013 2:47 am 
Offline

Joined: Tue Aug 13, 2013 6:57 pm
Posts: 23
You mean WinKey by itself is also registered as a hotkey, but that one triggers on release? Interesting.


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 26, 2013 7:35 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
No, the Win key is not a hotkey. It generates SC_TASKLIST message and does it on release.


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 29, 2013 5:24 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
In the latest Classic Shell, this is fixed btw. Shift+Win action occurs now on release, rather than press.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 156 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.