Quote button has two states even though it's not stateful

Bug #899904 reported by David Macek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quote Text
Fix Released
Low
Cirroz

Bug Description

The Quote button has two states (pressed, not pressed) even though it doesn't work as a switch-button.

Revision history for this message
Cirroz (pomozoff-gmail) wrote :

Which DE do you use? Which linux distro? GTK2 or GTK3?
The plugin's working fine on GTK2.
Since I switched to OSX, I didn't tested the plugin with GTK3.
May be it needs some changes to support new GTK.

Revision history for this message
David Macek (david-macek-0) wrote :

DE?

My configuration:
Pidgin v2.10.0
Windows 7x64 Pro
GTK v2 (gtk2-runtime-2.16.6-2010-05-12-ash.exe from sf.net/projects/gtk-win/)

Also, now I found out that this only happens when the inserted text causes the button mouse cu

Revision history for this message
David Macek (david-macek-0) wrote :

DE?

My configuration:
Pidgin v2.10.0
Windows 7x64 Pro
GTK+ v2 (gtk2-runtime-2.16.6-2010-05-12-ash.exe from sf.net/projects/gtk-win/)

I completely forgot that I don't use the Pidgin's prepackaged GTK+. Ever since they stopped building a stand-alone installer, I moved to the gtk-win project. I may have a slightly weird installation of the libraries since I experimented with installing the v2.20 branch, which breaks drag-and-drop for Pidgin.

Also, now I found out that this only happens when the inserted text causes the button to jump away from under the mouse cursor (i.e. when the textbox expands and the mouse cursor wasn't pointing at the top of the button).

Revision history for this message
Cirroz (pomozoff-gmail) wrote :

> DE?

Desktop Environment - GNOME, XFCE, KDE

> Windows 7x64 Pro

Oh, I forgot the Windows, I see.

> Also, now I found out that this only happens when the inserted text causes the button to jump away from under the mouse cursor (i.e. when the textbox expands and the mouse cursor wasn't pointing at the top of the button).

I'm going to reproduce this behavior in this environment, but unfortunately, looks like I can't fix this bug, I think it's a GTK's "feature". I use GTK's API as is.

Revision history for this message
David Macek (david-macek-0) wrote :

I just noticed that the "Quote" button behaves differently from the other buttons on the toolbar. The other buttons wait with their actions once I stop holding the mouse button, but the Quote button reacts immediately after pressing the mouse button.

I guess this corresponds, in order, to Gtk's button-release-event and button-press-event signals. Could you try connecting the handler to the other signal to see if it helps? I'll gladly try any test builds on my system, if you need and don't have access to a Windows machine.

Revision history for this message
Cirroz (pomozoff-gmail) wrote :

Hello David,
I do not use Pidgin last time.
I will try to fix your issue in sources asap, but I can't build it.

Best Regards,
Anton.

Changed in quote:
assignee: nobody → Cirroz (pomozoff-gmail)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Cirroz (pomozoff-gmail) wrote :

Check Gihub for sources, please: https://github.com/pomozoff/quotetext

Revision history for this message
Cirroz (pomozoff-gmail) wrote :

Changed Gtk's signal to button-release-event
Thx to David Macek

Changed in quote:
status: In Progress → Fix Released
Revision history for this message
David Macek (david-macek-0) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.