[check] Windows: Selecting text using SHIFT + HOME does not work --- workaround

Bug #894312 reported by Pavol Kovalik
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

**** workaround
from https://launchpad.net/~ketankalia (comment #2)

Apparently for the moment num lock has to be turned off for SHIFT+HOME to work.

Use Sikuli's NumLock check feature (http://sikuli.org/docx/globals.html#Env.isLockOn) and type(Key.NUM_LOCK), to handle it programmatically.

problem with Env.isLockOn() !!
-----------------------------------------------------------------------------

This bug seems to be related: bug 985395

---------------------------------------------

Version 1.0rc3 (r905)
OS: Windows 7 64

I'm trying to select text using SHIFT + direction key, e.g. UP, DOWN, HOME, END and so on (and then copy content to clipboards).
The sikuli will just move the cursor to desired position, without selecting/highlighting the text.
Example:

#open a text editor
type("foo")
type(Key.HOME)
type(Key.END, KeyModifier.SHIFT)

Tags: fkt-type
Revision history for this message
RaiMan (raimund-hocke) wrote :

confirmed, does not work on Windows (tested in Win7 32).

Every action together with the shift-key does not trigger the selection, when simulated with Sikuli.
This is so for every GUI element, that is editable.

This works on Mac.

So this is not really a Sikuli problem, but a problem of the used Java features together with the Windows GUI.

Since I have no idea for a workaround, feel free to post a bug.

summary: - Selecting text using SHIFT + HOME does not work
+ Windows: Selecting text using SHIFT + HOME does not work
Revision history for this message
Ketan Kalia (ketankalia) wrote : Re: Windows: Selecting text using SHIFT + HOME does not work

U may see this post-
https://answers.launchpad.net/sikuli/+question/100368

Apparently for the moment num lock has to be turned off for SHIFT+HOME to work.
I have tested it and seems fine by me.

RaiMan (raimund-hocke)
summary: - Windows: Selecting text using SHIFT + HOME does not work
+ Windows: Selecting text using SHIFT + HOME does not work --- workaround
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke)
tags: added: fkt-type
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → Medium
milestone: none → x1.0
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: x1.0 → x1.1
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Medium → High
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke)
summary: - Windows: Selecting text using SHIFT + HOME does not work --- workaround
+ [1.1.4] Windows: Selecting text using SHIFT + HOME does not work ---
+ workaround
Changed in sikuli:
importance: High → Medium
milestone: 2.0.0 → 1.1.4
RaiMan (raimund-hocke)
summary: - [1.1.4] Windows: Selecting text using SHIFT + HOME does not work ---
+ [check] Windows: Selecting text using SHIFT + HOME does not work ---
workaround
Changed in sikuli:
milestone: 1.1.4 → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.