johanmattssonm / birdfont

A font editor for creating fonts in TTF, EOT, SVG and BIRDFONT format.
https://birdfont.org
439 stars 32 forks source link

Setting colours for a new theme does not work #167

Open Windsurfer01 opened 6 months ago

Windsurfer01 commented 6 months ago

I can create a new theme and name it, but I can't create new colours when clicking on the icons in 'Settings'. image I get to the stage shown in the screenshot, but whether I select the colour by clicking on it, or by entering the #RRGGBB value and clicking on set, the colours do not change. I have tried saving, quitting and reloading, but noting happens.

johanmattssonm commented 6 months ago

It works for me.

https://github.com/johanmattssonm/birdfont/assets/350392/e0825084-d111-41c7-b593-a95c984830d3

See the attached video. Is there something else I need to try?

Windsurfer01 commented 6 months ago

I updated Flatpak, and it was up to date, with a few comments.

$flatpak update Looking for updates… Info: (pinned) org.kde.Platform.Locale//5.15-21.08 is end-of-life, with reason: We strongly recommend moving to the latest stable version of the Platform and SDK Info: (pinned) org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason: The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform. Info: (pinned) org.freedesktop.Platform.ffmpeg-full//21.08 is end-of-life, with reason: org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version. Info: (pinned) org.freedesktop.Platform.VAAPI.Intel//21.08 is end-of-life, with reason: org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version. Info: (pinned) org.freedesktop.Platform.VAAPI.Intel//20.08 is end-of-life, with reason: org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version. Info: (pinned) org.freedesktop.Platform.VAAPI.Intel//19.08 is end-of-life, with reason: The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version Info: (pinned) org.freedesktop.Platform.VAAPI.Intel//18.08 is end-of-life, with reason: The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform. Info: (pinned) org.freedesktop.Platform.Locale//21.08 is end-of-life, with reason: org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version. Info: (pinned) org.freedesktop.Platform.GL.default//21.08 is end-of-life, with reason: org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version. Info: (pinned) org.freedesktop.Platform.GL.default//20.08 is end-of-life, with reason: org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version. Info: (pinned) org.freedesktop.Platform.GL.default//19.08 is end-of-life, with reason: The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version Nothing to do.

I loaded the LinuxMint system version and it worked. I then closed it and started the Flatpak version, and that worked correctly. They are supposedly unconnected, so very strange. All is now OK.

johanmattssonm commented 6 months ago

Thank you for the update.

johanmattssonm commented 6 months ago

Keeping this open just in case some one else finds the same problem.

Windsurfer01 commented 6 months ago

It looks like the mouse is not always working in FlatPak, but it is in the system version

johanmattssonm commented 6 months ago

Thanks for the update. I will look at it tonight.

Windsurfer01 commented 6 months ago

The fix seems to be to use these commands in the terminal: flatpak --user override --filesystem=/home/$USER/.icons/:ro flatpak --user override --filesystem=/usr/share/icons/:ro

johanmattssonm commented 6 months ago

Hi. I can't reproduce this issue. Tested it with the latest flatpak on Ubuntu.

Windsurfer01 commented 6 months ago

I just started BirdFont from the command line, and there was one error that may be significant: Gtk-Message: 12:16:50.706: Failed to load module "xapp-gtk3-module"


@.**:~$ flatpak run org.birdfont.BirdFont Start up timer started Starting Birdfont. Install crash handler. Installing crash handler File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/ Name: birdfont File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: settings Load settings from file: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/settings Set log handler to log_warning, log file will not be written. args.has_argument --show-debug-warnings-in-ui false File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: custom_2.theme Load theme default: dark.theme load_theme: custom_2.theme File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: custom_2.theme Load theme default: dark.theme File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: custom_2.theme Gtk-Message: 12:16:50.706: Failed to load module "xapp-gtk3-module"* Program version: 6.0.4 plus Generate static fallback font init_database with table FallbackFonts File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: fallback_fonts.sqlite init_database with table FallbackFonts OK. Create table FallbackFonts Create table FallbackFonts Found font: /app/share/birdfont/Roboto-Regular.ttf LoadFont.open_font default_font LoadFont.open_font default_font_fallback_loader Found font: /app/share/birdfont/NotoNaskhArabic-Regular.ttf Load font: /app/share/birdfont/birdfont-icons.birdfont cnc_open: false File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: birdfont-icons.config File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: birdfont_character_set.txt Open database: /app/share/birdfont/ucd.sqlite

