Skip to content

Failing Update Check prevents Cryptomater v1.5.5 to show main window #1245

Description

@husui007

Description

When launching Cryptomater v1.5.5 nothing appears on the desktop. Taskbar icon is visible but cannot open preferences from here either. Only option that works is "quit".

This was the case on a newly reinstalled desktop running windows 10. In the end, I found the old installer v1.4.15 which reinstalled Dokan and Cryptomater and it launched properly. After upgrading back to v1.5.5, same issue happened.

System Setup

Windows Version: 10.0.18363 Build 18363
Cryptomator version: 1.5.5
Drive: WebDAV (I believe because it is the only thing that I saw in the installation settings)

Steps to Reproduce

  1. Install v1.5.5
  2. Launch Cryptomater

Expected Behavior

I expect to see the application window.

Actual Behavior

No application window appears.

Reproducibility

Always

Additional Information

cryptomator0.log
17:44:30.901 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.5 on Windows 10 10.0 (amd64)
17:44:31.552 [JavaFX Application Thread] INFO o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
17:44:31.563 [JavaFX Application Thread] INFO org.cryptomator.jni.FunctionsLoader - loaded WinFunctions.dll
17:44:39.730 [main] INFO org.cryptomator.launcher.Cryptomator - UI shut down

Note, I cannot launch app to enable debug mode.

cryptomator0.log

Activity

  1. overheadhunter commented on Jun 13, 2020

    @overheadhunter
    Member

    Can you edit C:\Program Files\Cryptomator\app\Cryptomator.cfg (change path accordingly for your installation) and under [JavaOptions] add the following lines:

    -Dprism.verbose=true
    

    Next, start Cryptomator.exe from a command line window to see the additional log output.

  2. husui007 commented on Jun 13, 2020

    @husui007
    Author

    Thanks for your feedback. I gave it a try but I did not receive any additional logging when launching the application. No output on the command line nor cryptomator0.log.

    Screenshot_537

  3. husui007 commented on Jun 13, 2020

    @husui007
    Author

    I found a settings file (settings.json) where I could enable some debugging. "debugMode": true,
    It gave more details in the log. After seeing the log, I disabled the firewall on my Antivirus (Norton Antivirus) but that didn't seem to help either.

    cryptomator0.log

  4. overheadhunter commented on Jun 14, 2020

    @overheadhunter
    Member

    Since there aren't any errors at all, I suspect the window appears somewhere it isn't visible, i.e. outside of the region covered by your main screen.

    Any chance you previously used additional screens (or virtual screens via some remote desktop software), that aren't available any longer?

  5. husui007 commented on Jun 14, 2020

    @husui007
    Author

    Thanks for your feedback.

    I use desktop managers, FancyZones and WindowGrid. Not sure if that is related or not. I do not use any type of virtual screens and haven't used RDP since this PC has been reinstalled.
    Also, I have two screens but the 2 screens are the same screens being used since I reinstalled W10 a couple weeks back.
    Last there is no taskbar icon for Cryptomater when it is running.

    I will try going to a single screen to see if that makes a difference. I'll post the results later.

  6. cjom commented on Jun 15, 2020

    @cjom

    While pressing the ALT key, press the TAB key to cycle through open apps until Cryptomator is selected. If then the Cryptomator window is not visible press ALT+SPACE keys. This will bring a menu with some options... Using the cursor keys and ENTER, select MOVE and use the cursor keys (press LEFT, UP, RIGHT or DOWN) until the Cryptomator window is visible.

  7. husui007 commented on Jun 15, 2020

    @husui007
    Author

    I tried the ALT+TAB before and Cryptomator is not there. I never heard about ALT+SPACE but when I tried, a search bar comes up.

  8. cjom commented on Jun 15, 2020

    @cjom

    I saw just now there's an option in Preferences that says "Hide window when starting Cryptomator".
    With this option on it doesn't show the window at start, but when I double click the icon it shows up.
    Also right clicking in the icon shows a menu with the first option being "show".

    You can also try this:
    Press the "windows key"+R and a dialog box shows, waiting for a command to run.
    Type (or copy and paste) this: %appdata%/Cryptomator/
    Press OK button and it will open the file explorer.
    Open the file name "settings.json" with any text editor like Notepad and look for the line with
    "startHidden": true,
    and replace true with false.
    Close and save. Cross your fingers and restart Cryptomator..

  9. husui007 commented on Jun 15, 2020

    @husui007
    Author

    Thanks. I tried the double clicking before. It doesn't do anything. As mentioned earlier even selecting "Show" & "Preferences" on the tray icon doesn't do anything either.

    I didn't have the parameter in the config file but I added it anyway. Unfortunately, nothing changed.

  10. infeo commented on Jun 18, 2020

    @infeo
    Member

    Under the following link one can download a JavaFX (the framework used in Cryptomator) test application:
    https://github.com/skymatic/javafx-helloworld/releases/tag/1.1.0

    @husui007 Can you download it and try if it works? In the corresponding repository there is also a screenshot how the app should look like.

  11. husui007 commented on Jun 18, 2020

    @husui007
    Author

    Hi @infeo
    If I download and launch the javafx-helloworld package, it displays the same window as the screenshot in the repository. Is there anything else you would like me to test?

  12. infeo commented on Jun 19, 2020

    @infeo
    Member

    Is the whole application terminating instantly or is the tray icon still active? In the latter case, it can be some corrputed/bad files in th app dir of Cryptomator.

    To test if this is true, can you do the following?

    1. Ensure that Cryptomator does not run
    2. Go to the appdata directory (e.g. over the log file location and just move a folder up)
    3. rename the Cryptomator folder (for example to _Cryptomator)
    4. start Cryptomator
  13. 11 remaining items

  14. husui007 commented on Jun 22, 2020

    @husui007
    Author

    No issues. I found that once I can get Cryptomator working once, it will continue to work whether VPN is connected or not. Thanks for all the efforts.

  15. added this to the milestone on Aug 6, 2020
  16. cocoon commented on Dec 8, 2020

    @cocoon

    @husui007 Thanks for reporting this!
    I have one computer here where it never shows a window but is running in the brackground and successfully unlocking the vault (dokany).
    Try Icon is there, but clicking on "show" does nothing.

    Just read you report today and checked if it is blocked in the firewall and indeed it is!
    Allowing Cryptomator in the firewall solved it and blocking it again --> the problem returns, no window visible!

    Using this Firewall: https://www.evorim.com/en/free-firewall
    Cryptomator downgraded to 1.5.8 because of the search pattern problem.

  17. overheadhunter commented on Dec 8, 2020

    @overheadhunter
    Member

    Should be fixed in JDK 16: openjdk/jdk@8e68745, probably there is no earlier fix available before march 2021.

    We can create an unofficial Cryptomator build using a pre-release version of JDK 16 and link it here, though.

  18. cocoon commented on Dec 8, 2020

    @cocoon

    I don't need an extra build, it is ok in that case, there currently is only that one vault in use and it works. But good ti know there will be a fix

  19. modified the milestones: , on Mar 16, 2021
  20. modified the milestones: , 1.5.14 on Mar 18, 2021
  21. reopened this on Mar 31, 2021
  22. added a commit that references this issue on Mar 31, 2021
    a96239a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    misc:guios:windowsstate:has-workaround

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions