Lazarus

Programming => Widgetset => Cocoa => Topic started by: Alextp on January 01, 2018, 05:09:49 pm

Title: Cocoa: component don't get OnMouseMove in some cases
Post by: Alextp on January 01, 2018, 05:09:49 pm
I dont know how to make repro demo. bug is in CudaText Cocoa build.

- if Find dialog (it is form with ATSynEdit+ATButton controls, inside main form) shown, all ok.
- if Find dialog hides, my toolbar (ATButtonsToolbar) and sidebar (same) don't get OnMouseMove. and toolbar buttons dont hilite when mouse moves over.

Dmitry, can you try to run CudaText cocoa build?
Title: Re: Cocoa: component don't get OnMouseMove in some cases
Post by: skalogryz on January 01, 2018, 05:19:25 pm
try to update to r56893 (that is a previous version)
there were a some changes done to restrict mouse move events.
let's see if it's a regression.
Title: Re: Cocoa: component don't get OnMouseMove in some cases
Post by: Alextp on January 01, 2018, 05:59:06 pm
hm, it was bug N days ago. mouse fix is new one.
Title: Re: Cocoa: component don't get OnMouseMove in some cases
Post by: skalogryz on January 02, 2018, 12:39:52 pm
A bit offtopic, but it's the best place to ask!

in this bug report: https://bugs.freepascal.org/view.php?id=32926

there's code:
Code: Pascal  [Select][+][-]
  1.   C.Pen.Mode:= {$ifdef darwin} pmNot {$else} pmNotXor {$endif};
  2.  
i thought the issues with penmode were resolved for Carbon/Cocoa?
Title: Re: Cocoa: component don't get OnMouseMove in some cases
Post by: Alextp on January 03, 2018, 06:29:43 am
seems issue resolved, so I ll try to remove ifdef in CudaText code. tks.
TinyPortal © 2005-2018