View Issue Details

IDProjectCategoryView StatusLast Update
0021962LazarusWidgetsetpublic2012-05-08 18:06
ReporterMartin Friebe Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version1.1 (SVN) 
Summary0021962: GTK2: THintWindow, blocks mouse from window below
DescriptionOn Windows, using a THintWindow (with NO controls in it) is "transparent" to mouse actions.
Clicking the Hint, will click the window below the hint.

On GTK2 this is not the case.

This only applies, if the hint window, has no child controls. Child controls in a hint window can accept mouse clicks themself.

See issue 0021952 "Code Completion in Ubuntu" for steps to reproduce.

On Windows, if "long line hint" is displayed (enable in editor options / resize completion form to force hint):
- single click (mouse over hint) highlights (selects, but does not close completion) the entry below the hint (hint is also updated to show the highlight)
- double click, selects and completes.
Additional Informationprocedure THintWindow.WMNCHitTest(var Message: TLMessage);
begin
  Message.Result := HTTRANSPARENT;
end;
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetGTK 2
Attached Files

Relationships

child of 0021952 assignedMartin Friebe Code Completion in Ubuntu 

Activities

Martin Friebe

2012-05-08 18:06

manager   ~0059411

Last edited: 2012-05-08 18:07

A workaround has been added in components\synedit\syncompletion.pas

In order to reproduce, disable the following define on top of the file:
{$DEFINE HintClickWorkaround} // Workaround for issue 21952


If this issue will be fixed, please remove the workaround

Issue History

Date Modified Username Field Change
2012-05-06 13:46 Martin Friebe New Issue
2012-05-06 13:46 Martin Friebe LazTarget => -
2012-05-06 13:46 Martin Friebe Widgetset => GTK 2
2012-05-06 13:46 Martin Friebe Relationship added child of 0021952
2012-05-08 18:06 Martin Friebe Note Added: 0059411
2012-05-08 18:07 Martin Friebe Note Edited: 0059411