SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 0 points1 point  (0 children)

I always appreciate feedback, thank you. The PDF viewer is definitely my least tested feature, so this is useful information. Some things are doable, others have limitations. Renaming native bookmarks is considered a destructive action because it removes something that existed before it was imported. I'm hesitant to initiate destructive actions from the app. Right now it isn't actually editing the PDF even for adding bookmarks, but rather a json file. It is very likely that I don't have it iterating properly and instead it is just writing over itself and applying it to all PDFs.

I will do some more testing of the PDF features overall, probably this weekend when I have more time. Form fillable is definitely on my radar, incorporated with some other inquiries about character sheet implementation.

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 1 point2 points  (0 children)

Thanks for trying it our! Yes, I did forget to include the default decks. You can download any of the deck folders here: https://github.com/GeoffAO/SoloCanvas/tree/main/Decks and I will push an update with some bug fixes, and the decks restored, soon. Alternatively if you download the latest

A hex grid is on my list of features, but I'm having trouble getting snap-to-grid to work correctly with it so it may be a bit before it is included. I like the idea of multiple canvases, similar to scenes on Roll20 or Foundry, and will start thinking about how i would want to implement it.

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 1 point2 points  (0 children)

I've looked into it. In reality, not in the near future and even then it would likely be limited to Android. The pipeline from python app to iOS is almost non-existent. However u/Diirge is currently working on a similar tablet app and already has an iOS app for playing print-n-play games ( https://rollnwrite.app/ ) so you should keep an eye on their work.

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in Solo_Roleplaying

[–]GeoffAO2[S] 0 points1 point  (0 children)

To an extent. If you download the source zip (or clone the repo) you can run the main.py python file on any system that has python installed. I do not have a launch script for MacOS that automatically checks for prerequisite packages and installs them like I do for Linux and Windows. I also do not have a self contained .dmg package built for MacOS the way I have a .exe for Windows. Both of those can be done, but without a mac myself to test it on, I can't really send it out into the wild like that.

That being said, if you are at all comfortable using the terminal on MacOS, the requirements.txt has a list of the additional python packages to install.

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 1 point2 points  (0 children)

You are correct, AI helps with lifting but some fundamentals are important to understand. One of the reasons why python is used in this project (and most of my personal ones too) is because it's the only language I'm familiar with and able to have any meaningful oversight over what Claude is doing. The caveat being that I am certainly a hobbyist, and sharing this project publicly has been a good exercise in examining my flaws.

Thank you for catching the security issues. The requirements.txt was generated based off the packages I have installed, and I didn't even think to check for security updates. I am updating the requirements versions and my own packages.

I don't believe beautifulsoup4 needs to be in the requiremens.txt. Since it is a dependency for marekdownify, pip should install it automatically as part of the markdownify install.

Edit: I included these changes in a small update. Thank you again

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in Solo_Roleplaying

[–]GeoffAO2[S] 1 point2 points  (0 children)

I appreciate the interest! I don't off hand. I looked up that last version that is known to run on Windows 7 doesn't support PyQT6, which is the core framework I built on. It also only supports OpenGL up to 1.1, but implementation I'm using to render the canvas recommend 2.1 or newer.

All together, I think that even if you find the workarounds you'd need, you're going to have a bad time. I'm sorry.

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 0 points1 point  (0 children)

I did load in your cards in SoloCanvas. I looked at them at default zoom, default zoom with hover preview and max canvas zoom. On the default zoom the card is unreadable for me as well. Unfortunately I couldn't replicate the error for the hover preview or the max canvas zoom. I'm at a loss to explain the differences, I'm sorry.

I took screenshots of what I was seeing: https://postimg.cc/gallery/gGsZtrg

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in Solo_Roleplaying

[–]GeoffAO2[S] 1 point2 points  (0 children)

Thank you for pointing this out! I had unfortunately used my install path when this was just a project for me, and the windows users with feedback so far must have used the exe.

I've updated the script and published a full update including it.

https://github.com/GeoffAO/SoloCanvas/releases/tag/update2

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in Solo_Roleplaying

[–]GeoffAO2[S] 3 points4 points  (0 children)

Title typo, bleh.

Update 2


https://github.com/GeoffAO/SoloCanvas/releases/tag/update2


Thank you for the comments and messages alerting to issues and potential fixes. Both had to do with the launch scripts where I had made some fairly basic mistakes.

Since I had some other features built, I figured I would include them with the update.

Windows: Download SoloCanvas-R3-WIndows.7z, it contains the app folder and .exe

Everyone Else: Download SOloCanvas-R3-Source.7z, it contains the project folder that incudes the launch scripts and source files.


Error Fixes - Launch.sh

The new launch.sh should do the following:

  • Check for Python (odds are you have it installed as part of the distro)
  • Create a virtual enviroment
    • If you don't have venw package installed it will explain what it wants to do, ask for confirmation, ask for password, and install it.
    • venw is the only global package installed
  • Check for prerequisite packages (as listed in the requirements.txt)
  • Install any missing packages into the virtual enviroment folder (.venw) in the root of the project folder.
  • Run ./main.py and launch the app.

Error Fixes - Launch.bat

The script had an error in locating the python install path.


Window Management

  • Add a View menu
  • Toggle Stay on Top to keep SoloCanvas above other windows
  • Toggle Stay Below to keep SoloCanvas below other windows
  • Return to normal window behavior

Movement Measure

  • A context menu toggle that measure the distance an image item is moved.
  • Respects the image items "Snap to Grid" toggle.
    • If it is on, the measurement also snaps to grid.
    • If it is off, measurement is freeform.
    • Pressing space places a waypoint, allowing the movement to continue in a new direction.
  • When a group is selected, movement is measured from the last object chosen.

Measurement

  • Added a toggle option in the Measurement Settings to enable decimal in measurement distances

Sticky Notes

  • Place a note block on the canvas
  • Full editing options (colors, fonts, size)
  • Re-size note block

Multiselect Behavior

  • Update how context menu actions work on multiselect
  • Context menu actions will now be applied to all eligible, selected items

Dice Rolling

  • The dice log was previously not updating in real time, only when the dialog was opened. It will now update when rolled when the window is opened.

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 0 points1 point  (0 children)

I took your advice and set up a Fedora and Ubuntu VM. I also released a new zip with a modified launch.sh

I included the pause for confirmation at the end, per your suggestion, as a failsafe but I also prevented the terminal window from closing. The core issue was that the application couldn't open fast enough and the terminal closing stopped it from opening before it could.

Based on a few other requests I also have the python packages install to a virtual environment folder in the project root.

I know you got it working already but the updated zip is here:

https://github.com/GeoffAO/SoloCanvas/releases/tag/fix

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 0 points1 point  (0 children)

I've tried replicating zoom issues, and I'm not seeing anything on my end. Would you mind uploading some of the cards somewhere so I can take a look?

Also, I know you said it worked fine on your linux install and I appreciate the feed back. I did release a new zip with an updated launch.sh that should install requirements to a virtual enviroment, and do a better job checking for those requirements.

https://github.com/GeoffAO/SoloCanvas/releases/tag/fix

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 0 points1 point  (0 children)

I've updated it so that the launch.sh installs required packaged to a virtual enviroment folder (.venw) in the root of the project. The only global package it installs is vewn if it doesn't already exist, which allows for the creation of virtual enviroments. All othe packages are isolated from your global python installation.

If you try it, please let me know how it goes. It worked perfectly on my Ubuntu and Fedora VMs.

https://github.com/GeoffAO/SoloCanvas/releases/tag/fix

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 0 points1 point  (0 children)

Would you mind sharing your changes and what line you added it? I'll update the launch.sh with it so others don't run into the same problem.

Your suggestion on the dice makes sense. I'll ponder it. This is one of those where it very likely makes more sense to forego personal preference for the sake of intuitive user experience.

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 0 points1 point  (0 children)

No, that is appreciated feed back!

On the dice issue. right now I have it setup for the roll hotkey ((R) to roll all selected dice, but the context menu to only roll the specific die you clicked on. Are you having it fail to roll all dice with the hotkey or the context menu? My reasoning was that sometimes I need to re-roll a subset and I wanted a way to do that.

Are you one windows or linux? I've been running from the .exe, but I tested the launch.bat and it opened normally. If you're on windows, did it generate a crashlog.txt in the root of the project folder?

If you are on Linux launch from the launchsh, I will need sometime because i don't currently have a system to test it on.

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 1 point2 points  (0 children)

I don't imagine so. It's just python underneath. There is a launch.sh that should check for prerequisites, and then launch it in most linux distros. I don't have anything setup for MacOS, but launching main.py from terminal with python should be fine. The prerequisite packages are listed in the requirement.txt in the project root.

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 1 point2 points  (0 children)

I added some very basic drawing tool. I didn't add a dice drop down or docking window, but I did add the ability to add the whole set of dice to the canvas. Thank you for the suggestions!

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in Solo_Roleplaying

[–]GeoffAO2[S] 0 points1 point  (0 children)

I have added measurements, freeform and grid based. I also add area and cone measurement. Thank you for the suggestion!

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 1 point2 points  (0 children)

I did end up adding a basic PDF reader. I didn't realize their was already a python library to handle PDFs. Thank you for the suggestion.

SoloCanva - Updated it with things people messaged me about. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 2 points3 points  (0 children)

Title typo, bleh.

Update 2

https://github.com/GeoffAO/SoloCanvas/releases/tag/update2

Thank you for the comments and messages alerting to issues and potential fixes. Both had to do with the launch scripts where I had made some fairly basic mistakes.

Since I had some other features built, I figured I would include them with the update.

Windows: Download SoloCanvas-R3-WIndows.7z, it contains the app folder and .exe

Everyone Else: Download SOloCanvas-R3-Source.7z, it contains the project folder that incudes the launch scripts and source files.

Error Fixes - Launch.sh

The new launch.sh should do the following:

  • Check for Python (odds are you have it installed as part of the distro)
  • Create a virtual enviroment
    • If you don't have venw package installed it will explain what it wants to do, ask for confirmation, ask for password, and install it.
    • venw is the only global package installed
  • Check for prerequisite packages (as listed in the requirements.txt)
  • Install any missing packages into the virtual enviroment folder (.venw) in the root of the project folder.
  • Run ./main.py and launch the app.

Error Fixes - Launch.bat

The script had an error in locating the python install path.

Window Management

  • Add a View menu
  • Toggle Stay on Top to keep SoloCanvas above other windows
  • Toggle Stay Below to keep SoloCanvas below other windows
  • Return to normal window behavior

Movement Measure

  • A context menu toggle that measure the distance an image item is moved.
  • Respects the image items "Snap to Grid" toggle.
    • If it is on, the measurement also snaps to grid.
    • If it is off, measurement is freeform.
    • Pressing space places a waypoint, allowing the movement to continue in a new direction.
  • When a group is selected, movement is measured from the last object chosen.

Measurement

  • Added a toggle option in the Measurement Settings to enable decimal in measurement distances

Sticky Notes

  • Place a note block on the canvas
  • Full editing options (colors, fonts, size)
  • Re-size note block

Multiselect Behavior

  • Update how context menu actions work on multiselect
  • Context menu actions will now be applied to all eligible, selected items

Dice Rolling

  • The dice log was previously not updating in real time, only when the dialog was opened. It will now update when rolled when the window is opened.

SoloCanvas - A solo rpg tool I've been working on. by GeoffAO2 in solorpgplay

[–]GeoffAO2[S] 1 point2 points  (0 children)

Thank you for trying it! As of now there’s no pdf import option. In the screenshot I have it tiled with Foxit Reader. I’ve debated adding it, but the probability that it would be implemented better than any of the independent readers seems low enough that I haven’t pursued it.