SearchPaths.vala:18: Did not find file ucd-normalization.sqlite

Open (normalization) database: /usr/share/birdfont/ucd-normalization.sqlite Can't open database: 14, unable to open database file File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: key_bindings.xml Loading /app/share/birdfont/key_bindings.xml Select tab: Files Tab not found Files Select tab: Files File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: preview.html Start up time: 1.5101s Checking crash report. Has crash report: false Fallback glyphs has already been generated, skipping it. Select tab: Files Select tab: Files File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: settings

@.***:~$ sudo apt install xapp Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies. xapp : Depends: libxapp1 (= 2.2.8-1) but 2.8.2+virginia is to be installed E: Unable to correct problems, you have held broken packages.

On Sat, 17 Feb 2024 at 19:41, Johan Mattsson @.***> wrote:

Hi. I can't reproduce this issue. Tested it with the latest flatpak on Ubuntu.

— Reply to this email directly, view it on GitHub https://github.com/johanmattssonm/birdfont/issues/167#issuecomment-1950292184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5NEXN5JQHHXDLM4ANGR5DYUEBYFAVCNFSM6AAAAABDIUOBB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGI4TEMJYGQ . You are receiving this because you authored the thread.Message ID: @.***>

Windsurfer01 commented 6 months ago

Johan, I'm sorry, but I just do not understand how colour selection under settings works. Sometimes when I click on an icon to change the colour, it works, and after one or two changes, it all stops working. Also, the way the colour selection with the mouse is supposed to work is not clear. There seem to be more adjustment bars than necessary. I guess it is HSLA as per https://hslpicker.com/#42c0c2. But, if so, why is an alpha channel needed?

On Sun, 18 Feb 2024 at 12:29, Mike Sapsard @.***> wrote:

I just started BirdFont from the command line, and there was one error that may be significant: Gtk-Message: 12:16:50.706: Failed to load module "xapp-gtk3-module"


@.**:~$ flatpak run org.birdfont.BirdFont Start up timer started Starting Birdfont. Install crash handler. Installing crash handler File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/ Name: birdfont File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: settings Load settings from file: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/settings Set log handler to log_warning, log file will not be written. args.has_argument --show-debug-warnings-in-ui false File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: custom_2.theme Load theme default: dark.theme load_theme: custom_2.theme File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: custom_2.theme Load theme default: dark.theme File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: custom_2.theme Gtk-Message: 12:16:50.706: Failed to load module "xapp-gtk3-module"* Program version: 6.0.4 plus Generate static fallback font init_database with table FallbackFonts File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: fallback_fonts.sqlite init_database with table FallbackFonts OK. Create table FallbackFonts Create table FallbackFonts Found font: /app/share/birdfont/Roboto-Regular.ttf LoadFont.open_font default_font LoadFont.open_font default_font_fallback_loader Found font: /app/share/birdfont/NotoNaskhArabic-Regular.ttf Load font: /app/share/birdfont/birdfont-icons.birdfont cnc_open: false File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: birdfont-icons.config File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: birdfont_character_set.txt Open database: /app/share/birdfont/ucd.sqlite

SearchPaths.vala:18: Did not find file ucd-normalization.sqlite

Open (normalization) database: /usr/share/birdfont/ucd-normalization.sqlite Can't open database: 14, unable to open database file File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: key_bindings.xml Loading /app/share/birdfont/key_bindings.xml Select tab: Files Tab not found Files Select tab: Files File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: preview.html Start up time: 1.5101s Checking crash report. Has crash report: false Fallback glyphs has already been generated, skipping it. Select tab: Files Select tab: Files File in Directory: /home/mike/.var/app/org.birdfont.BirdFont/config/birdfont/ Name: settings

@.***:~$ sudo apt install xapp Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies. xapp : Depends: libxapp1 (= 2.2.8-1) but 2.8.2+virginia is to be installed E: Unable to correct problems, you have held broken packages.

On Sat, 17 Feb 2024 at 19:41, Johan Mattsson @.***> wrote:

Hi. I can't reproduce this issue. Tested it with the latest flatpak on Ubuntu.

— Reply to this email directly, view it on GitHub https://github.com/johanmattssonm/birdfont/issues/167#issuecomment-1950292184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5NEXN5JQHHXDLM4ANGR5DYUEBYFAVCNFSM6AAAAABDIUOBB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGI4TEMJYGQ . You are receiving this because you authored the thread.Message ID: @.***>