Created attachment 182625 [details] Video showing the problem See attached video for more details. Suppose you have a Text Box (or a shape with text inside). Now follow these steps: 1) Select the Text Box (or shape) so that only the object is selected and the cursor is not blinking for text editing. In the video I clicked the Text Box and after the cursor started blinking, I pressed Esc 2) Place the mouse pointer over the text box 3) Press F2 to start editing the text; do not press any other keys 4) Now move the mouse 5) Notice the text will be selected when you move the mouse; here, moving the mouse should have no effect. We should only have the text cursor available for editing and moving the mouse should not select anything 6) Now click outside the text box 7) From now on, each time you click the slide a new text box will be created; this shouldn't happen I have been experiencing this bug for a long time, but it was hard to figure out how to reproduce it. The key to reproduce this bug is to have the mouse over the text box when F2 is pressed. If the mouse is not over the text box, then all is ok. System info Version: 7.4.1.2 / LibreOffice Community Build ID: 40(Build:2) CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 1:7.4.1~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded
Created attachment 182626 [details] Sample ODP file used in the video
This bug is fully reproducible in "gen" and "kf5". In gtk3 the issues in steps (6) and (7) do not happen (the multiple creation of text boxes).
Repro using Version: 7.4.1.2 (x64) / LibreOffice Community Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0 CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL It is important that the cursor is not only over the text box, but also over the text itself (so that it turns into a I shape) to repro. Pressing F2 when the mouse cursor is over the box, but outside of the text (e.g., in the bottom part) would not trigger it.
Also repro using OOo 3.2.0.