public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Wayland side-effect?
@ 2020-12-27 18:51 Michael
  2020-12-27 21:01 ` antlists
  0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2020-12-27 18:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]

I tried launching Plasma on Wayland and noticed on Kmail the message preview 
pane was black.  As I move the mouse around or click on it, the black preview 
window becomes transparent and the desktop wallpaper or other windows behind 
Kmail appear, but it can flip back to black if I continue moving the mouse.  
What I cannot see in the preview pane is the actual message content.  :-/

The content is there, as I can click on URLs contained in it, or email 
addresses - the cursor changes shape.  It's just no longer visible in the 
preview window pane, under any circumstances.

If I double click the message on the folder list it opens it up in a separate 
window, which shows the message content as it should.  I've tried resetting 
all Kmail Appearance settings to no avail.

Restarting the desktop using Xorg does NOT fix this problem.  Otherwise, both 
Plasma on Wayland and Xorg work fine - except the clipboard does not work on 
Wayland (middle click won't paste selected text on another window).

The Kmail preview window problem may be a coincidence, perhaps mesa or radeon 
drivers broke things at the latest update, but I only noticed it when I tried 
Wayland.  I recall a post in this M/L about Kmail with a similar/same problem, 
but can't find it at present.

Some questions:

Have you noticed anything similar, on Kmail or other applications, either 
running Wayland, or Xorg?

Is there some fix for this problem?

At what point will Wayland be considered the recommended way to run Linux 
desktops, instead of Xorg?

I'm thinking of holding fire before I try running Wayland on other 
installations - although I have no evidence Wayland is the cause of the Kmail 
preview pane breaking like this.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Wayland side-effect?
  2020-12-27 18:51 [gentoo-user] Wayland side-effect? Michael
@ 2020-12-27 21:01 ` antlists
  2020-12-28  0:10   ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: antlists @ 2020-12-27 21:01 UTC (permalink / raw
  To: gentoo-user

On 27/12/2020 18:51, Michael wrote:
> Restarting the desktop using Xorg does NOT fix this problem.  Otherwise, both
> Plasma on Wayland and Xorg work fine - except the clipboard does not work on
> Wayland (middle click won't paste selected text on another window).

This sounds to me like a side-effect of Wayland security. I don't really 
know anything about it, but I get the impression that talking between 
windows is an unsolved security problem.

Of course, it could be it's a solved problem, but you've hit a glitch...

Cheers,
Wol


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Wayland side-effect?
  2020-12-27 21:01 ` antlists
@ 2020-12-28  0:10   ` Michael
  2020-12-29 19:21     ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2020-12-28  0:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

On Sunday, 27 December 2020 21:01:09 GMT antlists wrote:
> On 27/12/2020 18:51, Michael wrote:
> > Restarting the desktop using Xorg does NOT fix this problem.  Otherwise,
> > both Plasma on Wayland and Xorg work fine - except the clipboard does not
> > work on Wayland (middle click won't paste selected text on another
> > window).
> 
> This sounds to me like a side-effect of Wayland security. I don't really
> know anything about it, but I get the impression that talking between
> windows is an unsolved security problem.
> 
> Of course, it could be it's a solved problem, but you've hit a glitch...
> 
> Cheers,
> Wol

Yes, the clipboard issue is due to the isolation between application windows 
for security reasons.  It should also stop keyloggers having a go at my 
typing.  Annoying nonetheless, I hadn't realised how much I use the middle-
click clipboard feature!  Selecting text with the mouse, then using right-
click Copy (or Ctrl+c) and right-click Paste (Ctrl+v) works, as a long winded 
alternative.

I wonder if the message preview pane problem in Kmail is also caused by the 
same wayland window isolation?  Hmm ...

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Wayland side-effect?
  2020-12-28  0:10   ` Michael
@ 2020-12-29 19:21     ` Michael
  0 siblings, 0 replies; 4+ messages in thread
From: Michael @ 2020-12-29 19:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1737 bytes --]

On Monday, 28 December 2020 00:10:54 GMT Michael wrote:
> On Sunday, 27 December 2020 21:01:09 GMT antlists wrote:
> > On 27/12/2020 18:51, Michael wrote:
> > > Restarting the desktop using Xorg does NOT fix this problem.  Otherwise,
> > > both Plasma on Wayland and Xorg work fine - except the clipboard does
> > > not
> > > work on Wayland (middle click won't paste selected text on another
> > > window).
> > 
> > This sounds to me like a side-effect of Wayland security. I don't really
> > know anything about it, but I get the impression that talking between
> > windows is an unsolved security problem.
> > 
> > Of course, it could be it's a solved problem, but you've hit a glitch...
> > 
> > Cheers,
> > Wol
> 
> Yes, the clipboard issue is due to the isolation between application windows
> for security reasons.  It should also stop keyloggers having a go at my
> typing.  Annoying nonetheless, I hadn't realised how much I use the middle-
> click clipboard feature!  Selecting text with the mouse, then using right-
> click Copy (or Ctrl+c) and right-click Paste (Ctrl+v) works, as a long
> winded alternative.
> 
> I wonder if the message preview pane problem in Kmail is also caused by the
> same wayland window isolation?  Hmm ...

The workaround for the black message preview pane is to resize the root Kmail 
window.  When redrawn the message preview pane shows its contents.  Resizing 
has to take place in a single operation and left alone for a few seconds.  If 
multiple resizing actions take place then invariably Kmail becomes 
unresponsive and crashes.  QtWayland complains about something or other not 
implemented, so I assume some coding in Kmail needs to be polished to make it 
work more smoothly in Wayland.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-29 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-27 18:51 [gentoo-user] Wayland side-effect? Michael
2020-12-27 21:01 ` antlists
2020-12-28  0:10   ` Michael
2020-12-29 19:21     ` Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox