alphabetical-grid-extension icon indicating copy to clipboard operation
alphabetical-grid-extension copied to clipboard

[Bug] New apps aren't sorted, instead stuck at the end of the grid until manually triggered

Open InklingGirl opened this issue 2 years ago • 5 comments

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:

  1. Install Alphabetical App Grid via Web browser
  2. Install any package that generates a .desktop graphical menu shortcut
  3. Check GNOME app grid
  4. 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

InklingGirl avatar Apr 24 '22 11:04 InklingGirl

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 :)

stuarthayhurst avatar Apr 24 '22 15:04 stuarthayhurst

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!

InklingGirl avatar Apr 24 '22 22:04 InklingGirl

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.

PJ-Singh-001 avatar Apr 27 '22 19:04 PJ-Singh-001

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

stuarthayhurst avatar Apr 27 '22 19:04 stuarthayhurst

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.

stuarthayhurst avatar May 10 '22 21:05 stuarthayhurst