<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug with transparent apps and possible workarounds]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I think, it would be really nice to have transparent apps. At least for a terminal or for a messenger it would be a nice feature, if you could see the Lomiri background you selected.<br />
Unfortunately this does not seem to work on my device (Pixel 3a with 20.04 OTA-2) with following code:</p>
<pre><code>import QtQuick 2.6
import QtQuick.Window 2.2
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.2
import Lomiri.Components 1.3
import Qt.labs.settings 1.0

ApplicationWindow {
	flags: Qt.FramelessWindowHint | Qt.WA_TranslucentBackground
	title: "Test-App"
	color: "#00000000"
}
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1695050087534-example3_mini.png" alt="example3_mini.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1695050087573-example1_mini.png" alt="example1_mini.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1695050087625-example2_mini.png" alt="example2_mini.png" class=" img-fluid img-markdown" /><br />
The black image is how the app actually looks like and the next picture right of it is the screenshot that probably appears white, because it is a picture with transparent colors. The app only gets actually transparent, when I go to the app overview.</p>
<p dir="auto">This problem also seems to exist with the terminal app for some time now:<br />
<a href="https://gitlab.com/ubports/development/apps/lomiri-terminal-app/-/issues/57" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/ubports/development/apps/lomiri-terminal-app/-/issues/57</a></p>
<p dir="auto">Is it for everyone like this or is this only on some devices the case?</p>
<p dir="auto">As a workaround, it would be nice, if app developers could easily get the selected Lomiri background from somewhere and place it in their app as a background.</p>
<p dir="auto">I tried:</p>
<pre><code>gsettings get org.gnome.desktop.background picture-uri
</code></pre>
<p dir="auto">But this only gave me the default background ('file:///usr/share/backgrounds/lomiri-default-background.png') and not the one, that was selected by me.</p>
<p dir="auto"><strong>Does someone know where to find for the current background or does someone have a better solution?</strong></p>
]]></description><link>https://forums.ubports.com/topic/9373/bug-with-transparent-apps-and-possible-workarounds</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 03:35:13 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/9373.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Sep 2023 15:36:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug with transparent apps and possible workarounds on Tue, 19 Sep 2023 15:57:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keneda" aria-label="Profile: Keneda">@<bdi>Keneda</bdi></a> No, that's only for stage or windowed mode which is different from being configured as a tablet.</p>
]]></description><link>https://forums.ubports.com/post/75590</link><guid isPermaLink="true">https://forums.ubports.com/post/75590</guid><dc:creator><![CDATA[kugiigi]]></dc:creator><pubDate>Tue, 19 Sep 2023 15:57:30 GMT</pubDate></item><item><title><![CDATA[Reply to Bug with transparent apps and possible workarounds on Tue, 19 Sep 2023 14:00:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kugiigi" aria-label="Profile: kugiigi">@<bdi>kugiigi</bdi></a><br />
You can force tablet mode with UTTT also.</p>
]]></description><link>https://forums.ubports.com/post/75586</link><guid isPermaLink="true">https://forums.ubports.com/post/75586</guid><dc:creator><![CDATA[Keneda]]></dc:creator><pubDate>Tue, 19 Sep 2023 14:00:13 GMT</pubDate></item><item><title><![CDATA[Reply to Bug with transparent apps and possible workarounds on Tue, 19 Sep 2023 05:12:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johndoe" aria-label="Profile: johndoe">@<bdi>johndoe</bdi></a> You can configure your device as a <code>tablet</code>. Try checking here <code>/etc/device-info</code> or <code>/etc/ubuntu-touch-session.d/</code>. However, it also has other effects such as a different lockscreen layout.</p>
<p dir="auto">Side-stage is the split screen-like feature in Lomiri. It's currently tied with the <code>tablet</code> configuration so it's only enabled if your device is detected as a <code> tablet</code>. You can try hacking Lomiri's code if you're fine with that. The files are at <code>/usr/share/lomiri</code> and the relevant codes are here <a href="https://github.com/kugiigi/jerk-packages/blob/673d73e7e9cbeaaa39dc99aa9148318da6530619/Lomiri/Lomiri_Plus/focal/MOD/Shell.qml#L3903" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/kugiigi/jerk-packages/blob/673d73e7e9cbeaaa39dc99aa9148318da6530619/Lomiri/Lomiri_Plus/focal/MOD/Shell.qml#L3903</a></p>
<p dir="auto">This however is out of scope of the app development <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=56a73af4c47" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title="😄" alt="😄" /></p>
]]></description><link>https://forums.ubports.com/post/75581</link><guid isPermaLink="true">https://forums.ubports.com/post/75581</guid><dc:creator><![CDATA[kugiigi]]></dc:creator><pubDate>Tue, 19 Sep 2023 05:12:28 GMT</pubDate></item><item><title><![CDATA[Reply to Bug with transparent apps and possible workarounds on Mon, 18 Sep 2023 19:03:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kugiigi" aria-label="Profile: kugiigi">@<bdi>kugiigi</bdi></a> Oh wow, so it is actually possible. I thought it would be a some complicated problem with Lomiri.<br />
What is "side-stage" and how do I enable it? How would you need to hack Lomiri?</p>
]]></description><link>https://forums.ubports.com/post/75579</link><guid isPermaLink="true">https://forums.ubports.com/post/75579</guid><dc:creator><![CDATA[johndoe]]></dc:creator><pubDate>Mon, 18 Sep 2023 19:03:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bug with transparent apps and possible workarounds on Mon, 18 Sep 2023 18:35:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johndoe" aria-label="Profile: johndoe">@<bdi>johndoe</bdi></a> Honestly, I'm not sure why Canonical decided to put an opaque background behind apps  but disables it on tablets or when the side-stage is enabled. So at the moment, there's no way to do it via the app. You have to hack Lomiri to disable it or configure your device as a tablet.</p>
<p dir="auto">I enabled side-stage on my phone so transparent app does work <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=56a73af4c47" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title="😄" alt="😄" /></p>
<p dir="auto"><img src="/assets/uploads/files/1695062085022-screenshot20230919_023418330.png" alt="screenshot20230919_023418330.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forums.ubports.com/post/75577</link><guid isPermaLink="true">https://forums.ubports.com/post/75577</guid><dc:creator><![CDATA[kugiigi]]></dc:creator><pubDate>Mon, 18 Sep 2023 18:35:51 GMT</pubDate></item></channel></rss>