Comments (5)
Ah it should be fixed in mistress
from nightpdf.
Exact same problem here, and just with some PDFs, I wish I could be more specific about it.
Am using Zorin 16.2
from nightpdf.
if you can launch with the env var debug set to 1 and then the output from the debug console inside nightpdf it would be helpful!
from nightpdf.
Ran into a similar issue using the latest version from Flathub (2.0.3) on Fedora Silverblue 38
The problem seems to occur when trying to load a file from a file-uri.
This is the debug output when i pass a file as a file-uri and the app fails to load the file:
loading
render.mjs:199 TabGroup is ready, moving container
render.mjs:199 Array(1)0: ['file:///run/flatpak/doc/e8bc990e/output.pdf']length: 1[[Prototype]]: Array(0)
render.mjs:199 opening Array(1)0: "file:///run/flatpak/doc/e8bc990e/output.pdf"length: 1[[Prototype]]: Array(0)
render.mjs:199 No tabs yet, creating new tab
render.mjs:199 Array(1)0: "file:///run/flatpak/doc/e8bc990e/output.pdf"length: 1[[Prototype]]: Array(0)
render.mjs:199 tab loaded
render.mjs:199 inserted style 1
And this is the same file in the same location but passed using a path:
loading
render.mjs:199 TabGroup is ready, moving container
render.mjs:199 Array(1)0: ['/run/flatpak/doc/e8bc990e/output.pdf']length: 1[[Prototype]]: Array(0)
render.mjs:199 opening Array(1)0: "/run/flatpak/doc/e8bc990e/output.pdf"length: 1[[Prototype]]: Array(0)
render.mjs:199 No tabs yet, creating new tab
render.mjs:199 Array(1)0: "/run/flatpak/doc/e8bc990e/output.pdf"length: 1[[Prototype]]: Array(0)
render.mjs:199 tab loaded
render.mjs:199 inserted style 1
This one loads correctly.
A similar thing also happens when you provide the app with a non-existent file:
loading
render.mjs:199 TabGroup is ready, moving container
render.mjs:199 Array(1)0: ['/fake/path/isnt/real.pdf']length: 1[[Prototype]]: Array(0)
render.mjs:199 opening Array(1)0: "/fake/path/isnt/real.pdf"length: 1[[Prototype]]: Array(0)
render.mjs:199 No tabs yet, creating new tab
render.mjs:199 Array(1)0: "/fake/path/isnt/real.pdf"length: 1[[Prototype]]: Array(0)
render.mjs:199 tab loaded
render.mjs:199 inserted style 1
This one also has the same behaviour as the first example.
from nightpdf.
the issue was the file://
prefix. filtering this out fixed this issue
from nightpdf.
Related Issues (20)
- Add version on help HOT 1
- File tabs auto-reopening and remember file viewing => Please add them to the program HOT 6
- Windows 11 preventing NightPDF from running HOT 2
- typos in README.MD HOT 1
- Dark mode for sidebar scrollbar and thumbnails HOT 1
- please support select multi file open and open dif HOT 3
- support config file export and import function
- good pdf tools. please support dark background and green font color theme by default HOT 1
- enhance multi open pdf, it just show one line, cannot show more pdf
- [Feature Request] Remember settings and page per book HOT 1
- [Feature Request] Browsing history HOT 1
- Hotkeys dont work when nightPDF is ON HOT 1
- feature request: don't invert images HOT 3
- feature request: allow reloading file
- 32 bit windows versions are broken HOT 1
- 64 bit windows versions are also broken HOT 3
- Shortcuts for other apps in the background stop working for windows.
- Unable to build HOT 1
- Download HOT 1
- Key bindings conflict with other chromium browsers' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nightpdf.