dawnlabs / alchemy

:crystal_ball: File conversion, all from the menu bar
https://dawnlabs.github.io/alchemy
MIT License
929 stars 71 forks source link

Merging doesn't finish #53

Open paddotk opened 6 years ago

paddotk commented 6 years ago

Windows 10, using Alchemy version 0.5.0

When I drag and drop some files (.png) into the application, fill in a title, and click the start button, the 'in progress' screen is shown, and it stays on there. No pdf is produced and there is no way to cancel it.

Additionally, it seems it's not possible to exit the application at any point. I'm forced to end all Electron processes in task manager.

mfix22 commented 6 years ago

@ericadamski do you have access to a Windows computer to test this case out on?

ericadamski commented 6 years ago

@mfix22 I am sorry but I do not 😞 This is just a windows issue?

paddotk commented 5 years ago

Do you guys perhaps have a Windows build for 0.5.1? If so, I could try it with that (it's not on the releases page)

mfix22 commented 5 years ago

No, we don't for 0.5.1, but you could build and run the project pretty easily if you clone this repo, and then run yarn && yarn build && yarn start.

I would greatly appreciate the help! 🙂

paddotk commented 5 years ago

Aight, I'll give it a spin

paddotk commented 5 years ago

@mfix22 I tried it (kinda forgot so it took a bit long, sorry 😛) and unfortunately, the latest build loses focus and minimizes to the task bar, as soon as a click anywhere outside the app window. Hence I can't actually drag any files onto it.

The option to close the app is also missing here btw.

mfix22 commented 5 years ago

If you drag files on top of the closed icon, it should reopen. Does it?

ericadamski commented 5 years ago

Could it be a difference on how menu bar applications work on Windows machines?

mfix22 commented 5 years ago

Could it be a difference on how menu bar applications work on Windows machines?

Could be! I am not sure 😬

paddotk commented 5 years ago

It does work a bit differently than OSX or Linux, yeah. There are the normal buttons that indicated any open applications. But also, at the right there are small icons for notifications and apps that run in the background, and that's where the Alchemy icon is shown. You can't open this by dragging a file over that, I'm afraid.

image

Ignore the arrow in this screenshot, just got it from google.

chucklepie commented 4 years ago

Hello, I'm on Windows 10, downloaded the latest verison. Sorry, no idea what version because the download site contains no information and neither does this github site (that I can see easily).

Drag a simple file, click merge, and all I get is 'Converting'. There is no config I can see to add logging, there is no log file, just nothing.

This is 2 years since the original post, so I guess this software is not updated or supported anymore?

ericadamski commented 4 years ago

@chucklepie Thanks for brining this up!

I unfortunately do not have access to a Windows machine to test this out. Can you attach a video recording of the error happening? Maybe I can figure out some issues from there.

chucklepie commented 4 years ago

Nothing happens, literally, it just says converting and does nothing. No need for a video.

If there was a logger added to the code it might help...

On Wed, 19 Feb 2020, 14:36 Eric Adamski, notifications@github.com wrote:

@chucklepie https://github.com/chucklepie Thanks for brining this up!

I unfortunately do not have access to a Windows machine to test this out. Can you attach a video recording of the error happening? Maybe I can figure out some issues from there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dawnlabs/alchemy/issues/53?email_source=notifications&email_token=ADCERRJFFHLQDXOOF3NMK5DRDU7VBA5CNFSM4GBUGUP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMIDJ4I#issuecomment-588264689, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCERRPLMYS4KCG7J2MSSJLRDU7VBANCNFSM4GBUGUPQ .

PentagramPro commented 4 years ago

Same for me, Windows 10:

  1. Start the app, click the icon in tray to open window
  2. Drag and drop files, click 'Merge' Result: It starts converting and never finishes
DLandDS commented 4 years ago

Same for me too, Windows 10: it's converting forever

binlabs commented 4 years ago

It sounds like @DLandDS and @PentagramPro and @chucklepie are seeing more than I am in terms of the UI. Here is what I experienced in Windows 10:

  1. The window loses focus and minimizes the second you try to drag any kind of file, and does not re-appear when you drag the file over the icon in the taskbar. Many people have reported this. However, a workaround I have found (and this is actually kind of difficult) is to start dragging the file, use the CTRL+SHIFT+8 shortcut built-in to Alchemy to toggle the window, and finally drop the file.
  2. I don't get any kind of menu, options, or messages anywhere; not by clicking the icon, right-clicking, not in the console - nowhere.
  3. HOWEVER, it does successfully convert the file for me. I don't get any kind of options what it converts to, but I successfully dropped a PNG from my desktop and ended up with a converted PDF on my desktop. I assume PDF must be the default option or something, I wouldn't know because I see literally nothing else but the icon in the taskbar and the Dropzone window when I toggle it by left-clicking the icon or by using the keyboard shortcut I mentioned above.

To get the build working at all, I was forced to update the execa dependency from execa@^0.6.3 in package.json to execa@^4.0.0. I was getting some type of filesystem-related async error that I can't quite recall at the moment, and searching for that error suggested execa was the culprit, and it was. I also can't recall if this caused the built to fail, or if it caused the start to fail, sorry for the keeping track of that, but I could reproduce if needed.

As soon as I get some free time I'll take a video of what I do and what I don't see in hopes that someone might have some suggestions.

It seems pretty clear to me that in order to get Alchemy functioning in Windows as well as it does in OSX, there are going to need to be some pretty big changes that apply only to the win32 process.platform, and that a lot of the changes are likely to be to the flow of the UI, as Windows just doesn't support the ability to drag a file on top of an icon to feed it to that application, and because dragging a file on top of an icon does not toggle the visibility of the window.

I don't currently know enough about Electron to make these specific changes myself right now, but I'll be looking into it as time allows.

Jaja0624 commented 4 years ago

@binlabs You can fix your window losing focus issue by commenting out this line in main.js

mb.on('focus-lost', () => mb.hideWindow());

unfortunately I am currently just getting a blank white screen when I open the app. I updated execa as well. I'm trying to play with the source code to see if I can fix the app (0.50 release) not being able to convert on windows.

mfix22 commented 4 years ago

Hey folks, I appreciate all your discussion around this issue, but I have to say that I no longer have time to support this project (thus https://github.com/dawnlabs/alchemy/issues/32).

Would be happy to help merge in PRs, etc, and even support a new version with all our dependencies upgraded and polished, but I won't have any time to actively work on this project 😞