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#22936 - [qt] execute update-desktop-database in install script

Attached to Project: Arch Linux
Opened by Matthias Dienstbier (fs4000) - Thursday, 17 February 2011, 23:46 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 17 March 2011, 15:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Qt installs a desktop file which associates it with mime types but doesn't rebuild the cache database for such associations via update-desktop-database.
Please make sure "update-desktop-database -q" gets run after install/upgrade/remove and add a dependency to desktop-file-utils if not already satisfied.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 17 March 2011, 15:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt 4.7.2-1
Comment by Pierre Schmitz (Pierre) - Friday, 18 February 2011, 07:21 GMT
This is gnome specific, isn't it?
Comment by Andrea Scarpino (BaSh) - Friday, 18 February 2011, 07:47 GMT
what do you mean Pierre? Anyway, fixed on trunk
Comment by Jan de Groot (JGC) - Friday, 18 February 2011, 07:53 GMT
Nope, it's a freedesktop standard for ages. Hope Qt and KDE apps also use this, it would be very slow to parse each and every desktop file whenever something requests a mime-type.
Comment by Pierre Schmitz (Pierre) - Friday, 18 February 2011, 15:54 GMT
I see. My question has as little information as the original report. ;-) I am not sure if it's used by non-Gnome apps. At least there are no dependencies on desktop-file-utils. Long story short: this needs some research if there are probably a lot of packages with a missing dependency.

PS: I hope we can implement such things as hooks some day.
Comment by Matthias Dienstbier (fs4000) - Friday, 18 February 2011, 17:11 GMT
I think, KDE has its own per-user cache that automatically gets rebuild whenever some files on the filesystem have changed. So KDE users aren't affected by this bug, but if you make a fresh install of Qt and want to open a "application/x-designer" file in any other desktop that relys on this freedesktop standard it will fail until anything executes update-desktop-database.

Loading...