Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-05

Lazarus on gtk2 double double-click (and SourceEditor select-word failure)

22 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Flávio Etrusco

Hi all,
I just wanted to know whether anybody using the Lazarus gtk2 "flavor" (any recent 0.9.27) is experiencing a problem with double-clicks on the source editor just selecting to the beginning of the word but not to the end/right?

Best regards,
Fl?vio

Reply by email

Mattias Gaertner
to Flávio Etrusco
Show quoted text 5 lines
Hi all, I just wanted to know whether anybody using the Lazarus gtk2 "flavor" (any recent 0.9.27) is experiencing a problem with double-clicks on the source editor just selecting to the beginning of the word but not to the end/right?

It works here.

Mattias

Reply by email

Martin Friebe
to Flávio Etrusco: I just wanted to know whether anybody using the Lazarus gtk2 "flavor" (any recent 0.9.27)…

Check if your mouse moves?

It works fine for me, except if I move the mouse between the 2 clicks.

Fl?vio Etrusco wrote 14 lines
Hi all, I just wanted to know whether anybody using the Lazarus gtk2 "flavor" (any recent 0.9.27) is experiencing a problem with double-clicks on the source editor just selecting to the beginning of the word but not to the end/right? Best regards, Fl?vio _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Martin Friebe
to Martin Friebe

More details, try this:

-Doubleclick, but on the 2nd click keep the left button down / do not releas it.
- Now move the mouse

=> Windows, is fine, the current word stays selected, the mouse-move does nothing
=> GTK2 the mouse move acts as if there had be no doubleclick => The selection-end is following the mouse

The most likely cause is that the order of events differs (between mousedown and doubleclick)

Martin Friebe wrote 24 lines
Check if your mouse moves? It works fine for me, except if I move the mouse between the 2 clicks. Fl?vio Etrusco wrote: > Hi all, > I just wanted to know whether anybody using the Lazarus gtk2 "flavor" > (any recent 0.9.27) is experiencing a problem with double-clicks on > the source editor just selecting to the beginning of the word but not > to the end/right? > > Best regards, > Fl?vio > > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Flávio Etrusco
to Martin Friebe
Show quoted text 5 lines
Martin Friebe wrote: > > Check if your mouse moves? > > It works fine for me, except if I move the mouse between the 2 clicks.

I didn't understand this part, but...

Show quoted text 11 lines
-Doubleclick, but on the 2nd click keep the left button down / do not releas it. - Now move the mouse => Windows, is fine, the current word stays selected, the mouse-move does nothing => GTK2 the mouse move acts as if there had be no doubleclick => The selection-end is following the mouse The most likely cause is that the order of events differs (between mousedown and doubleclick)

... this lead to the answer :) Thanks!
The behavior was almost like you said, except the word was selected then partially de-selected, because the double-click event was triggered twice (without a mouseup/release in between). I hadn't previously thought it could be hardware-related since it's working fine on Windows, but it was indeed caused by a USB hub in the way :-/

Can someone please close the issue I registered?
http://bugs.freepascal.org/view.php?id=13860

Many thanks Martin and Mattias!

Best regards,
Fl?vio

Reply by email

C Western
to Flávio Etrusco: I just wanted to know whether anybody using the Lazarus gtk2 "flavor" (any recent 0.9.27)…
Fl?vio Etrusco wrote 8 lines
Hi all, I just wanted to know whether anybody using the Lazarus gtk2 "flavor" (any recent 0.9.27) is experiencing a problem with double-clicks on the source editor just selecting to the beginning of the word but not to the end/right? Best regards, Fl?vio

I also have this problem. In fact I have two mice connected to my computer, and I see the effect with one (a wacom tablet mouse that I prefer) but not the other (a more standard mouse). This behaviour started relatively recently, so it suggestes the gtk2 routines are more sensitive than they should be to the order of events.

Colin

Reply by email

Martin Friebe
to C Western

Actually probably not order of events, check if it has anything to do with mouse movement.
There seems another issue that causes mouse move to be accepted (where it should not)

use your normal mouse (or the pen, but ensure, you do not move / not even a single pixel)

- doubleclick, and keep the 2nd click (do not release the mouse button).
- now move the mouse, It acts like it was a single click (extending or shrinking the selected area to follow the mouse)

C Western wrote 22 lines
On 30/05/09 11:09, Fl?vio Etrusco wrote: > Hi all, > I just wanted to know whether anybody using the Lazarus gtk2 "flavor" > (any recent 0.9.27) is experiencing a problem with double-clicks on > the source editor just selecting to the beginning of the word but not > to the end/right? > > Best regards, > Fl?vio I also have this problem. In fact I have two mice connected to my computer, and I see the effect with one (a wacom tablet mouse that I prefer) but not the other (a more standard mouse). This behaviour started relatively recently, so it suggestes the gtk2 routines are more sensitive than they should be to the order of events. Colin _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

