Article View: linux.debian.devel.release
Article #328Bug#1153056: trixie-pu: package lomiri-session/0.3-11+deb13u1
From: Mike Gabriel
Date: Wed, 04 Nov 2026 21:10
Date: Wed, 04 Nov 2026 21:10
210 lines
10953 bytes
10953 bytes
This is a multi-part MIME message sent by reportbug.
--===============7446755110603924091==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: lomiri-session@packages.debian.org
Control: affects -1 + src:lomiri-session
User: release.debian.org@packages.debian.org
Usertags: pu
Please accept upload of lomiri-session to Debian trixie.
[ Reason ]
This is one of three trixie-pu uploads (lomiri-schemas, lomiri-session,
lomiri) addressing UI scaling problems of Debian Lomiri based tablets in
Debian Edu.
Without this series of uploads, tablets with a high display resolution show
a Lomiri shell with very tiny controls, icons and fonts.
This patch series cherry-picks targeted changes from upstream to fix this
by providing a global-scaling-factor gsettings property that can be used
by sysadmins to configure the UI scaling.
The approach of configuring scaling for Lomiri in Debian 13 will be the
same mechanism that we (Lomiri upstream) are currently providing for
Lomiri in Debian 14 (i.e. via gsettings).
The global-scaling-factor fix requires lomiri-schemas 0.1.8-1+deb13u1
(see #1153050).
Additionally, there is a Qt6 HiDPI scaling fix (in Lomiri, Qt6 apps must
not auto-scale if a HiDPI display is detected, otherwise double-scaling
will occur) shipped in this upload.
The third patch adds support for newer lomiri-calendar-app versions
installed as Snap packages or from Debian trixie-backports (upload is
planned).
[ Impact ]
Scaling of Lomiri Operating Environment remains broken / unavailable.
lomiri-calendar-app backport will fail to run against mkcal backend.
[ Tests ]
Tests on three different tablet devices + tests in a VM.
[ Risks ]
Only for Lomiri users of Debian 13.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
+lomiri-session (0.3-11+deb13u1) trixie; urgency=medium
+
+ * debian/patches:
+ + Add 0001_disable-qt6-hidpi.patch. Disable Qt(6)-native HiDPI scaling. We
+ handle that fully in Mir.
+ + Add 0002_Apply-scaling-factor-from-GSettings.patch. Apply global-scaling-
+ factor from com.lomiri.touch.system to GRID_UNIT_PX prior to session
+ startup.
+ * debian/control:
+ + Require (lomiri-desktop-session) lomiri-schemas 0.1.8-1+deb13u1~.
+
+ -- Mike Gabriel <sunweaver@debian.org> Thu, 10 Sep 2026 17:28:25 +0200
[ Other info ]
Relevant for Debian Edu tablets being part of Debian Edu 13.
--===============7446755110603924091==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="lomiri-session_0.3-11_0.3-11+deb13u1.debdiff"
diff -Nru lomiri-session-0.3/debian/changelog lomiri-session-0.3/debian/changelog
--- lomiri-session-0.3/debian/changelog 2025-06-07 00:16:15.000000000 +0200
+++ lomiri-session-0.3/debian/changelog 2026-09-10 17:28:25.000000000 +0200
@@ -1,3 +1,16 @@
+lomiri-session (0.3-11+deb13u1) trixie; urgency=medium
+
+ * debian/patches:
+ + Add 0001_disable-qt6-hidpi.patch. Disable Qt(6)-native HiDPI scaling. We
+ handle that fully in Mir.
+ + Add 0002_Apply-scaling-factor-from-GSettings.patch. Apply global-scaling-
+ factor from com.lomiri.touch.system to GRID_UNIT_PX prior to session
+ startup.
+ * debian/control:
+ + Require (lomiri-desktop-session) lomiri-schemas 0.1.8-1+deb13u1~.
+
+ -- Mike Gabriel <sunweaver@debian.org> Thu, 10 Sep 2026 17:28:25 +0200
+
lomiri-session (0.3-11) unstable; urgency=medium
* debian/10_debian-lomiri.gschema.override:
diff -Nru lomiri-session-0.3/debian/control lomiri-session-0.3/debian/control
--- lomiri-session-0.3/debian/control 2025-05-15 09:14:38.000000000 +0200
+++ lomiri-session-0.3/debian/control 2026-09-10 17:28:25.000000000 +0200
@@ -25,6 +25,7 @@
lomiri (>= 0.2.1-12~),
lomiri-content-hub,
lomiri-terminal-app,
+ lomiri-schemas (>= 0.1.8-1+deb13u1~),
user-session-migration,
xdg-user-dirs,
${misc:Depends},
diff -Nru lomiri-session-0.3/debian/patches/0001_disable-qt6-hidpi.patch lomiri-session-0.3/debian/patches/0001_disable-qt6-hidpi.patch
--- lomiri-session-0.3/debian/patches/0001_disable-qt6-hidpi.patch 1970-01-01 01:00:00.000000000 +0100
+++ lomiri-session-0.3/debian/patches/0001_disable-qt6-hidpi.patch 2026-09-10 17:28:25.000000000 +0200
@@ -0,0 +1,22 @@
+From 8207f479b61ada29c2f85616683641e4e155d206 Mon Sep 17 00:00:00 2001
+From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Date: Wed, 9 Sep 2026 21:43:20 +0200
+Subject: [PATCH] lomiri-session.in: Prevent Qt6 applications (such as
+ Morph-Qt6 and QWE/Qt6) from double scaling on devices with high display
+ resolutions.
+
+---
+ lomiri-session.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/lomiri-session.in
++++ b/lomiri-session.in
+@@ -54,6 +54,8 @@
+ export UITK_ICON_THEME=suru
+ export ALARM_BACKEND=mkcal
+ export LOMIRI_ORGANIZER_BACKEND=mkcal
++export QT_ENABLE_HIGHDPI_SCALING=0
++dbus-update-activation-environment --systemd QT_ENABLE_HIGHDPI_SCALING=${QT_ENABLE_HIGHDPI_SCALING}
+ dbus-update-activation-environment --systemd UITK_ICON_THEME=suru
+ dbus-update-activation-environment --systemd ALARM_BACKEND=mkcal
+ dbus-update-activation-environment --systemd LOMIRI_ORGANIZER_BACKEND=mkcal
diff -Nru lomiri-session-0.3/debian/patches/0002_Apply-scaling-factor-from-GSettings.patch lomiri-session-0.3/debian/patches/0002_Apply-scaling-factor-from-GSettings.patch
--- lomiri-session-0.3/debian/patches/0002_Apply-scaling-factor-from-GSettings.patch 1970-01-01 01:00:00.000000000 +0100
+++ lomiri-session-0.3/debian/patches/0002_Apply-scaling-factor-from-GSettings.patch 2026-09-10 17:28:25.000000000 +0200
@@ -0,0 +1,24 @@
+From b763d28a3b1123416b88dfa943d5c506b45d67bf Mon Sep 17 00:00:00 2001
+From: Guido Berhoerster <guido+ubports@berhoerster.name>
+Date: Tue, 23 Jun 2026 13:02:47 +0200
+Subject: [PATCH] Apply scaling factor from GSettings
+
+---
+ lomiri-session.in | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/lomiri-session.in
++++ b/lomiri-session.in
+@@ -39,6 +39,12 @@
+ dbus-update-activation-environment --systemd GRID_UNIT_PX=${GRID_UNIT_PX}
+ fi
+
++GSETTINGS_GRID_UNIT_PX=$( gsettings get com.lomiri.touch.system global-scaling-factor | LC_ALL=C awk '{printf("%.f\n", ENVIRON["GRID_UNIT_PX"]*$1)}' )
++if (( GSETTINGS_GRID_UNIT_PX >= 4 )); then
++ export GRID_UNIT_PX=$GSETTINGS_GRID_UNIT_PX
++ dbus-update-activation-environment --systemd GRID_UNIT_PX=${GRID_UNIT_PX}
++fi
++
+ # Hack for virtual machines that fails to probe modeset
+ if ([ -x "$(command -v hostnamectl)" ] && [ "$(hostnamectl status | grep 'Chassis: vm')" ]) \
+ || grep -wq hypervisor /proc/cpuinfo; then
diff -Nru lomiri-session-0.3/debian/patches/2027_set_mkcal_as_the_organizer_backend_storage_patch.patch lomiri-session-0.3/debian/patches/2027_set_mkcal_as_the_organizer_backend_storage_patch.patch
--- lomiri-session-0.3/debian/patches/2027_set_mkcal_as_the_organizer_backend_storage_patch.patch 1970-01-01 01:00:00.000000000 +0100
+++ lomiri-session-0.3/debian/patches/2027_set_mkcal_as_the_organizer_backend_storage_patch.patch 2026-09-10 17:28:25.000000000 +0200
@@ -0,0 +1,21 @@
+Subject: [PATCH] 2027_set_mkcal_as_the_organizer_backend_storage.patch
+---
+Index: lomiri-session.in
+IDEA additional info:
+Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
+<+>UTF-8
+===================================================================
+diff --git a/lomiri-session.in b/lomiri-session.in
+--- a/lomiri-session.in (revision 171ea682c0d6ff85c2d3cc7394756228fec8ce50)
++++ b/lomiri-session.in (date 1756369580042)
+@@ -51,8 +51,10 @@
+ export MALIIT_FORCE_DBUS_CONNECTION=1
+ export UITK_ICON_THEME=suru
+ export ALARM_BACKEND=mkcal
++export LOMIRI_ORGANIZER_BACKEND=mkcal
+ dbus-update-activation-environment --systemd UITK_ICON_THEME=suru
+ dbus-update-activation-environment --systemd ALARM_BACKEND=mkcal
++dbus-update-activation-environment --systemd LOMIRI_ORGANIZER_BACKEND=mkcal
+ dbus-update-activation-environment --systemd MALIIT_FORCE_DBUS_CONNECTION=1
+ dbus-update-activation-environment --systemd QT_IM_MODULE=maliit
+ dbus-update-activation-environment --systemd GTK_IM_MODULE=maliit
diff -Nru lomiri-session-0.3/debian/patches/series lomiri-session-0.3/debian/patches/series
--- lomiri-session-0.3/debian/patches/series 2025-06-06 16:29:41.000000000 +0200
+++ lomiri-session-0.3/debian/patches/series 2026-09-10 17:28:25.000000000 +0200
@@ -2,4 +2,7 @@
2024_user-session-migration-integration.patch
2025_run_xdg_user_dirs_update.patch
2026_set_mkcal_as_the_alarm_backend_storage.patch
+2027_set_mkcal_as_the_organizer_backend_storage_patch.patch
1001_mark-session-as-running-in-VM-via-envvar.patch
+0001_disable-qt6-hidpi.patch
+0002_Apply-scaling-factor-from-GSettings.patch
--===============7446755110603924091==--
Technical Details
Message-ID:
<NVQp3-9RMc-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release Subject: Bug#1153056: trixie-pu: package lomiri-session/0.3-11+deb13u1 Date: Wed, 04 Nov 2026 22:10:01 +0100 Message-ID: <NVQp3-9RMc-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 4 21:09:18 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1153056@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: lomiri-session@packages.debian.org, debian-release@lists.debian.org X-Debian-Pr-Message: report 1153056 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie Content-Type: multipart/mixed; boundary="===============7446755110603924091==" MIME-Version: 1.0 X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000691 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 210 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 04 Nov 2026 22:08:31 +0100 X-Original-Message-ID: <179382651194.3203066.8698955320729434135.reportbug@sunobo>