- Posts: 35
- Thank you received: 0
GladeVCP and key behavior
- Jasper 3
- Topic Author
- Offline
- Junior Member
-
Less
More
2 years 10 months ago #288979
by Jasper 3
GladeVCP and key behavior was created by Jasper 3
Hey community,
first of all wish all of you a Merry Chrismast. image missing /media/kunena/emoticons/smile.png
Second is a problem I have with the GladeVCP and the axis screen. It occures when I have selected the gladepanel (after I enter values or have pressed a button).
Now when I jog the axis it didn't stop when i release the key. (Example arror right for x+ --> even when I release the key the axis didn't stop moving. When I hit another key it will stop).
That problem is only when the GladeVCP is selected. When click with my mouse on the original axis screen again, everything is back to normal.
I already read the abstract in the GladeVCP - that there can be a problem with the keyboard. But there was no solution.
Maybe some else has also this problem?
best regards
Jasper
first of all wish all of you a Merry Chrismast. image missing /media/kunena/emoticons/smile.png
Second is a problem I have with the GladeVCP and the axis screen. It occures when I have selected the gladepanel (after I enter values or have pressed a button).
Now when I jog the axis it didn't stop when i release the key. (Example arror right for x+ --> even when I release the key the axis didn't stop moving. When I hit another key it will stop).
That problem is only when the GladeVCP is selected. When click with my mouse on the original axis screen again, everything is back to normal.
I already read the abstract in the GladeVCP - that there can be a problem with the keyboard. But there was no solution.
Maybe some else has also this problem?
best regards
Jasper
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19311
- Thank you received: 4655
2 years 9 months ago #291183
by andypugh
Replied by andypugh on topic GladeVCP and key behavior
Deciding what UI element captures the keyboard events is a bit of a headache. What you seem to be seeing is the GkadeVCP panel getting the key-down event but not seeing the key-up.
I don't know any fixes, but a workaround is to only use incremental rather than continuous jogs.
Is there any indication that the GladeVCP window is losing focus when the problem occurs? Does clicking the mouse back on the GladeVCP window before releasing the key circumvent the problem? (I am suggesting this as a diagnostic, not a practical solution)
My own opinion is that keyboard jogging is inherently dangerous and should be discouraged. This is for the sorts of reasons that you are seeing (and even when working properly UI latency can come into play).
If there is any way to add jogwheels or a jog pendant (maybe even a cheap USB game controller) then your experience is likely to be more satisfactory.
I don't know any fixes, but a workaround is to only use incremental rather than continuous jogs.
Is there any indication that the GladeVCP window is losing focus when the problem occurs? Does clicking the mouse back on the GladeVCP window before releasing the key circumvent the problem? (I am suggesting this as a diagnostic, not a practical solution)
My own opinion is that keyboard jogging is inherently dangerous and should be discouraged. This is for the sorts of reasons that you are seeing (and even when working properly UI latency can come into play).
If there is any way to add jogwheels or a jog pendant (maybe even a cheap USB game controller) then your experience is likely to be more satisfactory.
Please Log in or Create an account to join the conversation.
- +Jan+
- Offline
- Senior Member
-
Less
More
- Posts: 63
- Thank you received: 17
1 week 1 day ago - 1 week 1 day ago #350451
by +Jan+
Replied by +Jan+ on topic GladeVCP and key behavior
I think I've found a solution to this odd behaviour:
Link to old topic...
I would be grateful if someone could test and
replicate the solution.
Best wishes, Jan
Link to old topic...
I would be grateful if someone could test and
replicate the solution.
Best wishes, Jan
Last edit: 1 week 1 day ago by +Jan+.
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.205 seconds