Recent

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

Alextp

  • Hero Member
  • *****
  • Posts: 1208
    • 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: 1208
    • 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: 2560
    • 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: 2560
    • 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: 1208
    • 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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1272
  • Former Delphi 1-7, 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 »
Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r64455 3.3.1 r48688  macOS 11.2 aarch64 Xcode 12.4
Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018