warpd icon indicating copy to clipboard operation
warpd copied to clipboard

feature request: Windows support

Open GhengS opened this issue 2 years ago • 20 comments

What an amazing project! It would be nice if it could also be used under Windows Is there a way to do it please?

GhengS avatar May 10 '22 04:05 GhengS

As a Windows-based user, I am now filled with envy, jealousy and anticipation.

GhengS avatar May 10 '22 04:05 GhengS

There is always a way, but as the Windows ecosystem vastly differs from the current two implemented ones (Linux and MacOS) it would require substantial efforts, which I highly doubt the lead developer (@rvaiya) is willing to invest.

Besides, and slightly off topic, I can't resist commenting that porting software which is all about efficiency to an operating system which is (arguably) the exact opposite might somewhat defeat the purpose...

herrsimon avatar May 10 '22 06:05 herrsimon

I may get around to a windows port at some point in the future, but I already have a lot in my backlog. Patches are welcome :).

rvaiya avatar May 10 '22 19:05 rvaiya

Wish it! It's so much fun coming to windows!

rensx5514 avatar May 16 '22 14:05 rensx5514

As a Windows-based user, I am now filled with envy, jealousy and anticipation.

windows has autohotkey

yyy33 avatar Aug 09 '22 12:08 yyy33

As a Windows-based user, I am now filled with envy, jealousy and anticipation.

windows has autohotkey

Do you know of any autohotkey scripts that work like this? AHK is only as good as the scripts you have

slacksystem avatar Aug 16 '22 23:08 slacksystem

As a Windows-based user, I am now filled with envy, jealousy and anticipation.

windows has autohotkey

Do you know of any autohotkey scripts that work like this? AHK is only as good as the scripts you have

there's this one: https://github.com/EsportToys/TPMouse

expikr avatar Dec 08 '22 21:12 expikr

As a Windows-based user, I am now filled with envy, jealousy and anticipation.

windows has autohotkey

Do you know of any autohotkey scripts that work like this? AHK is only as good as the scripts you have

there's this one: https://github.com/EsportToys/TPMouse

i personally like this one: https://github.com/wirekang/mouseable TPMouse has bad customization, but is what really make it worse than mouseable is that TPM doesn't block u from typing upon call. It does not remove focus from current window and keep typing while moving cursor. At least for me (tested in MVS and couple browsers).

nerasw avatar Dec 09 '22 09:12 nerasw

As a Windows-based user, I am now filled with envy, jealousy and anticipation.

windows has autohotkey

Do you know of any autohotkey scripts that work like this? AHK is only as good as the scripts you have

there's this one: https://github.com/EsportToys/TPMouse

i personally like this one: https://github.com/wirekang/mouseable TPMouse has bad customization, but is what really make it worse than mouseable is that TPM doesn't block u from typing upon call. It does not remove focus from current window and keep typing while moving cursor. At least for me (tested in MVS and couple browsers).

Just tested, moving the cursor works fine without any stray key inputs. Did you perhaps press the wrong keys?

I personally like it for the way normal mode works, it feels much more natural than the fixed-speed cursor motion of the others, reminds me of playing Super Mario.

expikr avatar Dec 20 '22 11:12 expikr

As a Windows-based user, I am now filled with envy, jealousy and anticipation.

windows has autohotkey

Do you know of any autohotkey scripts that work like this? AHK is only as good as the scripts you have

there's this one: https://github.com/EsportToys/TPMouse

i personally like this one: https://github.com/wirekang/mouseable TPMouse has bad customization, but is what really make it worse than mouseable is that TPM doesn't block u from typing upon call. It does not remove focus from current window and keep typing while moving cursor. At least for me (tested in MVS and couple browsers).

Just tested, moving the cursor works fine without any stray key inputs. Did you perhaps press the wrong keys?

I personally like it for the way normal mode works, it feels much more natural than the fixed-speed cursor motion of the others, reminds me of playing Super Mario.

