debian/patches/
29 patches in series
-
mime_globs.diffWhen multiple globs match, and the result from magic sniffing is unrelated to any of those globs, globs have priority and one of them should be picked up.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
- Last update
- 2021-06-12
-
fusion_checkable_qpushbutton.diffThe fusion style did ignore the QIcon::On icon because it reset State_On to avoid the visual shift of a pressed button. But it's not needed to reset this flag - the shift does not happen because the fusion style does return 0 as offset for PM_ButtonShiftHorizontal/PM_ButtonShiftVertical so no shifting will happen.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e9ccdf4d84157173
- Last update
- 2021-08-10
-
openssl3.diff- Origin
- upstream: commits https://code.qt.io/cgit/qt/qtbase.git/commit/?id=3186ca3e3972cf46 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=408656c6f9de326c
- Last update
- 2023-10-17
-
qmenu_set_transient_parent.diffOn some platforms, such as X11 and Wayland with some compositors, QMenu could be a popup window, which should be set a transient parent to get relative position, which is requested by Wayland. Added transientParentWindow() for QMenuPrivate like QDialogPrivate.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=493a85a9e4688744
- Last update
- 2022-10-16
-
gnome_wayland.diffQt wayland platform plugin has improved quite a lot and it is now pretty much usable on Gnome. It also improves user experience a lot on HiDPI displays.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=dda7dab8274991e4
- Last update
- 2022-10-16
-
qshapedpixmapwindow_no_tooltip.diffThis hint is not really needed in the first place and only causes problems in some environments. For example in KDE, the compositor animates changes in position and size for all ToolTip windows. However, this is not wanted here because we use this window as a thumbnail for a drag-and-drop operation. Before this patch the dragged element would lag significantly behind the cursor. Now it works as expected, i.e. the dragged element follows the cursor immediately.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=180b496b537089b8
- Bug
- https://bugreports.qt.io/browse/QTBUG-98048
- Last update
- 2023-05-20
-
sql_odbc_more_unicode_checks.diffSince ODBC does not have a direct way finding out if unicode is supported by the underlying driver the ODBC plugin does some checks. As a last resort a sql statement is executed which returns a string. But even this may fail because the select statement has no FROM part which is rejected by at least Oracle does not allow. Therefore add another query which is correct for Oracle & DB2 as a workaround. The question why the first three statements to check for unicode availability fail is still open but can't be checked since I've no access to an oracle database.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f19320748d282b1e
- Last update
- 2024-05-25
-
a11y_root.diffAccessibility actually works when running applications as root, but we would never properly connect, since the enabledChanged signal would be emitted from the constructor in this case. So after connecting the signal, check the value by hand to make sure not to miss the notification. Only applications running as root would be affected, because all other applications would go through the asynchronous pattern of getting the bus address from dbus instead.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=db346e711c9af505
- Bug
- https://bugs.debian.org/1033995
- Last update
- 2023-04-15
-
dont_use_O_PATH.diffUsing O_PATH requires correctly specifying whether the fd is writable or not. Stating that the fd is writable without it actually being writable results into rejection on xdg-desktop-portal side. Other implementations like xdg-open or gtk have also moved away from O_PATH fds so this will make a matching implementation and avoid possible rejections from xdp.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=03cbcba7b2b0e42a
- Last update
- 2023-05-13
-
loongarch.diff- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=bdc16f086f1664b5
- Last update
- 2024-03-09
-
revert_statusnotifierhost_checking.diffThe original commit was made based on a KDE workaround for libdbusmenu-qt crash, but Qt is not using libdbusmenu-qt, Qt is not watching for StatusNotifierHost registration and Qt is not capable to switch backends on the fly leading to tray support being not detected on Plasma Wayland sessions and falling back to the poor legacy protocol on X11.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=447f3ade9a284d52
- Last update
- 2024-07-24
-
dont_fallback_to_x11_tray_on_non_x11.diffThis allows to have system tray support on the fly on Wayland at least where only QDBusTrayIcon is possible and no need to fallback to QSystemTrayIconSys- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f6cd286e6609cfbf
- Last update
- 2024-07-24
-
check_dbus_tray_availability_every_time.diffIt could appear in runtime, this allows applications to watch for it themselves and re-create QSystemTrayIcon as needed.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=3c93dedc063bf453
- Last update
- 2024-07-24
-
qreadwritelock_data_race.diffThe loadRelaxed() at the beginning of tryLockForRead/tryLockForWrite isn't enough to bring us the non-atomic write of the recursive bool. Same issue with the std::mutex itself.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=80d01c4ccb697b9d
- Last update
- 2025-12-14
-
qreadwritelock_data_race_2.diffThe fix changes the relaxed load of d_ptr in lockFor{Read,Write} after the acquire of the mutex to an acquire load, to establish synchronization with the release store of d_ptr when converting from an uncontended lock to a contended lock.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=4fd88011fa7975ce
- Last update
- 2025-12-14
-
dont_use_physical_dpi.diffReturning physical DPI from logicalDpi() is problematic, as explained in commit 77e04acb. The most predictable implementation is to never return physical DPI from QPlaformScreen::logicalDpi(). Other platform plugins already do this, and this change brings xcb in line with the rest of Qt. We have the QPlatformScreen::physicalSize() API which covers returning physical DPI (indirectly); Options for selecting which one to use can be implemented on top of these (see QT_USE_PHYSICAL_DPI).- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=7238123521708ec9
- Last update
- 2025-12-31
-
revert_simplify_locking.diffThis reverts commit c5d6b263c204cb09db2be36826e19acb03dc24fb. The commit being reverted assumes the mutex is only protecting 'nameMap' and nothing else is mutable, which is false. The mutex is not only protecting 'nameMap' but also protecting the containing value objects, since even though the value object is accessed read-only, its implementation mutates its internal states for 2-way conversion between ByteArray and QString. Commit 85e61297f7b02297641826332dbdbc845a88c34b ("restore QProcessEnvironment shared data thread safety on unix") said that implicit sharing together with 'mutable' is a time bomb and the bomb is triggered by the reverted commit.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=080d61c020678b75
- Last update
- 2026-01-29
-
balign.diffIt is architecture defined whether .align means .palign or .balign. Use .balign to make that explicit.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit?id=47a4e6a9497b068a
- Last update
- 2026-05-05
-
asn1_time_to_tm.diffOpenSSL 1.1.1 has a convenient function for parsing ASN.1 times; use that instead of the hand-rolled code.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0e240204b59c3398
- Last update
- 2026-06-10
-
openssl4.diffOpenSSL 4 now uses const in logical cases across its X.509 API; this patch updates Qt's TLS backend to compile against both 3.x and 4.x. To do this QT_OPENSSL4_CONST macro (expands to `const` on OpenSSL >= 4, empty otherwise) is introduced for functions which changed in OpenSSL 4. There were pre-existing functions that were already const in OpenSSL 3 but were declared without const in Qt's wrapper layer - they have now been fixed with plain const. ASN1_STRING was made opaque in OpenSSL 4, so replace direct access with use of accessor functions through the wrappers.- Origin
- upstream: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e806630e694d89f5
- Last update
- 2026-06-10
-
no_htmlinfo_example.diff- Author
- Dmitry Shachnev <[email protected]>
- Forwarded
- not-needed
- Last update
- 2014-12-17
-
-
link_fbclient.diff- Author
- Fathi Boudra <[email protected]>
- Forwarded
- no
- Last update
- 2017-06-30
-
-
-
path_max.diffUse a "safe" size in case PATH_MAX is not defined; in the end, this should not be used, as a allocating realpath() will be used instead.- Author
- Pino Toscano <[email protected]>
- Forwarded
- no
- Last update
- 2020-04-19
-
qstorageinfo_linux.diffThe QStorageInfo/QStorageIterator implementation used for Linux is used also on Hurd, as it uses an interface provided by GNU libc. QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd) to lookup a /dev/block/ path, which exists on Linux only; hence, perform that check within a Q_OS_LINUX block.- Author
- Pino Toscano <[email protected]>
- Forwarded
- no
- Last update
- 2020-04-19
-
cross_build_mysql.diffQt's build system calls mysql_config... which won't work in a cross build environment like Debian's, as it will throw an exec format error. In order to solve this call pkgconfig and use mysqlclient.pc.- Author
- Helmut Grohne <[email protected]>
- Reviewed-by
- Lisandro Damián Nicanor Pérez Meyer <[email protected]>
- Forwarded
- not-needed
- Debian bug
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
- Last update
- 2026-05-27
-
cast_types_for_egl_x11_test.diff- Author
- Rex Dieter <[email protected]>
- Origin
- https://src.fedoraproject.org/rpms/qt5-qtbase/blob/rawhide/f/qtbase-everywhere-src-5.15.2-libglvnd.patch