forkserf / forkserf

a continuation of "FreeSerf"

Home Page:https://forkserf.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitlab actions build broken Windows release (cannot move map with mouse)

zdechlak opened this issue · comments

for some reason I can't move the map with the mouse / Windows 10

hmm, for comparison, does it work for you with Freeserf? https://github.com/freeserf/freeserf/releases/tag/v0.3

I am wondering if this is simply a Windows10 issue relevant to both Freeserf & Forkserf, or if it is related to something changed in Forkserf only.

in 0.3 it works

i remember a few years ago, in the first versions this bug http://jonls.dk/freeserf/ - it was solved by Jon Lund Steffensen

Thanks, I will do some testing to see if I can reproduce. I have made a lot of changes to the SDL Mouse events in Forkserf relating to zooming and double/special/right-clicking

basically, I can only use the mouse to zoom and select a point on the map
nothing else works

You are holding a button in to drag the map around, right? It will not move the screen unless one of the mouse buttons is held in

I hold the mouse buttons - sometimes the map skips a bit, it does it by lagging - and it doesn't work properly / / the same bug was once in the first remake projects

forkserf.2023-01-19.20-23-34.1.mp4

Yes I agree that is not expected behavior, I do not see that issue on linux. I will see if I can reproduce this on Windows7, and if not I'll look for a windows 10 machine to test with

make it a priority because it's hard to play with the arrow keys on the keyboard

I am able to reproduce this in Windows7 so I should be able to fix easily, looking into it now

the issue is something with the compilation. If I use VSCode from Windows7 and build it the mouse scroll works fine, but the same code built by GitLab Workflow/Action does not work. Looking to see if there is something I can adjust to make it build a working copy...

it seems this is not related to Forkserf changes, the newest FreeSerf builds for windows have the same mouse issue. I suspect they are defaulting to a newer SDL2 that breaks something.

I have updated the Forkserf v0.5.2 Release page to include the working Win64 version that I compiled and tested, try this: https://github.com/forkserf/forkserf/releases/download/v0.5.2/Forkserf-0.5.2-Win64.zip

hooray it works ❤

topic to be closed

I want to keep this open as reminder to occasionally look into fixing the actual gitlab actions build