Description: UI: Main editor unfocused when cursor in search field of the floating search dialog. Not sure if this is to be expected or not.. However most floating windows/widgets leave the focus on the main window Steps to Reproduce: 1. Open Writer 2. Press CTRL+F 3. Undo the search toolbar & place the cursor inside the search box -> Focus gone from main window (gray) 4. Dock the search bar & do the same.. fine 5. Make a font color widget floating.. select a color -> Main editor has focus Actual Results: Main window loses focus Expected Results: The main should be marked 'active'. Reproducible: Always User Profile Reset: No Additional Info: Version: 6.3.0.0.alpha0+ Build ID: 6740443311268b7d918bf4f43134d64fb78a0109 CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-01-15_23:37:04 Locale: nl-NL (nl_NL); UI-Language: en-US Calc: CL
Telesto, I'm not sure, if I understaood all steps. Perhaps it is possible to add a screencast.
Created attachment 151707 [details] Screencast Cursor stays in document with Font color.. but clicking the search field and the cursor is gone from main editor.. Again not 100% sure what to expect
A floating find toolbar is a separate window, so IMHO it's expected to steal the focus from the main window, when clicking inside its search box. (In reply to Telesto from comment #2) > Cursor stays in document with Font color Actually the font color widget steals the focus as well. You can verify it by clicking in the palettes list. It just that the palette itself has a code to return the focus to the document *after* a color was selected - as implemented in Bug 114935. This is similar to font name/size controls in a floating formatting toolbar: They steal the focus when you click them, but bring the focus back to the document once you selected a font name/size.
(In reply to Maxim Monastirsky from comment #3) > A floating find toolbar is a separate window, so IMHO it's expected to steal > the focus from the main window, when clicking inside its search box. > > (In reply to Telesto from comment #2) > > Cursor stays in document with Font color > Actually the font color widget steals the focus as well. You can verify it > by clicking in the palettes list. It just that the palette itself has a code > to return the focus to the document *after* a color was selected - as > implemented in Bug 114935. This is similar to font name/size controls in a > floating formatting toolbar: They steal the focus when you click them, but > bring the focus back to the document once you selected a font name/size. Thanks for the input There was a reason why I brought this up.. but not sure anymore. Lets close this..