Opened 9 years ago

Closed 9 years ago

#3279 closed defect (needsinfo)

Cursor has wrong hotspot (Alpha 18)

Reported by: mifritscher Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Under Windows (Vista, 32 bit), the hotspot of the mouse cursor is wrong. It seems to be somewhere in the middle, but should be in the upper left corner. Because of this it is annoying to navigate through menus, select units etc. This problem does not happen under Ubuntu (14.04, 64 bit)

Attachments (5)

system_info.txt (7.4 KB ) - added by mifritscher 9 years ago.
system_info.txt
crashlog.txt (8.4 KB ) - added by mifritscher 9 years ago.
crashlog.dmp (70.2 KB ) - added by mifritscher 9 years ago.
mainlog.html (38.6 KB ) - added by mifritscher 9 years ago.
interestinglog.html (652 bytes ) - added by mifritscher 9 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 by elexis, 9 years ago

Maybe related or identical to #2851.

comment:2 by mifritscher, 9 years ago

Could be, but it is much more than 3 px - it seems to be rather in the lower left or right corner.

comment:3 by historic_bruno, 9 years ago

Is it the same in fullscreen or windowed mode (Alt+Enter)? Do you have a multimonitor setup? Is your task bar an unusual position or size (not the bottom of the screen)?

Please upload your system_info.txt from the game's log folder, see GameDataPaths.

by mifritscher, 9 years ago

Attachment: system_info.txt added

system_info.txt

by mifritscher, 9 years ago

Attachment: crashlog.txt added

by mifritscher, 9 years ago

Attachment: crashlog.dmp added

by mifritscher, 9 years ago

Attachment: mainlog.html added

by mifritscher, 9 years ago

Attachment: interestinglog.html added

comment:4 by mifritscher, 9 years ago

Fullscreen + only one screen. Taskbar is at normal position + size. Files are attached. Interesting is the resolution in the system_info.txt as I have 1400x1050 as resolution...

Additionally, the game crashed every time I exited from a running game - don't know whether is related to. Anyway I've attached the logs.

comment:5 by historic_bruno, 9 years ago

That's an interesting resolution, can you try some others and see if the problem persists?


The crash isn't necessarily related, it's from your Intel graphics driver, when the game's water is cleaned up. The strange thing is that the GPU claims to support OpenGL 2.0 and FBOs, which apparently was added in version 15.11.3.1576 drivers, but that series originally only supported 1.5 (no shaders). I wonder if it has a buggy or incomplete implementation of FBOs...

Perhaps you can check for newer Intel drivers?

