alphabetical-grid-extension
alphabetical-grid-extension copied to clipboard
[Bug] New apps aren't sorted, instead stuck at the end of the grid until manually triggered
Describe the issue The GNOME app grid becomes de-alphabetised whenever a new app is installed, only re-alphabetising when this extension is turned off & on again.
To Reproduce Steps to reproduce the behavior:
- Install Alphabetical App Grid via Web browser
- Install any package that generates a .desktop graphical menu shortcut
- Check GNOME app grid
- Observe that your installed apps are de-alphabetised, piling up at the end
Expected behavior I expect everything to remain permanently alphabetised & that newly installed apps should be placed alphabetically.
System information (please complete the following information)
- Distro: Ubuntu 22.04 LTS Jammy Jellyfish w/ Wayland as windowing server
- GNOME version: GNOME 42
- Extension version:
Version: 23
Can you confirm that moving an app to a new position will also trigger the correct order, instead of toggling the extension? I'll get to fixing this as soon as I can, thanks for the report :)
Can you confirm that moving an app to a new position will also trigger the correct order, instead of toggling the extension?
Yes @stuarthayhurst, moving an app's position resets the whole grid to an alphabetical state, which is much easier. That & toggling the extension are the only ways. I hope there's an easy fix in your troubleshooting of the JS!
After I install a new app, it is shown at the end of the list.
If I turn the extension off and on, the apps become sorted alphabetically. However, if I log out and log back-in, the apps are no longer sorted alphabetically.
I also have the same issue if I trigger the resorting by moving the app. When I log out and log back-in, the apps are no longer sorted alphabetically.
After I install a new app, it is shown at the end of the list.
If I turn the extension off and on, the apps become sorted alphabetically. However, if I log out and log back-in, the apps are no longer sorted alphabetically.
I also have the same issue if I trigger the resorting by moving the app. When I log out and log back-in, the apps are no longer sorted alphabetically.
I'll tackle this in #65, as it's a probably different cause showing the same symptom
I got a bit of time to troubleshoot this, and the extension applies the reorder, it's just overridden or ignored when the app grid opens for some reason. Potentially I could delay the reorder until the app grid is reopened, but I can't find a reliable way to detect the app grid has been opened.