Page 1 of 1

Ctrl - Tab

Posted: Wed Jul 10, 2019 9:57 am
by Eike
Hello,

I'm new to Ranorex and I'm wondering about some things...

First things first: When I press Ctrl - Tab to change between tabs, Ranorex Studio (9.1) sometimes brings up the tab list shortly, but as I'm releasing the keys fast, it doesn't change tabs. I'm pressing Ctrl - Tab to change tabs, so it should just do the default, opening the previously opened window.

Ciao,
Eike

PS: This should be easily reproducible with some UI test automation tool...

Re: Ctrl - Tab

Posted: Fri Jul 12, 2019 12:43 pm
by McTurtle
Hello Eike,

I hold down "Ctrl" and then press "Tab" the required number of times to get to the correct tab and then release the "Ctrl" key. I think this is how the tab switching is designed. It works very well. Can you not do like this instead?

Regards,
McTurtle

Re: Ctrl - Tab

Posted: Tue Jul 16, 2019 8:52 am
by ahoisl
Weird enough, as a Ranorex developer I stumbled over this behavior just recently, too. It only happens if you press Ctrl+Tab really quickly, resulting in Ctrl being released before Tab. In other words, if you carefully press the keyboard shortcut, it works, but not if you just press it sloppily.

As all the common tools with tabs usually also handle the "sloppy" shortcut - and I got annoyed by Studio's behavior, too :wink: -, I added code to handle the fast Ctrl+Tab. The fix should be included in the next service/minor release (9.1.1 just got released, so the fix would be in 9.1.2 and 9.2.0).

Regards,
Alex
Ranorex Team

Re: Ctrl - Tab

Posted: Thu Jul 18, 2019 10:29 am
by Eike
ahoisl wrote:
Tue Jul 16, 2019 8:52 am
As all the common tools with tabs usually also handle the "sloppy" shortcut - and I got annoyed by Studio's behavior, too :wink: -, I added code to handle the fast Ctrl+Tab. The fix should be included in the next service/minor release (9.1.1 just got released, so the fix would be in 9.1.2 and 9.2.0).
I'm happy you were annoyed! ;)

Thanks!
Eike

Re: Ctrl - Tab

Posted: Fri Jul 19, 2019 8:10 am
by Eike
ahoisl wrote:
Tue Jul 16, 2019 8:52 am
Weird enough, as a Ranorex developer I stumbled over this behavior just recently, too. It only happens if you press Ctrl+Tab really quickly, resulting in Ctrl being released before Tab. In other words, if you carefully press the keyboard shortcut, it works, but not if you just press it sloppily.

As all the common tools with tabs usually also handle the "sloppy" shortcut - and I got annoyed by Studio's behavior, too :wink: -, I added code to handle the fast Ctrl+Tab. The fix should be included in the next service/minor release (9.1.1 just got released, so the fix would be in 9.1.2 and 9.2.0).
By the way...
Did you ever consider the annoyance of not being able to close some tabs by just clicking their "x", and instead have to open them, which makes them have an "x", and then be able to click it...?

Re: Ctrl - Tab

Posted: Fri Jul 19, 2019 9:03 am
by ahoisl
No, I have not considered this an annoyance, yet :D
Probably, because I use my mouse wheel to close tabs, i.e. by clicking the mouse wheel button on a tab header you can also close non-open tabs.

Adding an 'X' to every view is more like a feature request and might not be that easy, so please file a feature request on our uservoice page, thank you!
https://uservoice.ranorex.com/forums/15 ... ve-ranorex

Regards,
Alex
Ranorex Team

Re: Ctrl - Tab

Posted: Mon Aug 19, 2019 12:21 pm
by Eike
ahoisl wrote:
Fri Jul 19, 2019 9:03 am
Probably, because I use my mouse wheel to close tabs, i.e. by clicking the mouse wheel button on a tab header you can also close non-open tabs.
Thanks Alex, I got used to this in Ranorex...
... and Visual Studio, Firefox, Notepad++, ...