C Western
to Martin Friebe

I am fairly sure that I am not moving the mouse with the double click - the cursor doesn't move, and I would expect double click to work some of the time if this was the issue. You are right about it being related to mouse movement - if I move the working mouse too much duing the double click it gives the partial word selection. (Note that I am comparing two mice, one of them from Wacom. A pen is indeed very difficult to double click with.)

Colin

Martin Friebe wrote 40 lines
Actually probably not order of events, check if it has anything to do with mouse movement. There seems another issue that causes mouse move to be accepted (where it should not) use your normal mouse (or the pen, but ensure, you do not move / not even a single pixel) - doubleclick, and keep the 2nd click (do not release the mouse button). - now move the mouse, It acts like it was a single click (extending or shrinking the selected area to follow the mouse) C Western wrote: > On 30/05/09 11:09, Fl?vio Etrusco wrote: >> Hi all, >> I just wanted to know whether anybody using the Lazarus gtk2 "flavor" >> (any recent 0.9.27) is experiencing a problem with double-clicks on >> the source editor just selecting to the beginning of the word but not >> to the end/right? >> >> Best regards, >> Fl?vio > > I also have this problem. In fact I have two mice connected to my > computer, and I see the effect with one (a wacom tablet mouse that I > prefer) but not the other (a more standard mouse). This behaviour > started relatively recently, so it suggestes the gtk2 routines are > more sensitive than they should be to the order of events. > > Colin > > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

C Western
to C Western

This now works properly for me with both my mice. Thanks to somebody!

Colin

C Western wrote 57 lines
I am fairly sure that I am not moving the mouse with the double click - the cursor doesn't move, and I would expect double click to work some of the time if this was the issue. You are right about it being related to mouse movement - if I move the working mouse too much duing the double click it gives the partial word selection. (Note that I am comparing two mice, one of them from Wacom. A pen is indeed very difficult to double click with.) Colin On 31/05/09 10:49, Martin Friebe wrote: > Actually probably not order of events, check if it has anything to do > with mouse movement. > There seems another issue that causes mouse move to be accepted (where > it should not) > > use your normal mouse (or the pen, but ensure, you do not move / not > even a single pixel) > > - doubleclick, and keep the 2nd click (do not release the mouse button). > - now move the mouse, It acts like it was a single click (extending or > shrinking the selected area to follow the mouse) > > C Western wrote: >> On 30/05/09 11:09, Fl?vio Etrusco wrote: >>> Hi all, >>> I just wanted to know whether anybody using the Lazarus gtk2 "flavor" >>> (any recent 0.9.27) is experiencing a problem with double-clicks on >>> the source editor just selecting to the beginning of the word but not >>> to the end/right? >>> >>> Best regards, >>> Fl?vio >> >> I also have this problem. In fact I have two mice connected to my >> computer, and I see the effect with one (a wacom tablet mouse that I >> prefer) but not the other (a more standard mouse). This behaviour >> started relatively recently, so it suggestes the gtk2 routines are >> more sensitive than they should be to the order of events. >> >> Colin >> >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Martin Friebe
to C Western
C Western wrote
This now works properly for me with both my mice. Thanks to somebody!

A side effect of the new Mouse configurations....

Show quoted text 68 lines
Colin On 31/05/09 19:35, C Western wrote: > I am fairly sure that I am not moving the mouse with the double click - > the cursor doesn't move, and I would expect double click to work some of > the time if this was the issue. You are right about it being related to > mouse movement - if I move the working mouse too much duing the double > click it gives the partial word selection. (Note that I am comparing two > mice, one of them from Wacom. A pen is indeed very difficult to double > click with.) > > Colin > > On 31/05/09 10:49, Martin Friebe wrote: >> Actually probably not order of events, check if it has anything to do >> with mouse movement. >> There seems another issue that causes mouse move to be accepted (where >> it should not) >> >> use your normal mouse (or the pen, but ensure, you do not move / not >> even a single pixel) >> >> - doubleclick, and keep the 2nd click (do not release the mouse >> button). >> - now move the mouse, It acts like it was a single click (extending or >> shrinking the selected area to follow the mouse) >> >> C Western wrote: >>> On 30/05/09 11:09, Fl?vio Etrusco wrote: >>>> Hi all, >>>> I just wanted to know whether anybody using the Lazarus gtk2 "flavor" >>>> (any recent 0.9.27) is experiencing a problem with double-clicks on >>>> the source editor just selecting to the beginning of the word but not >>>> to the end/right? >>>> >>>> Best regards, >>>> Fl?vio >>> >>> I also have this problem. In fact I have two mice connected to my >>> computer, and I see the effect with one (a wacom tablet mouse that I >>> prefer) but not the other (a more standard mouse). This behaviour >>> started relatively recently, so it suggestes the gtk2 routines are >>> more sensitive than they should be to the order of events. >>> >>> Colin >>> >>> _______________________________________________ >>> Lazarus mailing list >>> >>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to Martin Friebe

