Recent

Author Topic: StringGrid : can't select 2nd cell with mouse when first one is cbsEllipsis  (Read 4977 times)

tintinux

  • Sr. Member
  • ****
  • Posts: 365
    • Gestinux
Hi

In Lazarus 1.2.0, it looks like the default value of property goSelectionActive of TStringGrid (or ancestor) has been changed from true to false.

I have never set this property to any value, and after upgrade from 1.0.14 to 1.2 and recompile, this change the behaviour of grids.
It appear as a bug, since clicking cells with the mouse is no more visible.

Isn't it better to revert this change in a next release, and go on setting this property to true by default ?

I can file a bug if this is confirmed.

Regards
« Last Edit: March 28, 2014, 05:36:15 pm by tintinux »
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

jesusr

  • Sr. Member
  • ****
  • Posts: 496
Re: StringGrid goSelectionActive defaults to false
« Reply #1 on: March 26, 2014, 03:40:52 pm »
Please, submit a bug report and attach a sample project that works in Lazarus 1.0.14 but doesn't work in Lazarus 1.2

tintinux

  • Sr. Member
  • ****
  • Posts: 365
    • Gestinux
Ok, I reproduced and file the bug.

It has nothing to do with goSelectionActive as I thought at first.

For me, it should be qualified as 'major'.

Best regards
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

wp

  • Hero Member
  • *****
  • Posts: 12859
I cannot reproduce the bug neither in Windows 7 nor in Ubuntu 12.04, neither with Laz trunk nor with Laz 1.0.14 (both with fpc 2.6.2).

You should remove the reference to the package gestinux_util from the project, and the GGrid from the uses clause of form1. Since I don't have them, I removed them - maybe that's the reason why it's working with me?

wp

  • Hero Member
  • *****
  • Posts: 12859
Now I installed Laz 1.2 and can confirm your issue.

wp

  • Hero Member
  • *****
  • Posts: 12859
Just saw in the svn messages that a related issue for DBGrid has been resolved a few weeks ago (http://mantis.freepascal.org/view.php?id=25824)

tintinux

  • Sr. Member
  • ****
  • Posts: 365
    • Gestinux
I have uploaded the test program in the bugtracker, to remove useless dependances.
Why can't I delete the first one,  since I have uploaded it myself ?

The bug can be reproduced on Linux also.

Regards
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Why can't I delete the first one,  since I have uploaded it myself ?
Because you don't have permissions to delete files in the bugtracker I think. I deleted it for you.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018