MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002476VCMIGUI - Adventure Mappublic2016-09-14 21:262017-05-02 08:26
ReporterDydzio 
Assigned ToDydzio 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformMicrosoft WindowsOSWindows 7OS VersionHome Premium x64
Product Version0.98g 
Target VersionFixed in Version1.next 
Summary0002476: Adventure map scrolling doesn't work when moving mouse too fast to screen border
DescriptionI play VCMI in fullscreen mode. If I move mouse too fast towards left or upper screen border (edge of game window) then adventure map may not scroll, even though cursor is at border of the game window. When moving mouse slowly then scroll is much more likely to work correctly.
Steps To Reproduce1. Run VCMI
2. Start a map, and during adventure screen move cursor really fast towards left or upper edge of the screen.
3. When repeating above step map scrolling often does not work, while cursor is at the edge of the screen.
TagsNo tags attached.
Attached Files

- Relationships
related to 0002580resolvedIvan Fullscreen game window width is bigger than it should be 

-  Notes
(0006865)
SXX (administrator)
2016-10-23 21:38

Confirm this on Linux. It's related to another bug you posted.
(0007009)
Dydzio (developer)
2017-03-26 20:32
edited on: 2017-03-27 22:04

Fixed in: https://github.com/vcmi/vcmi/pull/294 [^]

Bug source is in CGuiHandler::handleMoveInterested.

For 800x600 resolution and testing X coordinate: isItIn(&(elem)->pos, motion.x, motion.y) returns false when x is 0

reason: isItIn checks bounds excluding borders of rectangle... rectangle parameters passed (initialized in CAdvMapInt constructor) are x = 0, x+width = 800

input that returns true is X in range from 1 to 799, desired is from 0 to 799


- Issue History
Date Modified Username Field Change
2016-09-14 21:26 Dydzio New Issue
2016-10-18 09:51 Dydzio Description Updated View Revisions
2016-10-18 09:51 Dydzio Steps to Reproduce Updated View Revisions
2016-10-23 21:34 SXX Relationship added related to 0002580
2016-10-23 21:38 SXX Note Added: 0006865
2017-03-26 20:28 Dydzio Assigned To => Dydzio
2017-03-26 20:28 Dydzio Status new => assigned
2017-03-26 20:32 Dydzio Note Added: 0007009
2017-03-27 22:03 Dydzio Note Edited: 0007009 View Revisions
2017-03-27 22:04 Dydzio Note Edited: 0007009 View Revisions
2017-05-02 08:24 Dydzio Status assigned => resolved
2017-05-02 08:24 Dydzio Resolution open => fixed
2017-05-02 08:26 Dydzio Fixed in Version => 1.next

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean