[MSEide-MSEgui-talk] bug: mouse selection in editor stops

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MSEide-MSEgui-talk] bug: mouse selection in editor stops

Graeme Geldenhuys
Hi,

I not sure, but I consider it a bug.  When I select text with the mouse
in the source editor... The selection works perfectly as long as I keep
the mouse pointer inside the source editor. If the mouse pointer moves
into the editor gutter (where the line numbers are) or outside the
editor, then the selection stops at the point where the mouse left the
source editor widget.

In any other editors I often select a couple of lines with a mouse swipe
action (in a NW direction), but in MSEide I can't do that. I always have
to select lines only in the N or S directions to make sure the mouse
pointer doesn't leave the editor widget.

It seems that MouseCapture is not triggered or something, so the mouse
events don't get sent back to the editor.

Oh, and my editor is docked with the main IDE window - not sure if that
is relevant.

Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

fredvs
Hello Graeme.

Here video of what appends on Linux Debian 9.8 64 bit:

msede_selectmouse.mp4
<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msede_selectmouse.mp4>  

But maybe (surely)  I miss something.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

Graeme Geldenhuys
On 24/04/2019 11:50, fredvs wrote:
> But maybe (surely)  I miss something.

Yes - I thought it would be difficult to explain. Initially I tried to
record what I mean as an animated GIF, but the software doesn't record
the mouse cursor - so it was a bit useless for the purpose.

Anyway, watch from 0:03 to 0:05 in the video. Note how you moved the
mouse pointer outside the main source editor (over the gutter) and the
selection did not follow the mouse. All other editors capture the mouse
event on mouse down so that while the mouse moves, event are still sent
back to the original widget.

I've recorded another video which clearly shows the difference. Note
that once the selection starts, the left mouse button is kept down (not
obvious in the video) while I move the mouse around - even outside the
original source editor widget.


   http://geldenhuys.co.uk/~graemeg/videos/mseide_selection.ogv


In MSEide, as soon as the mouse cursor is outside the source editor, the
selection stops moving.


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

fredvs
OK, I see now.

I will jump into it asap.

Fre;D


De : Graeme Geldenhuys <[hidden email]>
Envoyé : mercredi 24 avril 2019 13:40
À : [hidden email]
Objet : Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops
 
On 24/04/2019 11:50, fredvs wrote:
> But maybe (surely)  I miss something.

Yes - I thought it would be difficult to explain. Initially I tried to
record what I mean as an animated GIF, but the software doesn't record
the mouse cursor - so it was a bit useless for the purpose.

Anyway, watch from 0:03 to 0:05 in the video. Note how you moved the
mouse pointer outside the main source editor (over the gutter) and the
selection did not follow the mouse. All other editors capture the mouse
event on mouse down so that while the mouse moves, event are still sent
back to the original widget.

I've recorded another video which clearly shows the difference. Note
that once the selection starts, the left mouse button is kept down (not
obvious in the video) while I move the mouse around - even outside the
original source editor widget.


   http://geldenhuys.co.uk/~graemeg/videos/mseide_selection.ogv


In MSEide, as soon as the mouse cursor is outside the source editor, the
selection stops moving.


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

fredvs
In reply to this post by Graeme Geldenhuys
> Initially I tried to record what I mean as an animated GIF, but the software doesn't record
> the mouse cursor - so it was a bit useless for the purpose.

sudo apt-get install simplescreenrecorder



_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

Graeme Geldenhuys
In reply to this post by fredvs
On 24/04/2019 13:30, Fred van Stappen wrote:
> I will jump into it asap.

No rush - take your time. I just thought I would mention it.


Regards,
  Graeme



_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

Graeme Geldenhuys
In reply to this post by fredvs
On 24/04/2019 13:38, Fred van Stappen wrote:
> $ sudo apt-get install simplescreenrecorder

:-) Yup, that's the one I used in the end.


Regards,
  Graeme



_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk