View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001457 | NoesisGUI | C# SDK | public | 2019-04-27 22:52 | 2021-07-27 20:04 |
Reporter | ai_enabled | Assigned To | sfernandez | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.2.1 | ||||
Target Version | 3.1 | Fixed in Version | 3.1.0 | ||
Summary | 0001457: Shift + mouse wheel = horizontal scroll | ||||
Description | Any 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! | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
related to | 0001517 | resolved | sfernandez | Random issue with typing and modifier keys |
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? |
|
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! |
|
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); |
|
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. |
|
Probably related to 0001517 | |
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! |
|
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 |