Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes are not loaded when coming from UNC Path #6220

Open
3 tasks done
Uffi64 opened this issue Jan 24, 2025 · 0 comments
Open
3 tasks done

Themes are not loaded when coming from UNC Path #6220

Uffi64 opened this issue Jan 24, 2025 · 0 comments

Comments

@Uffi64
Copy link

Uffi64 commented Jan 24, 2025

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Usind Typora for Windows
When the APPDATA folder is located on an UNC path the themes cannot be loaded, because of a missing backslash in the path typora uses.
Opening the folder from the preferences panel works fine.

Log file entry on the theme file:

reject access to path \vwprds-spez\RedirectedFolders$\uj\AppData\Roaming\Typora\themes\compact-night.css
ERROR 24.1.2025, 12:21:27  Error: net::ERR_FILE_NOT_FOUND
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:114393)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
    at SimpleURLLoaderWrapper.emit (node:domain:488:12)

And it's confirmed that the access rights are all ok.
But you can see in the log entry that the second backslash in front of the servername (vwprds-spez) is missing.

In another log entry you can see a successful access:
INFO 24.1.2025, 12:21:27 [RenderProcess 3][Log] readContentFrom \\vwprds-spez\RedirectedFolders$\uj\AppData\Roaming\Typora\themes\Readme.md
And here you can see the second backslash in front of the servername.

To Reproduce
Steps to reproduce the behavior:

  1. Chang theme when themes are stored on UNC path
  2. realize that nothing happens
  3. Look into the log file

Expected behavior

  1. Change theme
  2. Get the theme

Desktop (please complete the following information):

  • OS: Windows Server 2022 64bit

Typora Version
1.9.5 licensed

Additional context
I tried to change the theme path by configuration to a local path. But I couln't find a possibility to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant