View Issue Details

IDProjectCategoryView StatusLast Update
0038834LazarusWidgetsetpublic2021-05-09 22:58
ReporterBenjamin Rosseaux Assigned ToZeljan Rikalo  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version2.0.13 (SVN) 
Summary0038834: [Qt5] Visible hints does defocus/unfocus the active form window until the hints went invisible again.
DescriptionA new problem exists at the Qt5 widgetset, at least under Win32/Win64

Visible hints does defocus/unfocus the active form window until the hints went invisible again.

This is not only unattractive but also annoying in the long run if one has no input focus, e.g. for key shortcuts, during this time.
TagsNo tags attached.
Fixed in Revision
WidgetsetWin32/Win64, QT5
Attached Files


Benjamin Rosseaux

2021-05-01 00:11

reporter   ~0130689

On my reserach, it has something to do with the Lazaus SVN commit rev #64974

When I remove the "Flags := Flags or QtWindowDoesNotAcceptFocus;" then it works correct again, without the "defocus/unfocus the active form window until the hint went invisible again" problem.

And with this code line, the problem does exist again.

Benjamin Rosseaux

2021-05-01 02:05

reporter   ~0130693

Hm, it seems to be also occur without the "Flags := Flags or QtWindowDoesNotAcceptFocus;" code line.

Now the question is, what is the cause of this? Because with a Lazarus/LCL Unstable version from a few months ago this does not happen yet.

Bart Broersma

2021-05-02 23:49

developer   ~0130730

Can you do a bisection to find the guilty revision?

Benjamin Rosseaux

2021-05-02 23:57

reporter   ~0130731

@Bart Broersma Yes, I can try do it next weekend.

Zeljan Rikalo

2021-05-09 22:04

developer   ~0130810

@Benjamin, any news on this ?

Benjamin Rosseaux

2021-05-09 22:58

reporter   ~0130811

No yet. Unfortunately, I haven't been able to do it yet (Work, school, etc.). But I will do it as soon as I find time for it. I should be able to do this at the latest during the Whitsun vacations at the end in this monat, when at least the school stress will be gone for a few days.

Issue History

Date Modified Username Field Change
2021-05-01 00:04 Benjamin Rosseaux New Issue
2021-05-01 00:11 Benjamin Rosseaux Note Added: 0130689
2021-05-01 02:05 Benjamin Rosseaux Note Added: 0130693
2021-05-02 23:49 Bart Broersma Note Added: 0130730
2021-05-02 23:57 Benjamin Rosseaux Note Added: 0130731
2021-05-04 10:11 Zeljan Rikalo Assigned To => Zeljan Rikalo
2021-05-04 10:11 Zeljan Rikalo Status new => assigned
2021-05-09 22:04 Zeljan Rikalo Note Added: 0130810
2021-05-09 22:58 Benjamin Rosseaux Note Added: 0130811