Recent

Author Topic: TPanel.OnMouseLeave doesn't work now  (Read 614 times)

Alextp

  • Hero Member
  • *****
  • Posts: 1058
    • UVviewsoft
TPanel.OnMouseLeave doesn't work now
« on: June 28, 2020, 10:16:16 am »
CudaText for macOS updated to 1.106, I see that after URL click (e.g. in About / Credits dialog) app shows panel "[ open link ]" and doesn't hide it on TPanel.OnMouseLeave.
So OnMouseLeave don't work.

Alextp

  • Hero Member
  • *****
  • Posts: 1058
    • UVviewsoft
Re: TPanel.OnMouseLeave doesn't work now
« Reply #1 on: June 28, 2020, 10:05:28 pm »
@skalogryz
I made a demo for you!
https://github.com/Alexey-T/FreePascal-tests/tree/master/Panel%20OnMouseLeave
I don't have Mac on dacha yet, cannot test on Mac- pls test??

in demo, click green panel - red panel shows; now do MouseLeave to hide red panel. it works?
« Last Edit: June 28, 2020, 10:08:45 pm by Alextp »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2497
    • havefunsoft.com
Re: TPanel.OnMouseLeave doesn't work now
« Reply #2 on: July 02, 2020, 06:22:13 pm »
will check it out tonight!
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2497
    • havefunsoft.com
Re: TPanel.OnMouseLeave doesn't work now
« Reply #3 on: July 03, 2020, 06:09:26 pm »
works fine with Trunk on 10.6

https://www.dropbox.com/s/uc99qszmypcq09v/pan.mov?dl=0

works with issues with Trunk on 10.15. (the pan hidden leaves a blueish colored rectangle behind it. )
« Last Edit: July 03, 2020, 06:13:12 pm by skalogryz »
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Alextp

  • Hero Member
  • *****
  • Posts: 1058
    • UVviewsoft
Re: TPanel.OnMouseLeave doesn't work now
« Reply #4 on: July 03, 2020, 08:39:55 pm »
Hmm, so I need another repro for CudaText bug

trev

  • Hero Member
  • *****
  • Posts: 843
  • Former Delphi 1-7 and 10.2 User
Re: TPanel.OnMouseLeave doesn't work now
« Reply #5 on: July 04, 2020, 04:07:46 am »
Works with one issue on 10.14.6 - the very first click leaves a bluish coloured rectangle behind - this does not happen for any subsequent clicks.

[EDIT] Same with macOS 11.0 Beta[/EDIT]
« Last Edit: July 04, 2020, 04:36:09 am by trev »
o Lazarus v2.1.0 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

 

TinyPortal © 2005-2018