[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989744: marked as done (libqt5core5a: 5.15.2+dfsg-7 breaks MIME subclassing logic (which breaks some features in e.g. Dolphin))



Your message dated Mon, 28 Jun 2021 18:03:31 +0000
with message-id <E1lxvbX-0003Ub-Pj@fasolo.debian.org>
and subject line Bug#989744: fixed in qtbase-opensource-src 5.15.2+dfsg-8
has caused the Debian Bug report #989744,
regarding libqt5core5a: 5.15.2+dfsg-7 breaks MIME subclassing logic (which breaks some features in e.g. Dolphin)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
989744: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989744
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt5core5a
Version: 5.15.2+dfsg-7
Severity: normal
X-Debbugs-CC: Dennis Filder <d.filder@web.de>

Dear Maintainer,

yesterday evening I upgraded the binary packages for
src:qtbase-opensource-src from 5.15.2+dfsg-5 to 5.15.2+dfsg-7.  After
today's boot I noticed that all the file type associations in Dolphin
are broken.  All files only have the associations for the type
"all/allfiles" and directories those for type "all/all" rendering
Dolphin effectively unusable.

On a hunch I removed the glob patterns "*.*", "*.a*", and "*.j*"
(which I had added years ago since it was the only way to add
operations to all file types without adding a million MIME types
explicitly to the corresponding .desktop files) from the type
"all/allfiles" in System Settings -> Applications -> File Associations
and hit "Apply" while leaving "*" (which for some reason never worked
on its own) untouched.  Restarting Dolphin then restored the normal
behaviour (but without my operations for all file types, of course).

The changelog tells me that d/patches/mime_globs.diff was added
recently to fix something regarding the MIME type determination logic,
so that's probably the cause.

I cannot tell whether this is a bug in QMimeType provided by
qtbase-opensource-src or in a different component elsewhere that
merely uses QMimeType to find lists of applications association
definitions, but now broke due to changes in its behaviour.

The thing is: Wanting to associate certain applications to all file
types is a perfectly legitimate use-case, and it used to work.  The
Shared MIME-info Database specification mentions the concept of
subclassing (§ 2.11. Subclassing), and it should allow for exactly
this.  MIME types in a subclassing relationship should have their
application association definitions collected additively for the user
to choose from, and one association should not be able to just
overshadow all others.

The spec does not mention the MIME types "all/all" and "all/allfiles",
but Qt clearly defines them for the purpose of subclassing, and
already contains implicit subclassing logic for them.  The Qt
developers need to decide if they want to continue to offer this
feature by either fixing what broke or removing the MIME types
"all/all" and "all/allfiles" on account of being both
ineffective/superfluous and non-standard.

N.B.: In my search for a workaround I found out that unfortunately it
is not possible to associate an application with a wildcard MIME type
by adding e.g. "MimeType=video/*;" to a .desktop under
~/.local/share/applications/.

Regards,
Dennis Filder.

-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages libqt5core5a depends on:
ii  libc6                  2.31-12
ii  libdouble-conversion3  3.1.5-6.1
ii  libgcc-s1              10.2.1-6
ii  libglib2.0-0           2.66.8-1
ii  libicu67               67.1-6
ii  libpcre2-16-0          10.36-2
ii  libstdc++6             10.2.1-6
ii  libzstd1               1.4.8+dfsg-2.1
ii  shared-mime-info       2.0-1
ii  zlib1g                 1:1.2.11.dfsg-2

Versions of packages libqt5core5a recommends:
pn  qttranslations5-l10n  <none>

Versions of packages libqt5core5a suggests:
ii  libthai0  0.1.28-3

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.15.2+dfsg-8
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtbase-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 989744@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtbase-opensource-src package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Jun 2021 20:38:59 +0300
Source: qtbase-opensource-src
Architecture: source
Version: 5.15.2+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 989255 989744 990129
Changes:
 qtbase-opensource-src (5.15.2+dfsg-8) unstable; urgency=medium
 .
   [ Lu Yaning ]
   * Backport upstream patch to fix misplacement of placeholder text in
     QLineEdit with RTL content.
 .
   [ Dmitry Shachnev ]
   * Remove the qmimeprovider.cpp part of mime_globs.diff. It is unrelated
     to the original purpose of that patch, and causes various problems
     (closes: #989255, #989744, #990129).
Checksums-Sha1:
 bb1e505cf9c16e5b5dd3a90eb6d25c61697b9022 5479 qtbase-opensource-src_5.15.2+dfsg-8.dsc
 d33727b5866a27b3e0978b67bc16a097bdb8290b 260428 qtbase-opensource-src_5.15.2+dfsg-8.debian.tar.xz
 31f9e3c5e64721d480a02c02d2ba4ccf21ac8c9a 11280 qtbase-opensource-src_5.15.2+dfsg-8_source.buildinfo
Checksums-Sha256:
 2f5312290d304115a83166a875a75eb3567ab8497423d0e616b90b2415a8f60e 5479 qtbase-opensource-src_5.15.2+dfsg-8.dsc
 c3cea8b409af4ea19e2465ce53a4b44da002062da1f094afdf54a01222f6643e 260428 qtbase-opensource-src_5.15.2+dfsg-8.debian.tar.xz
 cd2c6332bb1debb2404e2f44dad495eb190158482e5773638d3ca2397b367f74 11280 qtbase-opensource-src_5.15.2+dfsg-8_source.buildinfo
Files:
 2cbf0d28b747514b72c4781aa1083264 5479 libs optional qtbase-opensource-src_5.15.2+dfsg-8.dsc
 4e568ec01f1fd1d9420dac9d608a7685 260428 libs optional qtbase-opensource-src_5.15.2+dfsg-8.debian.tar.xz
 3d18e350b0c67f0bcb71bd61d1a08da0 11280 libs optional qtbase-opensource-src_5.15.2+dfsg-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmDaCvUTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDywDgD/9tpB3HR9SV4P6vW6GY5qF/ucGPmeE3
nFXhEShcXVtbua5rrXPUF5nHS32BgfNnZE9MKPtg5zdo8LKd+jzsu9Xe717frMEm
90H9UNjUS6IRKkQItadiHwibEpcGA6k7JJ8n1W00rqFFBZ4nnNu9Lw9cB4plNwTP
iGUEvEc4+S1t4ZEecZUwOowmmPDCtr8yxe181OxfCL2qJoSescY4MW6Rt9PMdZsj
Hna3JsJrAXlbI2VTbmtl3+SorjXmBejXMr8ps2FD8NmPOq+t2dq77KomTsbvcn1p
lh+SL8tATyzS7CCKPXGo2+TJhiqb0ymZoPFCJm/+JiBk2jGrNsmt8mFjb5gVYKS5
NL/0Aj+1eTvJbZZTwW59d77LBSj7zvIx8kb91fhbpvFw2ynxnWM/aeIX7EKuXcCq
BCupOVIc4FH88SQg2hWxEo/azN7XlcSxkv5jqktMfXtLvJXLmkVwbAoYVJqEvndZ
Z3Tcd3ciApu45u+Kf8TVFizwvEeSZnwR8Ys/4tBxUHh5E+Ix1jq2x6lBXJjseq88
Bbe1Cg3XhDaNSQYWIzEeOVDWC6oNGdEg1opdDSWno0DuWdqn0zsnwLf6tfYLlZBk
Ezo+Skt+hv86dWfD8otGMcgaERURLlYkzDNRopjveW3EiKzX4IG7bjSHX5Zn4+Z0
SdtvX2H8m7Qssw==
=AmGU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: