Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78891 - [gnome-shell] Newly installed packages takes very long to appear in gnome's dash

Attached to Project: Arch Linux
Opened by Berin Aniesh (berinaniesh) - Monday, 26 June 2023, 06:38 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 27 June 2023, 04:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installing any software (pacman, yay) from the official repos or aur, takes very long (10 seconds?) to show up in gnome's dash. First I thought it to be an upstream bug, but I've been using gentoo with gnome and systemd and the packages installed show up instantly there. Is there some package cache refresh we can trigger with pacman hooks (or something)?

Additional info:
* package version(s) - gnome-shell-44.2 (but the issue is present for atleast an year)
* config and/or log files etc - N/A
* link to upstream bug report, if any - N/A

Steps to reproduce:
1. Install a package which has an icon in the dash (desktop file I guess).
2. Search for it in the dash, it won't be there.
3. Try again after some 10 seconds and it will be there.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 27 June 2023, 04:47 GMT
Reason for closing:  Upstream
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Monday, 26 June 2023, 07:52 GMT
Just tried in a fresh Gnome VM and cannot repro. Takes about 2, maybe 3 seconds max, which doesn't seem like a problem to me.

You are better off taking this kind of issue to the proper support channels (Forum/IRC/Mailing Lists/Reddit/etc) because it's too vague to be an actionable bug report. Hopefully someone can help troubleshoot the issue on your system. If an Arch packaging bug ends up being identified then of course please come back here and let us know the details.
Comment by Berin Aniesh (berinaniesh) - Monday, 26 June 2023, 21:22 GMT
  • Field changed: Percent Complete (100% → 0%)
Your observations are indeed correct. It takes 3 seconds to refresh the cache. But 3 seconds is still a lot of time. Other distros do it instantly after a package is installed. Can we fix the 3 seconds time for refreshing cache?
Comment by Toolybird (Toolybird) - Monday, 26 June 2023, 21:23 GMT
Please review the Arch bug guidelines [1] because your report is still not effective. It basically amounts to "it snot workz!". No log files, no evidence of an Arch packaging bug, no attempt to debug the issue, etc. This is why you are required to first of all visit the proper Arch support channels to seek help and gather detailed info in order to formulate a coherent bug report.

> 3 seconds is still a lot of time

???

> Other distros

"Other distros" are likely not on the same cutting edge pkg versions as Arch.

> Can we fix the 3 seconds time for refreshing cache?

What cache are you referring to? Gnome is a complex system.

In summary, unless evidence confirming an Arch packaging bug appears pronto, you'll need to visit the support channels and/or report it upstream.

[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines
Comment by Berin Aniesh (berinaniesh) - Tuesday, 27 June 2023, 00:24 GMT
@Toolybird, I understand your frustration, but I am just trying to help. As I said in the bug report, this has been the case for a very long time, I refrained myself from posting a bug report till I saw other distros do it faster. 2-3 seconds might not sound like a lot, but it adds up over time and over a lot of systems. The severity I set is "very-low" anyways.

"'Other distros' are not likely on the same cutting edge pkg versions as Arch" - I am using Gentoo at the moment and the `gnome-shell` version there is the same 44.2.

What cache are you referring to? - I am not sure, I am not a gnome developer, but I assume gnome-shell reads some database for installed applications (or directories of desktop files).

I am indeed not sure if it is an arch packaging bug, but again, I posted a bug report only because I saw Gentoo do it faster. I am happy to provide you with any log files you ask for.
Comment by Toolybird (Toolybird) - Tuesday, 27 June 2023, 04:47 GMT
So I just went to the trouble of installing Fedora 38. Guess what? It's exactly the same there.

Therefore, it's definitely *not* an Arch packaging bug. Feel free to report upstream.

Loading...