View Issue Details

IDProjectCategoryView StatusLast Update
0001457NoesisGUIC# SDKpublic2021-07-27 20:04
Reporterai_enabled Assigned Tosfernandez  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.2.1 
Target Version3.1Fixed in Version3.1.0 
Summary0001457: Shift + mouse wheel = horizontal scroll
DescriptionAny way to disable this behavior?
Players are holding Shift very often in our game and it's really confusing to them. And we don't have any horizontally scroll viewers anyway so this feature is useless for us.

Regards!
TagsNo tags attached.
PlatformAny

Relationships

related to 0001517 resolvedsfernandez Random issue with typing and modifier keys 

Activities

sfernandez

sfernandez

2019-04-30 10:12

manager   ~0005656

Sorry, there is no way to disable that behavior right now.

Something like a "ShiftWheelScrollsHorizontally" attached property that you could set in a ListBox for example could work for you?
Or maybe, when the shift key is pressed, scroll vertically with the mouse wheel if there is no horizontal scrollbar enabled?
ai_enabled

ai_enabled

2019-04-30 13:21

updater   ~0005657

Hi Sergio,
thanks for the quick reply!

Yes, I understand it would be easier to hack temporary (remember Shift press state, release it, apply scroll delta, set Shift down again if it was pressed before).

1. Something like a "ShiftWheelScrollsHorizontally" attached property that you could set in a ListBox for example could work for you?
This is not a reasonable approach as not many NoesisGUI users will be aware of such extension property.

2. when the shift key is pressed, scroll vertically with the mouse wheel if there is no horizontal scrollbar enabled?
This is a very reasonable approach and it doesn't require any extra work! I like it.

Also, it might be a good idea to simply expose this in NoesisGUI API so we could simply set a global option to toggle the horizontal scroll feature completely. It's not used for 99.9% of games, I'm sure about this! :-)
So probably it's better to keep it off by default unless you want to follow WPF behavior here completely (which I'm not sure about).

Regards!
ai_enabled

ai_enabled

2019-05-02 14:38

updater   ~0005661

No rush, this workaround seems to work fine in our case:
this.view.KeyUp(Key.LeftShift);
this.view.KeyUp(Key.RightShift);
this.view.MouseWheel(x, y, scrollDeltaValue);
ai_enabled

ai_enabled

2019-08-29 21:54

updater   ~0005953

I'm quite certain that the workaround is causing some unexpected issues with input though...I hope this feature will be implemented soon.
I would even prefer a NoesisGUI global option to disable horizontal scroll with Shift key altogether. I bet almost all video games are never using horizontal scrollbars and even if they do, it's unlikely that users would grief the absence of Shift+Scroll feature.
jsantos

jsantos

2020-05-08 12:27

manager   ~0006332

Probably related to 0001517
ai_enabled

ai_enabled

2020-05-09 01:36

updater   ~0006340

Hi,
indeed, the workaround might be related but it's definitely Ctrl key getting stuck, not Shift. Hmm.
I still wish you just provide an option in SDK to disable the horizontal scrolling altogether—seriously, no game dev wants this feature enabled by default!

Issue History

Date Modified Username Field Change
2019-04-27 22:52 ai_enabled New Issue
2019-04-30 10:12 sfernandez Assigned To => sfernandez
2019-04-30 10:12 sfernandez Status new => feedback
2019-04-30 10:12 sfernandez Note Added: 0005656
2019-04-30 10:13 sfernandez Target Version => 2.2.3
2019-04-30 13:21 ai_enabled Note Added: 0005657
2019-04-30 13:21 ai_enabled Status feedback => assigned
2019-05-02 14:38 ai_enabled Note Added: 0005661
2019-06-18 16:59 sfernandez Target Version 2.2.3 => 2.2.4
2019-08-26 15:26 jsantos Target Version 2.2.4 => 2.2.5
2019-08-29 21:54 ai_enabled Note Added: 0005953
2019-12-30 10:30 sfernandez Target Version 2.2.5 => 3.0.0
2020-05-08 12:27 jsantos Relationship added related to 0001517
2020-05-08 12:27 jsantos Note Added: 0006332
2020-05-08 12:28 jsantos Target Version 3.0.0 => 3.0
2020-05-09 01:36 ai_enabled Note Added: 0006340
2020-09-28 20:18 sfernandez Status assigned => resolved
2020-09-28 20:18 sfernandez Resolution open => fixed
2020-09-28 20:18 sfernandez Fixed in Version => 3.1
2020-09-28 20:18 sfernandez Target Version 3.0 => 3.1
2021-07-27 20:04 jsantos Fixed in Version 3.1 => 3.1.0