MantisBT - Soldat
View Issue Details
0000147SoldatJohnpublic2012-01-04 04:272014-01-01 18:07
Mr 
Shoozza 
highmajoralways
closedfixed 
x64Windows7 SP1
 
1.6.3 
0000147: Mouse moves in background, causing unwanted behaviour
While aiming ingame, the cursor is moved aswell and thereby selects objects on the desktop (although one can not click objects because of the DirectInput lock). While this is not a problem on Windows XP, it can cause unwanted behaviour on systems like Windows 7.
1) Start Soldat in windowed mode on Windows 7
2) Move the mouse until you hit the taskbar. Note that this can be very random as the mouse behaves differently while DirectInput is active.

When hovering over an aero peek preview or the 'show desktop' button, Windows makes Soldat's window transparent.

If Soldat is started in fullscreen mode and multiple monitors are connected, Soldat sometimes minimizes when clicking while the mouse is off the screen Soldat is on.
Suggested fix:
Clip the cursor to Soldat's window while DirectInput is active, unclip when deactivating DirectInput (see GetWindowRect and ClipCursor on MSDN).
No tags attached.
Issue History
2012-01-04 04:27MrNew Issue
2012-01-04 11:00ShoozzaNote Added: 0001293
2012-01-04 11:00ShoozzaStatusnew => resolved
2012-01-04 11:00ShoozzaFixed in Version => 1.6.3
2012-01-04 11:00ShoozzaResolutionopen => fixed
2012-01-04 11:00ShoozzaAssigned To => Shoozza
2012-05-17 01:36ShoozzaAssigned ToShoozza =>
2012-05-17 01:36ShoozzaNote Added: 0001498
2012-05-17 01:36ShoozzaStatusresolved => feedback
2012-05-17 01:36ShoozzaResolutionfixed => reopened
2012-05-17 01:39BistouflyNote Added: 0001499
2012-05-17 01:40BistouflyNote Edited: 0001499bug_revision_view_page.php?bugnote_id=1499#r145
2012-05-29 20:58MrNote Added: 0001536
2012-05-29 20:58MrStatusfeedback => new
2012-10-06 20:39ShoozzaNote Added: 0001597
2012-10-06 20:39ShoozzaStatusnew => resolved
2012-10-06 20:39ShoozzaResolutionreopened => fixed
2012-10-06 20:39ShoozzaAssigned To => Shoozza
2014-01-01 18:07homerofgodsStatusresolved => closed
2020-08-27 11:23MMCategoryGUI => John

Notes
(0001293)
Shoozza   
2012-01-04 11:00   
Fixed cursor isn't clipped to window when playing
(0001498)
Shoozza   
2012-05-17 01:36   
Seems like in 1.6.3 there are still issues please elaborate.
(0001499)
Bistoufly   
2012-05-17 01:39   
(edited on: 2012-05-17 01:40)
Issue still happening sometimes to me in 1.6.3.

Win7 x64
Playing windowed 640x480, 0 re-size on a 640x480 desktop with auto-hide taskbar.

Sometimes moving the soldat cursor to the lower edge triggers the taskbar to un-hide.

(0001536)
Mr   
2012-05-29 20:58   
Please open a new report for this, got an open report for something that is solved for me ;)
(0001597)
Shoozza   
2012-10-06 20:39   
Like Mr said open a new bugreport.