> 	ig4icd32.dll!12d9c7a7() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for ig4icd32.dll]	
 	pyrogenesis.exe!WaterManager::UnloadWaterTextures()  Line 424 + 0xf bytes	C++
 	pyrogenesis.exe!CGameView::`scalar deleting destructor'()  + 0x3c bytes	C++
 	pyrogenesis.exe!CGame::~CGame()  Line 101	C++
 	pyrogenesis.exe!EndGame()  Line 688 + 0x1b bytes	C++
	pyrogenesis.exe!ScriptInterface::call<void,&`anonymous namespace'::Script_EndGame>(JSContext * cx=0x21d17cd8, unsigned int argc=0, JS::Value * vp=0x10a341c0)  Line 113 + 0x1d8 bytes	C++
 	mozjs31-ps-release.dll!js::Invoke(JSContext * cx=0x21d17cd8, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 468 + 0x21 bytes	C++
 	mozjs31-ps-release.dll!Interpret(JSContext * cx=0x10a341d0, js::RunState & state={...})  Line 2620 + 0x16 bytes	C++
 	mozjs31-ps-release.dll!js::RunScript(JSContext * cx=0x21d17cd8, js::RunState & state={...})  Line 422 + 0x7 bytes	C++
 	mozjs31-ps-release.dll!js::Invoke(JSContext * cx=0x21d17cd8, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 497	C++
 	mozjs31-ps-release.dll!js::Invoke(JSContext * cx=0x21d17cd8, const JS::Value & thisv={...}, const JS::Value & fval={...}, unsigned int argc=1, const JS::Value * argv=0x0029e5c4, JS::MutableHandle<JS::Value> rval={...})  Line 531 + 0xd bytes	C++
 	mozjs31-ps-release.dll!JS_CallFunctionName(JSContext * cx=0x21d17cd8, JS::Handle<JSObject *> obj={...}, const char * name=0x2bb0a578, const JS::HandleValueArray & args={...}, JS::MutableHandle<JS::Value> rval={...})  Line 5051 + 0x2c bytes	C++
 	pyrogenesis.exe!ScriptInterface::CallFunction_(JS::Handle<JS::Value> val={...}, const char * name=0x2bb0a578, JS::HandleValueArray argv={...}, JS::MutableHandle<JS::Value> ret={...})  Line 599 + 0x1c bytes	C++
 	pyrogenesis.exe!ScriptInterface::CallFunctionVoid<JS::Rooted<JS::Value> >(JS::Handle<JS::Value> val={...}, const char * name=0x2bb0a578, const JS::Rooted<JS::Value> & a0={...})  Line 494 + 0x1f bytes	C++
 	pyrogenesis.exe!CGUIManager::PopPageCB(std::shared_ptr<ScriptInterface::StructuredClone> args={...})  Line 146 + 0x26 bytes	C++
 	pyrogenesis.exe!`anonymous namespace'::PopGuiPageCB(ScriptInterface::CxPrivate * pCxPrivate=0x3894cad0, JS::Handle<JS::Value> args={...})  Line 110	C++
 	pyrogenesis.exe!ScriptInterface::call<void,JS::Handle<JS::Value>,&`anonymous namespace'::PopGuiPageCB>(JSContext * cx=0x1f4eb7d8, unsigned int argc=1, JS::Value * vp=0x10a340b8)  Line 113 + 0x219 bytes	C++
 	mozjs31-ps-release.dll!js::Invoke(JSContext * cx=0x1f4eb7d8, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 468 + 0x21 bytes	C++
 	mozjs31-ps-release.dll!Interpret(JSContext * cx=0x10a340c8, js::RunState & state={...})  Line 2620 + 0x16 bytes	C++
 	mozjs31-ps-release.dll!js::RunScript(JSContext * cx=0x1f4eb7d8, js::RunState & state={...})  Line 422 + 0x7 bytes	C++
 	mozjs31-ps-release.dll!js::Invoke(JSContext * cx=0x1f4eb7d8, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 497	C++
 	mozjs31-ps-release.dll!js::Invoke(JSContext * cx=0x1f4eb7d8, const JS::Value & thisv={...}, const JS::Value & fval={...}, unsigned int argc=1, const JS::Value * argv=0x0029f330, JS::MutableHandle<JS::Value> rval={...})  Line 531 + 0xd bytes	C++
 	mozjs31-ps-release.dll!JS_CallFunctionValue(JSContext * cx=0x1f4eb7d8, JS::Handle<JSObject *> obj={...}, JS::Handle<JS::Value> fval={...}, const JS::HandleValueArray & args={...}, JS::MutableHandle<JS::Value> rval={...})  Line 5064 + 0x45 bytes	C++
 	pyrogenesis.exe!IGUIObject::ScriptEvent(const CStr8 & Action={...})  Line 509	C++
 	pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_PRESSED, const CStr8 & EventName={...})  Line 479	C++
 	pyrogenesis.exe!IGUIButtonBehavior::HandleMessage(SGUIMessage & Message={...})  Line 90 + 0x2d bytes	C++
 	pyrogenesis.exe!CButton::HandleMessage(SGUIMessage & Message={...})  Line 91	C++
 	pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_MOUSE_PRESS_LEFT, const CStr8 & EventName={...})  Line 477	C++
 	pyrogenesis.exe!CGUI::HandleEvent(const SDL_Event_ * ev=0x0029f874)  Line 151 + 0x1f bytes	C++
 	pyrogenesis.exe!CGUIManager::HandleEvent(const SDL_Event_ * ev=0x0029f874)  Line 331 + 0x21 bytes	C++
 	pyrogenesis.exe!gui_handler(const SDL_Event_ * ev=0x0029f874)  Line 48 + 0x15 bytes	C++
 	pyrogenesis.exe!in_dispatch_event(const SDL_Event_ * ev=0x0029f874)  Line 62 + 0xa bytes	C++
 	pyrogenesis.exe!PumpEvents()  Line 198	C++
 	pyrogenesis.exe!Frame()  Line 326	C++
 	pyrogenesis.exe!RunGameOrAtlas(int argc=1, const char * * argv=0x00454a30)  Line 511 + 0x5 bytes	C++
 	pyrogenesis.exe!SDL_main(int argc=1, char * * argv=0x00454a30)  Line 555 + 0xb bytes	C++
 	pyrogenesis.exe!main(int argc=1, char * * argv=0x00454a30)  Line 140 + 0xd bytes	C
 	pyrogenesis.exe!wmain(int argc=1, wchar_t * * argv=0x0045ea20)  Line 380 + 0x9 bytes	C++
 	pyrogenesis.exe!__tmainCRTStartup()  Line 623 + 0x17 bytes	C
 	pyrogenesis.exe!CallStartupWithinTryBlock()  Line 397	C++
 	kernel32.dll!76c0d3c9() 	
 	ntdll.dll!77c31603() 	
 	ntdll.dll!77c315d6() 	
Last edited 9 years ago by historic_bruno (previous) (diff)

comment:6 by Itms, 9 years ago

So, what about trying different resolutions/a newer driver? Anything new? :)

comment:7 by mifritscher, 9 years ago

Summary: Cursor has wrong hotspor (Alpha 18)Cursor has wrong hotspot (Alpha 18)

Sorry for the delay - Vista is broken atm (you can guess the cause - a normal Windows update, and now I've a endless upgrade :-/ ), and I use Linux as my primary OS. But I'll try it again this weekend.

comment:8 by Itms, 9 years ago

Any news?

comment:9 by Itms, 9 years ago

Milestone: Alpha 19
Resolution: needsinfo
Status: newclosed

Please reopen if you have some news :)

Note: See TracTickets for help on using tickets.