keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
367 stars 102 forks source link

fix(linux): Fix icon for .kmp files #11295

Closed ermshiperete closed 6 days ago

ermshiperete commented 1 week ago

It seems some Ubuntu versions ignore the icon field and only use generic-icon, so this change adds that field. This will fix displaying the icon on newer Ubuntu versions. And since we keep the icon field it should still work everywhere else.

Fixes #11144.

User Testing

Preparations

Tests

TEST_ICON:

keymanapp-test-bot[bot] commented 1 week ago

User Test Results

Test specification and instructions

Test Artifacts

bharanidharanj commented 1 week ago

GROUP_WASTA: Wasta 20.04 with Cinnamon

bharanidharanj commented 1 week ago

Test Results

GROUP_NOBLE_WAYLAND: Ubuntu 24.04 Noble with Gnome Shell and Wayland

ermshiperete commented 1 week ago

@bharanidharanj What command do you use to install? I just tried with sudo apt install ./*.deb and that succeeded. Also, make sure you have all updates installed before trying to install Keyman (sudo apt update && sudo apt upgrade). Ubuntu 24.04 Noble got released yesterday - there have been a lot of changes in the last weeks leading up to the release.

bharanidharanj commented 1 week ago

@bharanidharanj What command do you use to install? I just tried with sudo apt install ./*.deb and that succeeded. Also, make sure you have all updates installed before trying to install Keyman (sudo apt update && sudo apt upgrade). Ubuntu 24.04 Noble got released yesterday - there have been a lot of changes in the last weeks leading up to the release.

@ermshiperete Here, What I did is: 1. Downloaded the PR build. 2. Opened it with terminal window. 3. Run the command to install the PR build and getting the above mentioned error message.

ermshiperete commented 1 week ago

@bharanidharanj ah, ok. Found the problem. Please run:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

then try the installation again.

ermshiperete commented 1 week ago

@keymanapp-test-bot retest GROUP_NOBLE_WAYLAND TEST_ICON

bharanidharanj commented 6 days ago

Test Results

GROUP_NOBLE_WAYLAND: Ubuntu 24.04 Noble with Gnome Shell and Wayland

..icon appears correctly in the Downloads window

..blank icon appears in the Firefox Download list

keyman-server commented 5 days ago

Changes in this pull request will be available for download in Keyman version 17.0.317-beta