Recent

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

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • 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: 2365
    • 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: 2770
    • havefunsoft.com
Re: TPanel.OnMouseLeave doesn't work now
« Reply #2 on: July 02, 2020, 06:22:13 pm »
will check it out tonight!

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • 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 »

AlexTP

  • Hero Member
  • *****
  • Posts: 2365
    • 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: 2020
  • 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 »

 

TinyPortal © 2005-2018