The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Dwachs on October 20, 2013, 03:47:34 PM

Title: Minimap dragging broken
Post by: Dwachs on October 20, 2013, 03:47:34 PM
Dragging with right-mouse button clicked does not work properly. The minimap is not fully updated, produces strange artifacts, and thus is completely unusable. It worked up to r6829.
Title: Re: Minimap dragging broken
Post by: Ters on October 20, 2013, 04:10:09 PM
The only thing I notice is that you can drag outside the map to the right and down. Also some slight tearing, but that might be a general issue.
Title: Re: Minimap dragging broken
Post by: Yona-TYT on October 20, 2013, 06:17:30 PM
I have problems to capture the cursor with the right click

(http://img819.imageshack.us/img819/8959/xkg.gif)
Title: Re: Minimap dragging broken
Post by: prissi on October 20, 2013, 07:17:41 PM
I worked for me with GDI and SDL, with threads and without multithreads. Just the scrolling out of the window needs to be fixed.
Title: Re: Minimap dragging broken
Post by: Markohs on October 20, 2013, 08:51:49 PM
I can't reproduce any of the problems you describe. MSVC GDI.

@6842
Title: Re: Minimap dragging broken
Post by: TurfIt on October 20, 2013, 10:30:35 PM
Open the minimap.
Size the window so only the horizontal scroll bar is shown.
Use the horizontal scroll bar to scroll to the far right.
Resize the window to the right - wider.
Observe the right edge of the display where the vertical scroll bar is supposed to be - garbage.
Title: Re: Minimap dragging broken
Post by: Markohs on October 20, 2013, 11:37:36 PM
ooooh, I see, thx. :)

Seems unrelated to the siminteractive patch, it's related to the new GUI code?
Title: Re: Minimap dragging broken
Post by: Dwachs on October 21, 2013, 05:35:13 AM
yes, I tested: up to r6829 everything was normal. Later versions do not work (if they compile)
Title: Re: Minimap dragging broken
Post by: prissi on October 21, 2013, 10:30:33 AM
Should work again with 6843
Title: Re: Minimap dragging broken
Post by: Dwachs on October 21, 2013, 03:58:40 PM
thank you