Giter Club home page Giter Club logo

Comments (7)

arvanus avatar arvanus commented on August 18, 2024 1

Hello, @Jdochoa I simply copied everything to user folder in the first time the user saves the preferences. From this point Fr will use the user folder to look for styles
I did this for simplicity reasons and to not change too much code

from flamerobin.

arvanus avatar arvanus commented on August 18, 2024

Hi @kalwados maybe change the installer to move styles to C:\Users\(user name)\AppData\Local\flamerobin, and let Flamerobin decide if there is a local folder, use it, if not use from user folder (because you can use Flamerobin portable)
I image thar the same behavior occurs at Linux (if someone could try)
@Jdochoa can you take a look?

The setup need to save to %user%\AppData\Local\flamerobin\xml-styles
The app need to look for first at %user%\AppData\Local\flamerobin\xml-styles then secondly if not found at .\xml-styles (current)

from flamerobin.

kalwados avatar kalwados commented on August 18, 2024

The setup need to save to %user%\AppData\Local\flamerobin\xml-styles
The app need to look for first at %user%\AppData\Local\flamerobin\xml-styles then secondly if not found at .\xml-styles (current)

No. The setup runs with administrator rights, which can be a complete different user than the user which will run the application (or several users on same machine; think of terminal server) . The only reliable way is to let Flamerobin itself copy the xml files into the current user folder. Or at least use the user's folder when saving a style modified from the default.

from flamerobin.

arvanus avatar arvanus commented on August 18, 2024

hum, let me try something

from flamerobin.

arvanus avatar arvanus commented on August 18, 2024

Please try this version
flamerobin-0.9.8-styles-setup-x64.zip
flamerobin-0.9.8-styles-setup.zip

Commit arvanus@4c2addf
If it work I'll merge later into main repo

from flamerobin.

kalwados avatar kalwados commented on August 18, 2024

OK, no error messages while saving modified styles. Thank you.
But the whole style-edit-dialog does not work as I expect. I would like to use the "DarkModeDefault"; with Font "Consolas" and 12 pt. font size. Since the "set editor font" option does nothing since the past released, I used the "Global override" entry to set my font configuration, but at least the font size is not persistent als falls back to 10 pt. Also the selected font name "Consolas" is not copy into the other style items.

from flamerobin.

Jdochoa avatar Jdochoa commented on August 18, 2024

IMHO the initial .xml files should be stored in the installation folder and the modifications in the user folder.

./jo

from flamerobin.

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.