Closed 4m2c4bl3 closed 1 month ago
Which version of Foundry? Are any errors reported in the browser Console (can be opened with F12)?
V12, build 328, and nope.
https://github.com/user-attachments/assets/2faf0a4d-8949-4df2-b4b3-6c55eba075fd
In the console, could you enter the following which should provide some debug in the console, so that I can see what is happening (or not) with your installation - and then repeat the above steps.
CONFIG.debug.pdfpager=true
And set the console output to show All levels
Ah, also which game system are you using?
I've just noticed that it is possible to edit even if the user has only Observer rather than Owner permission on the document.
I'm using this system: https://github.com/League-of-Fabulous-Developers/FoundryVTT-Fabula-Ultima
with debugging on, i'm not seeing anything new (also all levels is on)
I don't know if this is the cause, but I've just created version 1.1.5 which will prevent non-OWNERs from being able to add annotations to PDF pages.
thanks, i'll give it a try.
observer role is still able to see/use editing tools in 1.1.5, and the behavior remains the same for the owner. i'm going to try and create a new game world with no other addons to see if there's something else conflicting.
i made a new world with only the system and PDF-pager, and i finally am seeing an error message.
this didn't come back after i cleaned the console, but i caught it once. is there some required information that has to be defined for each system? also seeing messages now about "already loaded annotations for page 1 - ignoring"
https://github.com/user-attachments/assets/2d481eeb-4c72-4d29-89e5-648a595667f3
That error about a missing file is unavoidable. It just means that the module doesn't ship with any predefined mappings for your game system. I am still trying to find how to stop it from being reported.
Could you give me a screen shot of this module's settings in your foundry please.
Also, does it occur with all other modules disabled (other than pdf-pager and libWrapper)?
I've now got Fabula Ultima game installed on Foundry 12, but I'm running Chrome rather than the app, and everything seems to be working.
I've just noticed that annotations aren't saved if "Support Form-Fillable PDFs" is not enabled.
Version 1.1.6 will save annotations when "Support Form-Fillable PDFs" is not enabled (as well as when it is enabled).
I've just noticed that annotations aren't saved if "Support Form-Fillable PDFs" is not enabled.
That was it!! Thanks so much :)
I am sure to de-select the annotation tool, but none of the data saves. When annotating from a browser window and going to navigate away, it gives me 'unsaved changes will be lost' warnings. When annotating from the main foundry vtt client, trying to reload app or return to setup or even exit does nothing, until I close the pdf.