Delete, Backspace, Enter, Page, Arrow and other navigation key actions occur in the document window when focus is the Infobar. To repro: Start Writer so the Infobar is displayed. To do this the following steps work for me: i) soffice.bin --safe-mode ii) select Reset to factory settings radio button and check the two check boxes that become available; Reset settings and user interface modifications and Reset entire user profile and Apply Changes and Restart. iii) close and do soffice.bin --safe-mode again iv) select Continue in safe mode When Writer starts the Infobar should be visible and show a message like "You are running version x.x of LibreOffice for the first time. Do you want to learn what's new? followed by a Release Notes button and an X close button. 1) Open a document or enter some text - "This is a Test" 2) Position the cursor around the middle of a sentence. 3) Press F6 until focus is lost in the Infobar. This requires three presses of F6 if standard toolbar and formatting toolbar are open. 4) Press Delete, Backspace, Enter and various navigation keys. Results: Key action happens in the document window. Expected results: Key action doesn't happen in document window.
Reproduced in Version: 6.5.0.0.alpha0+ Build ID: d6e2d624a124454fa4ac80cb30a924571a609101 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded
Code pointer: overide Window::EventNotify in SfxInfoBarWindow to handle key input of interest. Places to look how a key input event filter can be done for SfxInfoBarWindow. sfx2/source/sidebar/SidebarDockingWindow.cxx SidebarDockingWindow::EventNotify sfx2/source/control/charmapcontrol.cxx SfxCharmapCtrl::EventNotify Key input that should be passed to the parent Window::EventNotify for handling are tab, space, and enter. The rest should be consumed by the SfxInfoBarWindow::EventNotify. SfxInfoBarWindow class definition and member function code include/sfx2/infobar.hxx sfx2/source/dialog/infobar.cxx
I will try to fix it.
Dear Deb, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assign it back to yourself if you're still working on this.
Okhuomon Ajayi committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/45b2c22d18c67c6da49789cbe5cd157874c7ba71 tdf#129028: Prevent Infobar keys from reaching the document It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Okhuomon Ajayi committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/5bb12ef437c2b57ee0208cef0e65cc0ce186de87 tdf#129028: Prevent Infobar keys from reaching the document It will be available in 25.8.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Okhuomon Ajayi, is this bug solved? If yes, you need to change the status to Resolved - Fixed. I can not test, I dont get the info bar.