View Issue Details

IDProjectCategoryView StatusLast Update
0036516LazarusWidgetsetpublic2020-01-05 11:05
ReporterHans Luijten Assigned ToDmitry Boyarintsev  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformCocoa macOSOSmacOS 
Product Version2.0.7 (SVN) 
Summary0036516: Form loses Focus on Show Hint (hover over control that has ShowHint enabled)
DescriptionWhen using hints with controls that support this; showing the hint will have the form lose focus.
Focus is returned to the Form when the hint disappears again.

This is unexpected behavior and quite annoying (no offense intended).
- Hints do not work like that under Windows/Linux,
- This is not compliant with the usual macOS tooltip behavior
  (see also Apple's UI Tooltip guidelines - https://developer.apple.com/design/human-interface-guidelines/macos/user-interaction/help/).
Steps To ReproduceCreate a new application, place a button on it (this happens with all visual controls).
Enter some text for Button.Hint.
Set Button.ShowHint to true.
Run application.
Hover over button.
You'll see that the form loses focus (eg. the entire form and its controls become "inactive" - watch the default button and the system icons on the form).
Additional InformationLazarus 2.1.0 r62489M FPC 3.3.1 x86_64-darwin-cocoa (beta)
Noticed this in r62473 as well.
TagsNo tags attached.
Fixed in Revision62490
LazTarget-
WidgetsetCocoa
Attached Files

Activities

Hans Luijten

2020-01-04 17:26

reporter  

Tooltip.mp4 (23,287 bytes)   

Hans Luijten

2020-01-04 17:26

reporter   ~0120218

Super small video that shows the undesired effect.

Dmitry Boyarintsev

2020-01-04 18:59

developer   ~0120220

please test and close if ok

Hans Luijten

2020-01-05 11:05

reporter   ~0120228

Tested 62500 this morning and the issue is resolved 😊
Thanks Dmitry for the super quick fix!
Best wishes for 2020 and keep up the good work! 👍🏻

Issue History

Date Modified Username Field Change
2020-01-04 17:12 Hans Luijten New Issue
2020-01-04 17:26 Hans Luijten File Added: Tooltip.mp4
2020-01-04 17:26 Hans Luijten Note Added: 0120218
2020-01-04 17:27 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2020-01-04 17:27 Dmitry Boyarintsev Status new => assigned
2020-01-04 18:59 Dmitry Boyarintsev Status assigned => resolved
2020-01-04 18:59 Dmitry Boyarintsev Resolution open => fixed
2020-01-04 18:59 Dmitry Boyarintsev Fixed in Revision => 62490
2020-01-04 18:59 Dmitry Boyarintsev LazTarget => -
2020-01-04 18:59 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2020-01-04 18:59 Dmitry Boyarintsev Note Added: 0120220
2020-01-05 11:05 Hans Luijten Status resolved => closed
2020-01-05 11:05 Hans Luijten Note Added: 0120228