[BRLTTY] Regression: Making selection in BRLTTY clear X clipboard

Aura Kelloniemi kaura.dev at sange.fi
Sun Nov 7 13:31:36 EST 2021


Hi

On 2021-11-07 at 18:12 +0100, Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
 > Aura Kelloniemi, le ven. 05 nov. 2021 14:48:55 +0200, a ecrit:
 > > I can try to provide more information, if needed.

 > Please pass -v to xbrlapi so we know what it's doing.

xbrlapi sees all clipboard changes properly, it seems. It just does not seem
to update X clipboard correctly.

Attached is an xbrlapi output. I did the following things:

- Started X
  - This starts xbrlapi, orca and brltty
  - Then 'termite' is started (a terminal emulatro)
  - Awesome window manager is started

- I started LibreOffice Writer
  - I tried to paste with CTRL-V. It did not work.
  - I tried to paste with BRLTTY, it did not work.
    (BRLTTY does not seem to read clipboard contents from BrlAPI when started)
  - I selected some text and cut it to the X clipboard with CTRL-X
    - Now I could paste this text with CTRL-V or with BRLTTY
  - I switched to a VT and selected some text with BRLTTY
    - Now I can paste this text with BRLTTY
    - But I cannot paste the text with CTRL-V

Also, orca announces all X clipboard events. When I select text with BRLTTY,
it does not announce any clipboard changes.

-- 
Aura

-------------- next part --------------
new clipboard content from BrlAPI: 'Original text'
0x00000001 (1) got focus
xbrlapi: didn't grab window 0x00000001 but got focus
unknown got focus
win 0x00600004 created
type 1f name Awesome WM_Sn selection owner window len 37
win 0x00600005 created
type 13b name awesome len 8
win 0x00600006 created
type 1f name Awesome systray window len 23
win 0x00600007 created
type 1f name Awesome no input window len 24
win 0x0060000d created
type 1f name Awesome drawin len 15
win 0x00800001 created
type 13b name termite len 8
win 0x00a00001 created
type 13b name orca len 5
win 0x00800003 created
type 13b name  len 1
WM_NAME property of 0x00800001 changed
type 13b name termite len 8
WM_NAME property of 0x00800001 changed
type 13b name termite len 8
win 0x0080000d created
WM_NAME property of 0x00800003 changed
type 13b name aura at solaria:~ len 15
WM_NAME property of 0x00800003 changed
type 13b name aura at solaria:~ len 15
win 0x00600010 created
type 1f name Awesome drawin len 15
0x00600007 (6291463) got focus
Awesome no input window got focus
win 0x0060001b created
0x00800003 (8388611) got focus
aura at solaria:~ got focus
win 0x01000001 created
win 0x01200001 created
type 1f name LibreOffice len 12
WM_NAME property of 0x01200001 changed
type 1f name LibreOffice len 12
win 0x0060001e created
win 0x01400002 created
win 0x01400002 destroyed
win 0x01400001 created
type 13b name LibreOffice 7.2 len 16
win 0x01400003 created
type 13b name LibreOffice 7.2 len 16
WM_NAME property of 0x01400001 changed
type 13b name LibreOffice 7.2 len 16
WM_NAME property of 0x01400001 changed
type 13b name LibreOffice 7.2 len 16
win 0x01400009 created
win 0x01400016 created
type 13b name LibreOffice 7.2 len 16
WM_NAME property of 0x01400003 changed
type 13b name VCL ImplGetDefaultWindow len 25
WM_NAME property of 0x01400003 changed
type 13b name VCL ImplGetDefaultWindow len 25
win 0x01400024 created
type 13b name LibreOffice 7.2 len 16
win 0x01400025 created
win 0x01200001 destroyed
win 0x0060001e destroyed
win 0x0060001f created
0x01400024 (20971556) got focus
LibreOffice 7.2 got focus
WM_NAME property of 0x01400024 changed
type 13b name Nimet?n 1 - LibreOffice Writer len 32
Nimet?n 1 - LibreOffice Writer got focus
WM_NAME property of 0x01400024 changed
type 13b name Nimet?n 1 - LibreOffice Writer len 32
Nimet?n 1 - LibreOffice Writer got focus
0x01400025 (20971557) got focus
window without name got focus
win 0x01400050 created
type 13b name LibreOffice 7.2 len 16
0x000006b0 (1712) got focus
0x00800003 (8388611) got focus
aura at solaria:~ got focus
0x000006b0 (1712) got focus
0x01400024 (20971556) got focus
Nimet?n 1 - LibreOffice Writer got focus
0x01400024 (20971556) got focus
Nimet?n 1 - LibreOffice Writer got focus
0x000006b0 (1712) got focus
0x00800003 (8388611) got focus
aura at solaria:~ got focus
0x000006b0 (1712) got focus
0x01400024 (20971556) got focus
Nimet?n 1 - LibreOffice Writer got focus
0x01400025 (20971557) got focus
window without name got focus
0x01400025 (20971557) got focus
window without name got focus
new clipboard content from X: 'New text from X'
win 0x00a00002 created
type 13b name orca len 5
WM_NAME property of 0x00a00001 changed
type 13b name orca len 5
WM_NAME property of 0x00a00001 changed
type 13b name orca len 5
win 0x00a00005 created
type 13b name orca len 5
win 0x00a00005 destroyed
new clipboard content from BrlAPI: 'New text from BRLTTY in a text console'
win 0x01402902 created
type 13b name Tallenna asiakirja? len 20
win 0x00600025 created
0x01402902 (20982018) got focus
Tallenna asiakirja? got focus
0x00600025 (6291493) got focus
window without name got focus
win 0x01402903 destroyed
destroy: didn't grab window 0x01402903
win 0x01402902 destroyed
0x01400024 (20971556) got focus
Nimet?n 1 - LibreOffice Writer got focus
win 0x00600025 destroyed
0x0060001f (6291487) got focus
window without name got focus
win 0x01400025 destroyed
win 0x01400024 destroyed
0x00800003 (8388611) got focus
aura at solaria:~ got focus
win 0x0060001f destroyed
win 0x01400001 destroyed
win 0x01400004 destroyed
destroy: didn't grab window 0x01400004
win 0x01400003 destroyed
win 0x01400009 destroyed
win 0x01400050 destroyed
win 0x01400017 destroyed
destroy: didn't grab window 0x01400017
win 0x01400016 destroyed
win 0x00800001 destroyed
0x0060001b (6291483) got focus
window without name got focus
win 0x00800004 destroyed
destroy: didn't grab window 0x00800004
win 0x00800003 destroyed
win 0x0080000d destroyed
0x00600007 (6291463) got focus
Awesome no input window got focus
win 0x0060001b destroyed
0x000006b0 (1712) got focus
win 0x00600010 destroyed
win 0x0060000d destroyed
0x000006b0 (1712) got focus
0x000006b0 (1712) got focus
win 0x00600004 destroyed
win 0x00600005 destroyed
win 0x00600006 destroyed
win 0x00600007 destroyed
X connection to :0 broken (explicit kill or server shutdown).


More information about the BRLTTY mailing list