Recent

Author Topic: Cocoa: component don't get OnMouseMove in some cases  (Read 3868 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2384
    • UVviewsoft
Cocoa: component don't get OnMouseMove in some cases
« 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?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa: component don't get OnMouseMove in some cases
« Reply #1 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.

AlexTP

  • Hero Member
  • *****
  • Posts: 2384
    • UVviewsoft
Re: Cocoa: component don't get OnMouseMove in some cases
« Reply #2 on: January 01, 2018, 05:59:06 pm »
hm, it was bug N days ago. mouse fix is new one.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa: component don't get OnMouseMove in some cases
« Reply #3 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?

AlexTP

  • Hero Member
  • *****
  • Posts: 2384
    • UVviewsoft
Re: Cocoa: component don't get OnMouseMove in some cases
« Reply #4 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