BUG: Home/End keys jump outside selected field

Bug reports.
krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

BUG: Home/End keys jump outside selected field

Post by krstcs » Mon Apr 07, 2014 9:35 pm

Ranorex 5.0.1
Windows 7 Pro

Pressing the Home or End keys while inside an edit field in a table jumps to the first/last column in the table instead of putting the edit cursor at the start/end of the selected field.

For example, while editing the default values of some variables, I clicked in the value field and hit Home, expecting the cursor to jump to the start of the value field, but instead the field was unselected and the 1st column in the table was selected.

Home/End should respect the selection of fields in all areas, so if the cursor is inside a field, Home/End should not jump out of that field.
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: BUG: Home/End keys jump outside selected field

Post by Support Team » Wed Apr 09, 2014 4:19 pm

Hi krstcs,

To which control do you refer to, to our variables windows in Ranorex Studio?
When I click in the text field to edit the text and then press home it jumps to the start position of the text field. The text filed needs to be in edit mode before the home key will work as desired.

Regards,
Markus
.
Image

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: BUG: Home/End keys jump outside selected field

Post by krstcs » Wed Apr 09, 2014 5:01 pm

Markus, I'm in the middle of reinstalling due to other issues, so it might be the my install was invalid, so let me get back to you.

However, I was in edit mode in the variables window on the default data column when I noticed this.

Anyway, let me see how it is after the re-install.
Shortcuts usually aren't...

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: BUG: Home/End keys jump outside selected field

Post by krstcs » Wed Apr 09, 2014 5:14 pm

OK, so this is still an issue, and it is a bug, not a problem with my install.

The problem is that it happens only if, while in edit mode, you select all of the text.

So, in edit mode, do a ctrl-A to select all of the text in the edit area (notice this just selects the text, not the whole field), then hit HOME. Instead of un-selecting the text and moving the cursor to the beginning, it will select the first column, as if you were not in edit mode.

Selecting just a portion of the text works as expected, the cursor will move to the start of the field, and the text will be un-selected.

Selecting ALL of the text works as if the FIELD was selected, but it shouldn't.
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: BUG: Home/End keys jump outside selected field

Post by Support Team » Fri Apr 11, 2014 11:08 am

Hi,

Thanks for reporting this issue!
I already forwarded it.

Regards,
Markus
.
Image