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

Bug #894312 reported by Pavol Kovalik on 2011-11-24
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Sikuli
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)

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

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) on 2011-12-02
summary: - Windows: Selecting text using SHIFT + HOME does not work
+ Windows: Selecting text using SHIFT + HOME does not work --- workaround
RaiMan (raimund-hocke) on 2011-12-02
description: updated
RaiMan (raimund-hocke) on 2012-11-02
Changed in sikuli:
status: New → In Progress
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke) on 2012-11-02
tags: added: fkt-type
RaiMan (raimund-hocke) on 2013-02-21
Changed in sikuli:
importance: Undecided → Medium
milestone: none → x1.0
RaiMan (raimund-hocke) on 2013-03-06
description: updated
RaiMan (raimund-hocke) on 2013-05-14
Changed in sikuli:
milestone: x1.0 → x1.1
RaiMan (raimund-hocke) on 2013-09-11
description: updated
RaiMan (raimund-hocke) on 2014-09-16
Changed in sikuli:
importance: Medium → High
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke) on 2019-07-09
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers