Giter Site home page Giter Site logo

Comments (9)

JakobDev avatar JakobDev commented on August 25, 2024

I'm the Maintainer of the Flatpak. I can't the reproduce this on Manjaro KDE. Did you open the Project with File>Open project or did you another method?

from porymap.

nescioquid avatar nescioquid commented on August 25, 2024

that's been what I've been doing, but now that I check, I can't select the repo and choose to Open With, as it doesn't list porymap as a program in that menu. perhaps the program has only read-only access? have there been issues like that before?

EDIT: porymap.log

it looks like it can't open, and then it's also not getting permission to write to the files. for what it's worth, the actual directory location for wild encounters is at ~/builds/pokemon/not-new-emerald/src/data/wild_encounters.json (for wild encounters obviously).

EDIT 2: I'm on version 5.1.1. also, I had auto login on which is known to cause some other authentication issues down the line on PopOS, but disabling it and logging in at top level had no effect on the bug.

from porymap.

JakobDev avatar JakobDev commented on August 25, 2024

PopOS should give the Flatpak Write Permission to that Directory, when you select it. But that did not work for some reason. You should write a Bug Report. In the meantime, you should use Flatseal to give Porymap write permission for the Host System to fix the Issue.

from porymap.

nescioquid avatar nescioquid commented on August 25, 2024

will do, but would that be a report to PopOS or flatpak?

also, I'm not the most sophisticated user, but with flatseal I've given Porymap all filesystem permissions, including for the exact /run/user/1000/doc/24f5f1f9/not-new-emerald directory specified in the logs:

  • all system files
  • all system libraries, executables, and static data
  • all system configurations
  • all user files
  • other files
    • /run/user/1000/doc/24f5f1f9/not-new-emerald
    • xdg-config/kdeglobals:ro

this last file, xdg-config/kdeglobals:ro, was already specificied in flatseal before I edited permissions.

I'm going to keep poking around with the permissions, but which settings would you expect to be minimum necessary? I would of course prefer to limit them as much as possible.

from porymap.

nescioquid avatar nescioquid commented on August 25, 2024

I was able to get a wild encounter edit to save successfully, but I both gave the program every toggleable permission possible and reopened the project. will edit this comment with more details as they come, but thanks!

EDIT: it looks like only permissions for all user files and a reload of the project were necessary to get things working. thank you so much! again please let me know if I should create a bug report with PopOS or Flatpak or both. :)

from porymap.

JakobDev avatar JakobDev commented on August 25, 2024

You should report to PopOS. The Bug is part of the xdg-desktop-portals which are implemented by each Desktop,

I'm going to keep poking around with the permissions, but which settings would you expect to be minimum necessary? I would of course prefer to limit them as much as possible.

Just give permission to the Directory you are opening.

from porymap.

nescioquid avatar nescioquid commented on August 25, 2024

yes I did so, it's been working like a charm! the linux version seems to run a lot more smoothly than on windows. thanks again!


(also while I'm here: I know you're the flatpak mantainer, but the windows version doesn't appear to support dark mode, or at least I couldn't get it to work. cheers!)

from porymap.

JakobDev avatar JakobDev commented on August 25, 2024

Is the Dark Theme in the settings not available on Windows?

from porymap.

garakmon avatar garakmon commented on August 25, 2024

Should be

from porymap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.