View Issue Details

IDProjectCategoryView StatusLast Update
0000071Gameplay + OpenGL[All Projects] Bugpublic2017-01-22 02:30
ReporterAkiraZXE 
Assigned To_mental_ 
PrioritynoneSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000071: [Hardware renderer only] Cursor vanishing on Mint 18.1
DescriptionOn startup, the cursor simply does not show. It won't show at all until the game is started. Once you've started the game, it will show up if you open the menu.

If you change the resolution, the cursor vanishes again, and won't reappear until you close and reopen the menu.

If you go into fullscreen, the cursor disappears. Next time you open the menu, it's there again, but it's misaligned. At the top of the screen, it's close, and it gets worse as it moves towards the bottom.

I think this may be relevant as well: If GZDoom locks up, it holds on to the cursor even if it's no longer in focus.
Additional InformationI'm using the Cinnamon desktop, if it's relevant. I have no idea if these are separate issues either. Less than a week on Mint, no idea what's relevant here.
TagsNo tags attached.

Relationships

Activities

Graf Zahl

Graf Zahl

2017-01-18 18:40

administrator   ~0000124

Needs someone with an affected system to look into.
_mental_

_mental_

2017-01-19 02:21

developer   ~0000132

Last edited: 2017-01-19 02:21

View 2 revisions

It might be caused by these lines. If you are building GZDoom from sources you can try to remove them to verify this guess.

AkiraZXE

AkiraZXE

2017-01-19 14:48

reporter   ~0000138

Last edited: 2017-01-19 14:48

View 2 revisions

I wasn't, but I went ahead and just the instructions on the wiki to give it a shot. Unfortunately I can't tell what the change did because I got a totally unrelated error on startup:

LoadActors: Load actor definitions.
gzdoom.pk3:zscript/inventory/stateprovider.txt, line 16: Unknown native class CustomInventory
1 errors, 0 warnings while compiling gzdoom.pk3:zscript/chex/chexplayer.txt

I don't know if this should be reported as a separate bug or if I just screwed something up, and this ZScript stuff is new to me so I have no idea what's wrong anyways. Chances are being any more useful is a bit beyond me at the moment.

AkiraZXE

AkiraZXE

2017-01-19 19:50

reporter   ~0000141

Nevermind, I am a deluxe idiot. I did get it to work, and commenting that bit out does solve the cursor problems.
_mental_

_mental_

2017-01-20 03:22

developer   ~0000144

Those lines are remnants of SDL 1.2 backend. I think we can remove them if this change will be verified on different distros, on other desktop environments in particular.
Talon1024

Talon1024

2017-01-20 14:17

reporter   ~0000170

Last edited: 2017-01-20 14:22

View 2 revisions

This bug also affects me on Ubuntu 16.04, as well as Elementary OS 0.4 Loki.

_mental_

_mental_

2017-01-20 14:26

developer   ~0000171

Can you check my "guessing game" solution with removal of SDL_ShowCursor() call? If you can build from source of course.
Talon1024

Talon1024

2017-01-21 20:45

reporter   ~0000192

Confirmed. Removing that SDL_ShowCursor() call fixes this problem.
_mental_

_mental_

2017-01-22 02:29

developer   ~0000197

Last edited: 2017-01-22 02:30

View 2 revisions

Mouse cursor wasn't visible even on macOS with SDL backend. Also verified the fix using GNOME on Debian.

Fixed in da4981e.

Issue History

Date Modified Username Field Change
2017-01-18 16:19 AkiraZXE New Issue
2017-01-18 18:40 Graf Zahl Status new => acknowledged
2017-01-18 18:40 Graf Zahl Note Added: 0000124
2017-01-19 02:21 _mental_ Note Added: 0000132
2017-01-19 02:21 _mental_ Note Edited: 0000132 View Revisions
2017-01-19 14:48 AkiraZXE Note Added: 0000138
2017-01-19 14:48 AkiraZXE Note Edited: 0000138 View Revisions
2017-01-19 19:50 AkiraZXE Note Added: 0000141
2017-01-20 03:22 _mental_ Note Added: 0000144
2017-01-20 14:17 Talon1024 Note Added: 0000170
2017-01-20 14:22 Talon1024 Note Edited: 0000170 View Revisions
2017-01-20 14:26 _mental_ Note Added: 0000171
2017-01-21 06:39 _mental_ Status acknowledged => feedback
2017-01-21 20:45 Talon1024 Note Added: 0000192
2017-01-22 02:29 _mental_ Assigned To => _mental_
2017-01-22 02:29 _mental_ Status feedback => resolved
2017-01-22 02:29 _mental_ Resolution open => fixed
2017-01-22 02:29 _mental_ Note Added: 0000197
2017-01-22 02:30 _mental_ Note Edited: 0000197 View Revisions