Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002580VCMIGUI - Otherpublic2016-10-23 15:492017-02-10 16:32
Assigned To 
PlatformMicrosoft WindowsOSWindows 7OS VersionHome Premium x64
Product Version0.99 
Target VersionFixed in Version 
Summary0002580: Fullscreen game window width is bigger than it should be
DescriptionWhen running game in fullscreen mode, mouse cursor can go far beyond right edge of the screen. When playing on 800x600 resolution, the effective resolution is 1067x600. When playing on 1024x768, resolution is around 1300x768.
Steps To ReproduceRun game in fullscreen move and move mouse as far as possible to the right side. When moving mouse back to the left side, cursor will go back after moving mouse far left, instead of immediately.
Additional InformationI added "logGlobal->warn(std::to_string(x) + " " + std::to_string(y));" at the end of CCursorHandler::cursorMove and confirmed that resolution is bigger than desired.
TagsNo tags attached.
Attached Files

- Relationships
related to 0002476assignedDydzio Adventure map scrolling doesn't work when moving mouse too fast to screen border 

-  Notes
vmarkovtsev (developer)
2016-10-23 18:22

This is Windows specific, no such problem on Linux and macOS.
SXX (developer)
2016-10-23 23:37

I think problem is really related to fact that we don't have actual modal fullscreen mode. All we have is windowed fullscreen and this means that cursor might go outside of window borders into "invisible area".

At least for me on Kubuntu 16.04 there actually extra free space in right and bottom part of screen so cursor can always be outside of visible area a bit.

There absolutely no reason to have modal fullscreen really, but then we need mouse lock so you wouldn't be able to get cursor outside. This should also fix game behaviour on Windows.
Dydzio (developer)
2017-02-10 16:32

I think we should allow modal fullscreen as option to choose for player. It fixes the problem completely. Opposite to SXX, I think there is no reason NOT to have modal fullscreen, while many modern games offer it.

Tested implementation: [^]

- Issue History
Date Modified Username Field Change
2016-10-23 15:49 Dydzio New Issue
2016-10-23 15:52 Dydzio Steps to Reproduce Updated View Revisions
2016-10-23 18:22 vmarkovtsev Note Added: 0006859
2016-10-23 23:34 SXX Relationship added related to 0002476
2016-10-23 23:37 SXX Note Added: 0006864
2017-02-10 16:32 Dydzio Note Added: 0006977

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker