UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2516 Resolution error
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    User interface
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    4. Useful
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2516 Item 2516] imported from sourceforge.net tracker on 2013-01-28 19:39:33

Ubuntu 10.04 x64
Nvidia current video drive
revision29932
Error occupying in window mode.
After change resolution from low to high, only left top corner is available.
I just can't move cursor out of it (the blue part on screenshot).
On screenshot I change resolution from lowest (320x240) to high (960x540).
Screenshot and glxinfo output are in attachment.
===== Comments Ported from Sourceforge =====

====== amishaa (2010-05-14 22:28:07) ======

glxinfo
====== amishaa (2010-05-14 22:31:36) ======

screenshot in lower resolution.
====== amishaa (2010-05-14 22:33:16) ======

console log
====== tlh2000 (2010-06-08 20:19:48) ======

bayo this mgiht be related to the battlescape cursor bug
====== bayo-fr (2010-06-14 00:48:01) ======

It looks like a SDL bug. The mouse position send by SDL is wrong. It is the right mouse position but clamped according to the old window size. Maybe something is not updated on the SDL side.

Plus amishaa, mattn and me using the same OS and then maybe the same SDL package/version

But i dont know how can i check the game with another SDL version.
====== amishaa (2010-06-19 06:32:13) ======

In trunk this bug exists too.
====== tlh2000 (2010-06-19 06:45:32) ======

are you sure that viddef.rx and viddef.ry are correct? otherwise it maybe helps ungrabbing the mouse and grabbing it again. i saw a hack for this somewhere else afair

case SDL_MOUSEMOTION:
SDL_GetMouseState(&mousePosX, &mousePosY);
mousePosX /= viddef.rx;
mousePosY /= viddef.ry;
break;
====== amishaa (2010-06-19 07:23:53) ======

Where I can see viddefs?
All source files are up to day, I compile them after last update.
====== bayo-fr (2010-06-19 08:51:59) ======

@Mattn

You can check mouse value alfer
SDL_GetMouseState(&mousePosX, &mousePosY) call
It is already wrong.

I also check the "event" var, and it is also wrong. Then for me it is a SDL problem, and sure the bug exists in all UFO:AI versions while we use this SDL version.
====== tlh2000 (2010-08-27 09:55:36) ======

http://sourceforge.net/apps/trac/ufoai/changeset/31964

i hope this fixed it - feedback is welcome
====== amishaa (2010-08-27 15:24:25) ======

Fixed. Thank you.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif