Control: reopen -1
Control: forwarded -1 
https://gitlab.com/ubports/development/core/lomiri-ui-toolkit/-/issues/34

Hi Mike!

On Fri, Feb 02, 2024 at 12:34:40AM +0000, Debian FTP Masters wrote:
> Source: lomiri-ui-toolkit
> Source-Version: 1.3.5012+dfsg-1
> Done: Mike Gabriel <sunwea...@debian.org>
> 
> We believe that the bug you reported is fixed in the latest version of
> lomiri-ui-toolkit, 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.

In the original bug report, I mentioned that there are two issues.
The new upstream release fixes the first one, but not the second one.

As a temporary measure until upstream fixes this properly, I can suggest
the attached patch that I applied in Ubuntu.

--
Dmitry Shachnev
Description: disable the test that fails with Qt 5.15.11
Author: Dmitry Shachnev <mity...@debian.org>
Forwarded: not-needed
Bug: https://gitlab.com/ubports/development/core/lomiri-ui-toolkit/-/issues/34
Last-Update: 2024-01-13

--- a/tests/unit/units/dpr1/tst_units.cpp
+++ b/tests/unit/units/dpr1/tst_units.cpp
@@ -41,6 +41,7 @@ private Q_SLOTS:
         QCOMPARE(units.gridUnit(), 42.0f);
     }
 
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 11)
     void gridUnitEnvironmentVariable() {
         QByteArray gridUnit = QString::number(11).toLocal8Bit();
         qputenv("GRID_UNIT_PX", gridUnit);
@@ -48,6 +49,7 @@ private Q_SLOTS:
         QCOMPARE(units.gridUnit(), 11.0);
         qunsetenv("GRID_UNIT_PX");
     }
+#endif
 
     void dpGridUnitDefault() {
         UCUnits units;

Attachment: signature.asc
Description: PGP signature

Reply via email to