Recent

Author Topic: Select Text In Grid Cell On Mac Not Working Correctly  (Read 2846 times)

emhartner

  • Jr. Member
  • **
  • Posts: 59
Select Text In Grid Cell On Mac Not Working Correctly
« on: May 20, 2024, 04:31:49 am »
The issue happens when editing a grid cell in a TDBGrid.  When trying to select text with the mouse, it always starts the selection from the beginning of the cell.  If I start selecting in the middle and pull the mouse to the right, it will select text from the beginning of the cell up until where I started selecting.  Note that this does not happen on Windows - only on the Mac.  See attached video for a visual.

Note the the same happens in a TEdit.  Also note that when selecting with the keyboard it works fine.

Any ideas on how to fix this?

Thank you,
Eric
« Last Edit: May 20, 2024, 04:34:46 am by emhartner »

jesusr

  • Sr. Member
  • ****
  • Posts: 496
Re: Select Text In Grid Cell On Mac Not Working Correctly
« Reply #1 on: May 20, 2024, 04:55:46 am »
If you make a test in a form with a simple TEdit do you get the same result?

emhartner

  • Jr. Member
  • **
  • Posts: 59
Re: Select Text In Grid Cell On Mac Not Working Correctly
« Reply #2 on: May 20, 2024, 01:59:00 pm »
Yes - I get the same result with a TEdit on a newly created project.

Version Info:
  Lazarus:  3.2
  FPC:  3.2.2
  Revision:  x86_64-darwin-cocoa

emhartner

  • Jr. Member
  • **
  • Posts: 59
Re: Select Text In Grid Cell On Mac Not Working Correctly
« Reply #3 on: May 22, 2024, 04:35:20 pm »
As this seems to be a bigger problem (also with TEdit), should I put in a bug tracker?

Thank you,
Eric

jesusr

  • Sr. Member
  • ****
  • Posts: 496
Re: Select Text In Grid Cell On Mac Not Working Correctly
« Reply #4 on: May 23, 2024, 09:24:55 pm »
Yes please.

emhartner

  • Jr. Member
  • **
  • Posts: 59

 

TinyPortal © 2005-2018