Description
-
Sway Version: 1.6-85291411 (Apr 23 2021, branch 'master')
-
Debug Log:
...
00:24:46.745 [DEBUG] [wlr] [types/data_device/wlr_data_source.c:189] Offering additional MIME type after wl_data_device.set_selection
00:24:46.745 [DEBUG] [wlr] [xwayland/selection/incoming.c:486] XCB_XFIXES_SELECTION_NOTIFY (selection=276, owner=2097153)
00:24:46.746 [DEBUG] [wlr] [xwayland/selection/outgoing.c:375] XCB_SELECTION_REQUEST (time=0 owner=2097153, requestor=20971521 selection=276, target=278, property=438)
00:24:46.746 [DEBUG] [wlr] [xwayland/selection/outgoing.c:416] denying read access to selection 276 (CLIPBOARD): no xwayland surface focused
00:24:46.746 [DEBUG] [wlr] [xwayland/selection/outgoing.c:26] SendEvent destination=20971521 SelectionNot
ify(31) time=0 requestor=20971521 selection=276 target=278 property=0
00:24:46.746 [DEBUG] [wlr] [xwayland/selection/outgoing.c:375] XCB_SELECTION_REQUEST (time=0 owner=209715
3, requestor=20971521 selection=276, target=278, property=438)
00:24:46.746 [DEBUG] [wlr] [xwayland/selection/outgoing.c:416] denying read access to selection 276 (CLIP
BOARD): no xwayland surface focused
00:24:46.746 [DEBUG] [wlr] [xwayland/selection/outgoing.c:26] SendEvent destination=20971521 SelectionNot
ify(31) time=0 requestor=20971521 selection=276 target=278 property=0
00:24:46.746 [DEBUG] [wlr] [xwayland/selection/outgoing.c:375] XCB_SELECTION_REQUEST (time=0 owner=209715
3, requestor=20971521 selection=276, target=278, property=438)
...
- Description:
I had trouble before where Sway seemed to be non-responsive for a while - jerky mouse movement, slow reaction to keyboard, etc - and these problems seemed to occur most of the time when I had just copied something in Firefox. This time I was running Sway with -d and again I copied a URL in Firefox (running on Wayland). Suddenly the machine froze - worse than usual. After a while I managed to switch to a (VT) console and check the log file. By this time I had accumulated around 3.5GB of the same lines I pasted above - they repeated endlessly. I had just one Xwayland client running (xfreerdp) so I simply killed Xwayland and the problem went away immediately.
I should mention that xfreerdp was running on an invisible workspace when the problem occurred.
One additional note: it is possible that this issue is related to the specific formats Firefox adds for the clipboard content. I can't swear to it, but I think I have seen the problem almost exclusively when I copy from Firefox. I also use Vimium in Firefox, and I think the problem has never occurred when I use Vimium's "yank URL to clipboard" function instead of copying from the URL field in Firefox. I hope this information is useful to someone.
Activity