Comment 6 for bug 1386200

Revision history for this message
bobbinyolk (regs-i) wrote : Re: [Bug 1386200] Re: middle click on dock task bar icon open app twice

output of gtk-click:
Hello World
Click: button 1, type 4, state 16, time 10844528, event 0, x 37,395569,
y 8,311096
Hello World
Click: button 1, type 7, state 272, time 10844671, event 0, x 37,395569,
y 8,311096
Hello World
Click: button 1, type 4, state 16, time 10853624, event 0, x 35,395569,
y 14,311096
Hello World
Click: button 1, type 7, state 272, time 10853799, event 0, x 35,395569,
y 14,311096
Hello World
Click: button 2, type 4, state 16, time 10874416, event 0, x 29,646301,
y 13,653229
Hello World
Click: button 2, type 7, state 528, time 10874576, event 0, x 29,646301,
y 13,653229
Hello World
Click: button 3, type 4, state 16, time 10883880, event 0, x 23,646301,
y 16,653229
Hello World
Click: button 3, type 7, state 1040, time 10884632, event 0, x
23,646301, y 16,653229

About the dead gui, I cannot reproduce it. When I run cairo-dock it just
sometimes happens. No specific action or sequence of actions springs to
mind. That doesn't mean there isn't such a thing, but you have to have
some inkling to start finding it.

I'm using openSUSE and no ArchLinux. I'll compile cairo-dock from source
again, remove all the current configuration and try and see first of all
if the middle-click issue still exists. But that may happen sometime
next week at the soonest.

I've been looking at the existing documentation, but I sorely miss a
picture of how all classes hang together. When I design software that is
the first thing I make. If only to verify the correctness of the
entities and also later to know where to program what functionality.

Op 06-08-15 om 21:42 schreef Matthieu Baerts:
>> I tried looking in the source, but without any documentation of
> specifically the class structure I made very little headway.
>
> Feel free to have a look to the wiki or http://doc.glx-dock.org ;-)
>
>> Since nobody else seemed interested in even looking at it
> It seems not all users have these bugs. This part of the code has not been modified recently and the middle click is managed just like the right and left clicks. I don't know why you have this bug only with the middle click. I'm suspecting a bug with GTK... And the middle click is not really used in many other applications.
> Are you also using ArchLinux?
>
>> It seems, that sometimes cairo-dock receives messages and forgets to
> pass them on to other listeners.
>
> Seems strange. The dock should not block other listeners. You could
> maybe have conflicts with other taskbar but not sure that you will see
> them. Do you have concrete examples of these bugs?
>
>> I tried your gtk-click. When I double-click I get the message box. But
> not when I single-click, middle-click or right-click.
>
> Can you launch it from the terminal? After a right/left/middle/...
> click, you should see 4 lines like that:
>
> Hello World
> Click: button 2, type 4, state 16, time 12871105, event 0, x 22,429199, y 15,421783
> Hello World
> Click: button 2, type 7, state 528, time 12871205, event 0, x 22,429199, y 15,421783
>
> The dock is using the same signals as this gtk-click program. Button 2 =
> middle click ; type 4 = pressed ; type 7 = released.
>