At least we know where we can find more info about this list. :-)

Please, trim the footer before sending a reply.

Vincent

Show quoted text 27 lines
>>>> >>>> _______________________________________________ >>>> Lazarus mailing list >>>> >>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>> >>> _______________________________________________ >>> Lazarus mailing list >>> >>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >> >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Paul Ishenin
to Vincent Snijders
Vincent Snijders wrote
Please, trim the footer before sending a reply.

I ask to trim all unrelated to answer parts. Any who want to look at the previos mail can do this using mail list archives or in the mail program.

Best regards,
Paul Ishenin.

Reply by email

Vincent Snijders
to Paul Ishenin
Paul Ishenin wrote 7 lines
Vincent Snijders wrote: > Please, trim the footer before sending a reply. I ask to trim all unrelated to answer parts. Any who want to look at the previos mail can do this using mail list archives or in the mail program.

Right, I should have said: Please, trim at least the footer, and while are trimming a message, trim the irrelevant parts of the message too.

Vincent

Reply by email

Martin Friebe
to Vincent Snijders
Vincent Snijders wrote 8 lines
Paul Ishenin schreef: > I ask to trim all unrelated to answer parts. Any who want to look at > the previos mail can do this using mail list archives or in the mail > program. > Right, I should have said: Please, trim at least the footer, and while are trimming a message, trim the irrelevant parts of the message too.

Maybe (just an idea) the footer can start with the "-- " line that is common for sigs? Most mailers will cut it anyway then.

Martin

Reply by email

Graeme Geldenhuys
to Vincent Snijders: At least we know where we can find more info about this list. :-) Please, trim the footer…

2009/6/5 Vincent Snijders :

Please, trim the footer before sending a reply.

Not just that, trim ALL irrelevant parts of a message. That message consisted of 78 lines of text. The actual reply was only 1 line. So that was quoting 77 lines our of 78. Very unnecessary!! Like Vincent many people before said - if somebody else wanted to read the history of the thread, they can use there email clients or the mailing list archive.

I you guys don't know how to reply to emails, please read many of the email etiquettes available on the internet. Google is your friend.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Luca Olivetti
to Vincent Snijders

En/na Vincent Snijders ha escrit:

Show quoted text 8 lines
> Maybe (just an idea) the footer can start with the "-- " line that is > common for sigs? Most mailers will cut it anyway then. I am not sure it would help, but we can experiment a bit. Vincent --

It has to be two dashes and a space.
Nothing more, nothing less

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 (Ext.133) Fax +34 93 5883007

Reply by email

Graeme Geldenhuys
to Luca Olivetti

Luca, I pressed reply on your latest email, and below is the qouted email. So at least when it comes to Gmail, it does not trim footers / signatures that start with "-- ". The only thing it does do is fold/hide the quoted text at random locations (I can't figure out the exact rule used).

===============================================
2009/6/5 Luca Olivetti :

Show quoted text 25 lines
En/na Vincent Snijders ha escrit: >> >> Maybe (just an idea) the footer can start with the "-- " line that is >> common for sigs? Most mailers will cut it anyway then. > > I am not sure it would help, but we can experiment a bit. > > Vincent > > -- It has to be two dashes and a space. Nothing more, nothing less -- Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 (Ext.133) ?Fax +34 93 5883007 -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

===============================================

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Luca Olivetti
to Graeme Geldenhuys: Luca, I pressed reply on your latest email, and below is the qouted email. So at least…

En/na Graeme Geldenhuys ha escrit:

Show quoted text 5 lines
Luca, I pressed reply on your latest email, and below is the qouted email. So at least when it comes to Gmail, it does not trim footers / signatures that start with "-- ". The only thing it does do is fold/hide the quoted text at random locations (I can't figure out the exact rule used).

That's (yet another) gmail fault.
Thunderbird trims everything after the "-- "

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 (Ext.133) Fax +34 93 5883007

Reply by email