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 12 Sep 2013 09:22:10 PM UTC  
 
Category: client-gtk-3.0Severity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 11 Oct 2013 08:04:27 AM UTC, 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 11 Oct 2013 07:20:11 AM UTC, comment #1:

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

Rafał Mużyło <galtgendo>
Thu 12 Sep 2013 09:22:10 PM UTC, 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):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup