[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Is Wayland breaking the showing of PyQt5 window icons?
From: ullix <ullix () urkam ! de>
Date: 2023-12-22 12:14:37
Message-ID: 2f4babe1-e8b6-45e9-9852-172b3b0465ba () urkam ! de
[Download RAW message or body]
[Attachment #2 (text/plain)]
Looks like this PyQt5 command is also ignored on Wayland:
self.setGeometry(xpos, ypos, sw, sh)
ullix
Am 22.12.23 um 10:57 schrieb ullix:
>
> Using a PyQt5 dialog with setting "dialog.setWindowIcon(myIcon)" on a
> Raspi OS (based on Debian bookworm, running a Wayland server by
> default) has no effect. Not myIcon is shown, but instead always the
> default Python icon Datei:Python-logo-notext.svg – Wikipedia
>
> I read this is due to a bug in Wayland; is that true?
>
> Are there other things in PyQt which don't work on Wayland?
>
> ullix
>
>
[Attachment #3 (text/html)]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Looks like this PyQt5 command is also ignored on Wayland:</p>
<div
style="color: #3b3b3b;background-color: #ffffff;font-family: 'Droid Sans Mono', \
'monospace', monospace;font-weight: normal;font-size: 15px;line-height: \
20px;white-space: pre;"><div><span style="color: #001080;">self</span><span \
style="color: #3b3b3b;">.</span><span style="color: \
#795e26;">setGeometry</span><span style="color: #3b3b3b;">(</span><span \
style="color: #001080;">xpos</span><span style="color: #3b3b3b;">, </span><span \
style="color: #001080;">ypos</span><span style="color: #3b3b3b;">, </span><span \
style="color: #001080;">sw</span><span style="color: #3b3b3b;">, </span><span \
style="color: #001080;">sh</span><span style="color: \
#3b3b3b;">)</span></div><div><span style="color: #3b3b3b;">
</span></div><div><span style="color: #3b3b3b;">ullix</span></div><div><span
style="color: #3b3b3b;">
</span></div></div>
<p></p>
<div class="moz-cite-prefix">Am 22.12.23 um 10:57 schrieb ullix:<br>
</div>
<blockquote type="cite"
cite="mid:7436d575-4f74-442b-858f-cce9ea9324db@urkam.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Using a PyQt5 dialog with setting
"dialog.setWindowIcon(myIcon)" on a Raspi OS (based on Debian
bookworm, running a Wayland server by default) has no effect.
Not myIcon is shown, but instead always the default Python icon
<img
src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/1869px-Python-logo-notext.svg.png"
class="sFlh5c pT0Scc iPVvYb"
style="max-width: 1869px; margin: 0px;"
alt="Datei:Python-logo-notext.svg – Wikipedia"
aria-hidden="false" moz-do-not-send="true" width="30"
height="33"></p>
<p>I read this is due to a bug in Wayland; is that true?</p>
<p>Are there other things in PyQt which don't work on Wayland?</p>
<p>ullix</p>
<p><br>
</p>
</blockquote>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic