Created attachment 181758 [details] Screenshot showing the problem When you install an extension via an OXT file using the Kf5 backend, the license screen will have all its text selected. See attached screenshot for more info. This only happens in Kf5. It does not happen in gen and gtk3. I also tested in Windows and all is OK. For some reason, this only affects the Kf5 backend. System info Version: 7.3.5.2 / LibreOffice Community Build ID: 30(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.3.5-0ubuntu0.22.04.1 Calc: threaded Also repro Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 4e2ce2a460458f17ee4360c45a2da2fc4b4d753e CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: threaded
Reproduced with: Version: 7.4.0.2 / LibreOffice Community Build ID: 1512ce97d7ed39dce3121f7e15651fd8895f950e CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
Created attachment 181800 [details] Screencast with gen VCL plugin (In reply to Rafael Lima from comment #0) > This only happens in Kf5. It does not happen in gen and gtk3. I also tested > in Windows and all is OK. For some reason, this only affects the Kf5 backend. For me, this happens with gen (i.e. SAL_USE_VCLPLUGIN=gen) as well (but not gtk3 or Windows), s. attached screencast. Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: c1446da82b999349e1a09fed3420bd1c38d7b38c CPU threads: 12; OS: Linux 5.18; UI render: default; VCL: x11 Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded
(In reply to Michael Weghorn from comment #2) > For me, this happens with gen (i.e. SAL_USE_VCLPLUGIN=gen) as well (but not > gtk3 or Windows), s. attached screencast. Indeed you're right. I can confirm the problem affects "gen" as well.
Potential fix: https://gerrit.libreoffice.org/c/core/+/171438
Created attachment 195677 [details] Sample program using native Qt edit widgets Attached sample program can be used to see how native QLineEdit and QTextEdit behave, mostly meant for discussion on https://gerrit.libreoffice.org/c/core/+/171438
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d76a932e7b98cfcc955911321116bb396c3cb790 tdf#150397 vcl: Don't select SalInstanceTextView text on focus It will be available in 25.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.