Neither are autohotkey scripts, which is what was suggested by @yyy33, but TPMouse looks interesting I might try it. Haven't done anything with basic in decades, but it'll be good to get back to the basics (sorry for the pun). I don't like t he idea of having to run chrome or edge just to use the software, which unless I'm misunderstanding is what's required for mouseable

slacksystem avatar Jan 24 '23 03:01 slacksystem

There is in fact a beta windows version sitting in master. I pushed it some time ago, but haven't had time to make a proper release. I don't have time to test it at the moment (or remember what state I left it in), but I just published the binary built from the tip of master here if you want to give it a try. YMMV

rvaiya avatar Jan 24 '23 04:01 rvaiya

Will this beta release work with Windows 11?

EDIT: tried this and got this error message:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: ...
File: src/platform/windows/filemon.c
Line: 49

Expression: mon != INVALID_HANDLE_VALUE

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Anular   Repetir   Ignorar   
---------------------------

Avastgard avatar Jan 24 '23 14:01 Avastgard

Yep, I got the same error. But once it turned out and the program remained in the tray. But I couldn't get into the config settings.

ChizhovLeonid avatar Feb 02 '23 20:02 ChizhovLeonid

A more verbose report:

When i boot warpd on my Win11 machine, I receive the same error as Avastgard and Chizhov. I get an error popup, and a black rectangle that I assume is some sort of unrendered GUI?

  • Selecting abort closes the application.

  • Selecting retry puts the application in my try, but kills it shortly after.

  • Selecting abort results in a second, very similar error:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: ...
File: src/platform/windows/filemon.c
Line: 31

Expression: fh != INVALID_HANDLE_VALUE

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled!)
---------------------------
Abort      Retry      Ignore
---------------------------

After clicking ignore again, similar behaviour to initially selecting 'Retry' is observed.

crestofthebeast avatar Feb 17 '23 04:02 crestofthebeast

After poking around at /platform/windows/filemon.c, it seems like the issue is with file creation. Booting in admin mode doesn't help the problem, but perhaps it's a directory access issue?

crestofthebeast avatar Feb 17 '23 04:02 crestofthebeast

Hey, I tried to fix this and failed, so I implemented my own in csharp.

https://github.com/felixhudson/cwarpd

Hope you find this useful.

@GhengS enjoy!

felixhudson avatar Apr 26 '23 04:04 felixhudson

Apologies. The original build I released was broken. I have fixed the issues and released another build which can be found here:

https://github.com/rvaiya/warpd/releases/tag/v1.3.7-windows-alpha (read the release notes).

Please be aware that this is currently alpha quality software. I don't have much time to maintain the windows version, and don't dogfood it (so bugs are less likely to be discovered). That said, feel free to post issues as they arise.

rvaiya avatar Apr 26 '23 21:04 rvaiya

Apologies. The original build I released was broken. I have fixed the issues and released another build which can be found here:

https://github.com/rvaiya/warpd/releases/tag/v1.3.7-windows-alpha (read the release notes).

Please be aware that this is currently alpha quality software. I don't have much time to maintain the windows version, and don't dogfood it (so bugs are less likely to be discovered). That said, feel free to post issues as they arise.

it doesn't work on windows 10 for me. When the program starts, a black rectangle (probably window) appears and nothing can be done with it

aafutin avatar May 08 '23 07:05 aafutin

Crashes for me every time I try to use it while on my second monitor.

Microsoft Visual C++ Runtime Library Assertion failed!

Program: [Path to the warpd.exe] File: ..\platform\windows\windows.c Line: 345

Expression: scr

Salted-Bread avatar May 10 '23 07:05 Salted-Bread

Like @Salted-Bread I can't use it on a second screen. If I mouse over my second screen and initiate hint mode then I get this: image I think you can get away with closing this ticket though since it does work on windows. Bugs can be their own tickets...

rgkirch avatar Dec 22 '23 21:12 rgkirch