bugFreeciv - Bugs: bug #21134, Gtk3: Centering from overview map...

Show feedback again

bug #21134: Gtk3: Centering from overview map moves twice the distance wanted

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Thu Sep 12 21:22:10 2013  
Category: client-gtk-3.0Severity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Fri Oct 11 08:04:27 2013, comment #2:

I think this to likely to be bug in gtk rather than freeciv. At one point I added logging to the very beginning of the butt_down_overviewcanvas() and it was often receiving multiple GDK_BUTTON_PRESS events for a single click, either immediately when button was pressed, and sometimes instead of GDK_BUTTON_RELEASE when button was released.

Marko Lindqvist <cazfi>
Project Administrator
Fri Oct 11 07:20:11 2013, comment #1:

Are there any special conditions involved, cause it seems I can't reproduce this behavior ?

Rafał Mużyło <galtgendo>
Thu Sep 12 21:22:10 2013, original submission:

It seems that both pressing the right-button and releasing it on overview map cause map to center. That's easy to observe by keeping button pressed for a second before releasing it, but even with fast click it results map moving twice the distance wanted - first it centers when button is pressed, thus leading pointer to be same distance over the original target tile, and then it centers to that wrong position when button is released.

Marko Lindqvist <cazfi>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

   task dependencies.


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup