GNOME Bugzilla – Bug 745845
When I delete a selected text in Libreoffice Writer, after backspace keypress Orca doesn't read any text line with caret navigation
Last modified: 2015-03-09 13:18:05 UTC
Created attachment 298816 [details] Debug.out file with possible show why happened this issue Dear Joanie, When I select a text line with Libreoffice Writer and press backspace key, after backspace key press Orca doesn't speak caret navigation result. Testcase with I succesfully reproduced in Ubuntu 14.04.2 Libreoffice version and the latest 4.4.1.2 version: 1. Open a new Libreoffice Writer document. 2. Type four lines, for example test1, test2, test3, and test 4. Separate with the lines with ENTER key. 3. Press CTRL+HOME keystroke, and select the first line with SHIFT+DOWN arrow key combination. 4. Press backspace key to delete the selected line. 5. Try moving betweeen lines with up or down arrow keystrokes. Expected result: Orca need speak and presents braille the selected line. Actual result: The caret navigation is freeze, if I press up or down arrow keystrokes, Orca doesn't speak and presents braille the selected line. If I restart Orca or do a window switch, the caret navigation works again. My environment related informations: OS: Ubuntu 14.04.2 Libreoffice versions with I reproduced this issue: 4.2.7-0ubuntu2 (the repository available version), 4.4.1.2 Affected Orca versions: Master, gnome-3-14, gnome-3-16 I attaching a debug.out file. I see a traceback error message the debug.out file with possible related this issue. Attila
Fix committed to the gnome-3-14, gnome-3-16, and master branches. Please test. Thanks!
Hi Joanie, I see only one problem, if a selected text containing only one word: When this situation I press BACKSPACE key after selection, Orca doesn't read the deleted line after backspace key press. Testcase: 1. Open an empty Libreoffice Writer document. 2. Type test1, test2, test3, test4 texts, separate with ENTER keys. 3. Press CTRL+HOME keystroke, and select the first line with SHIFT+DOWN keystroke. 4. Press BACKSPACE key. Expected result: This situation Orca need telling the user with the test1 line is deleted. In Gedit application this is happening right. Actual result: Now, Orca nothing speak, but the test1 line is deleted, and the caret navigation is not frozen. I will attaching a debug.out file. Attila
Created attachment 298855 [details] Debug file with missing deleted text spokening related
Created attachment 298858 [details] An another debug.out file when I opening a new document Hi Joanie, Please not angry me, I would like ask your openion a debug.out file related before I opening a new report: If I opening a Libreoffice writer document in Terminal, the caret navigation not working until I not doing a window switch after Libreoffice application is focused. Testcase: 1. Open Terminal. 2. Type libreoffice any.doc (an existing document path/filename). Expected result after Libreoffice is focused: Caret navigation need working, and for example up or down arrow keys Orca need present braille and speak the highlighted line. Actual result before I not doing window switch: When I do caret navigation, nothing happening, Orca not speak highlighted line and not present braille the cursor change. This situation when I not doing window switch, the menu open is not producing any result (when I press the F10 key, the menu is not pop up), so possible this is a Libreoffice bug. I looked this issue with Libreoffice 4.2.7 version. Attila
Can you open a new bug report for what you describe in Comment 2? I know that problem exists. It's due to the fact that when you delete an entire paragraph in LibreOffice, you're actually causing the destruction of an accessible object. And that destroyed object is the thing we want to use to get the text selection -- and that destroyed object is what was causing your tracebacks and lack of speech. As for what you describe in comment 4: I hope you don't think I get angry at you, because I don't. Having said that, I cannot reproduce it. But if pressing F10 does not cause the LibreOffice menu to appear at all (as opposed to Orca just not presenting it), my guess is that you are not really in LibreOffice -- or if you are, something else has focus in LibreOffice. What happens if you press Alt+F6 when you think you are in LibreOffice? That should switch you between child windows, so if you're in some non-document LibreOffice window, Alt+F6 should put you in the document where things like F10 and arrowing around in the document should work.
Hi Joanie, With comment 2 related issue I opening a new report, thank you your answer. With comment 4 I wrote issue I not often see fortunately, now I tryed reproducing again this issue, but I no luck. Anyway, the main issue is resolved, so I changing now this bug status with resolved, fixed state. Attila