Recent

Author Topic: Lazarus 1.6 - 2nd Release Candidate  (Read 86230 times)

fic

  • New Member
  • *
  • Posts: 14
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #30 on: January 16, 2016, 04:23:09 pm »
Just wondering... Why did all my previous installed component-palletes dissapeare?

You must rebuild Lazarus, just like when installing new component packages.
Tools -> Configure "Build Lazarus" ...

Obviously  :-[   
Thank you.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #31 on: January 16, 2016, 04:50:34 pm »
The OI is now broken with an inconsistent look and feel:
the checkboxes create a very 'busy', irregular OI window; that by itself is enough reason to not activate such a feature by default;

Our minds work in different ways. For me it appears now as a more functional OI window.

Quote
the checkboxes are no longer consistent with the way the other options work (black text, white background and blue highlight color when selected/clicked);

The highlight color when selected should be adjusted later. It is a valid point.
BTW, the other ComboBox editors don't always show blue highlight color on Linux with GTK2 or QT. Don't know why. That is a separate issue though.

Quote
also the color to indicate a non-default value is inconsistent;

That is false information. The color is the same brown as can be seen easily.

Quote
when going through the options with the cursor keys the checkboxes are skipped; in case of 2 adjacent true/false options the cursor stops at the 2nd one  :(

C'mon ... That is a bug which was discussed just above in this thread and already fixed (kind of) in trunk.

Quote
and the piece de resistance: for people that do not know the meaning of a v-shaped symbol in a small white box, the text '(true)' is placed to the right of it %) (if a text would have been required for whatever reason it should have been yes/no or on/off and no parentheses).

No no and no! This was discussed for a long time in mailing list IIRC at 2014.
First, a boolean can have values True and False. You can do:
Code: Pascal  [Select][+][-]
  1.   MyBoolVar := True;
but you cannot do
Code: Pascal  [Select][+][-]
  1.   MyBoolVar := Yes;
nor
Code: Pascal  [Select][+][-]
  1.   MyBoolVar := On;

The check mark carries enough information, yes, but a sole check mark without any text looks weird.
The texts "True" and "False" without parentheses would be confusing, too. When the value is False, it can be interpreted as "False is unchecked". What does it mean? Parentheses were a good compromise.

Quote
No problem with the change by itself, as long as the options to fall back to the original, more efficient behavior, are enabled by default (indeed a checkbox in the right location).
'more natural and logical control' does not apply to his particular situation.

"more efficient behavior" ... how can opening a Combo list and selecting a value be more efficient than simply clicking a CheckBox?
Delphi also recognized the need for a CheckBox Boolean editor but also wanted to be backwards compatible with a ComboBox. They solved it by introducing a hybrid component containing both.
I don't see a need for such a hybrid because one person typically does not use both. It is either or.
« Last Edit: January 16, 2016, 04:57:00 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

useroflazarus

  • New Member
  • *
  • Posts: 23
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #32 on: January 16, 2016, 05:15:09 pm »
if double click - not available Copy and Cut menu items in the editor. :-\
But if select word then items is available.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #33 on: January 16, 2016, 05:25:54 pm »
The OI is now broken with an inconsistent look and feel:
the checkboxes create a very 'busy', irregular OI window; that by itself is enough reason to not activate such a feature by default;

Our minds work in different ways. For me it appears now as a more functional OI window.
Well IMHO both concepts (checkbox and dropdown) are valid (regardless of implementation details)

boolean is an enum, so like any enum it could use the dropdown.

boolean is a 2 state enum and therefore can be represented by the checkbox.

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #34 on: January 16, 2016, 05:36:12 pm »
Hi Getmem,

Followed your instruction to remove lazarus, then installed 1.6rc2
If I try to build Lazarus I get this
Quote
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.0.0 [2015/11/14] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Darwin for i386
Free Pascal Compiler version 3.0.0 [2015/11/14] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Darwin for i386
(3104) Compiling alllclunits.pp
(3104) Compiling lclproc.pas
<stdin>:4284:2: error: invalid instruction mnemonic 'fistpq'
        fistpq  -12(%ebp)
        ^~~~~~
<stdin>:4303:2: error: invalid instruction mnemonic 'fistpq'
        fistpq  -12(%ebp)
        ^~~~~~
<stdin>:4326:2: error: invalid instruction mnemonic 'fistpq'
        fistpq  -16(%ebp)
        ^~~~~~
<stdin>:4350:2: error: invalid instruction mnemonic 'fistpq'
        fistpq  -16(%ebp)
        ^~~~~~
(9001) Assembling (pipe) /Developer/lazarus/lcl/units/i386-darwin/lclproc.s
lclproc.pas(3221) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #35 on: January 16, 2016, 07:37:01 pm »
Hi
Googled fistpq, all references I can see point to 64bit instruction. Is FPC 3.0.0 only for 64bit OSX.?
« Last Edit: January 16, 2016, 07:53:53 pm by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

balazsszekely

  • Guest
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #36 on: January 16, 2016, 07:57:15 pm »
@josh
Unfortunately I have absolutely no idea what that message means. I never see it before, although I installed lazarus under osx many times. Perhaps you should ask on the fpc mailing list.
« Last Edit: January 16, 2016, 08:00:51 pm by GetMem »

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #37 on: January 16, 2016, 08:14:54 pm »
Hi Getmem,

Sorry to sound stupid, but how do i do that?
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

balazsszekely

  • Guest
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #38 on: January 16, 2016, 08:21:47 pm »
@josh
Take a look at this.
http://www.freepascal.org/maillist.var

PS: @marcov can you please help us with this issue?

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #39 on: January 16, 2016, 08:33:15 pm »
Hi Getmem,

Well I registered, spent 20 minutes trying to work out how to use it and what to do, and have now given up.

update

Just got email from list, so I email my question.

Just done.

Thanks


Josh
« Last Edit: January 16, 2016, 09:12:04 pm by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #40 on: January 16, 2016, 09:43:09 pm »
Our minds work in different ways. For me it appears now as a more functional OI window.
That's why programmers normally are not involved with designing an application (and I'll skip all other remarks that are programmer driven.)

Quote
Quote
also the color to indicate a non-default value is inconsistent;
That is false information. The color is the same brown as can be seen easily.
What drugs are you on?
Look at the attachment.
« Last Edit: January 16, 2016, 09:44:42 pm by eny »
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #41 on: January 16, 2016, 09:44:37 pm »
Lazarus on OSX is 32 bit only (except for none GUI, that can be either)

Quote
Code: Pascal  [Select][+][-]
  1. Target OS: Darwin for i386
That looks like it is compiling for 32 bit.

As for the error, I dont know.

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #42 on: January 17, 2016, 12:07:01 am »
There is a small problem with the filter in the Object Inspector window.

1-Put a few buttons and labels on a form.
2-Type something in the filter box like: lab
3-Select one of the the labels from the list.
4-Change the caption of the label .
5-Now, with your mouse click on one of the buttons on the form to select it.
6-Try to change the caption of the selected button.

As soon as the OI gets the focus again, the filter gets activated again (and the button is not selected, against our basic intention)

Shouldn't the text in the filter box get deleted when the OI loses focus?
« Last Edit: January 17, 2016, 12:08:58 am by engkin »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #43 on: January 17, 2016, 11:17:01 am »
if double click - not available Copy and Cut menu items in the editor. :-\
But if select word then items is available.

Works here. Please explain how to reproduce.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #44 on: January 17, 2016, 11:27:16 am »
Quote
Quote
also the color to indicate a non-default value is inconsistent;
That is false information. The color is the same brown as can be seen easily.
What drugs are you on? Look at the attachment.

No drugs. :) Strange. Here they are brown both when using the normal CheckBox and CheckBoxThemed, also with a Windows version (tested under Wine).
It would indeed be a big inconsistency if the indication of non-default values went missing.
Please test with normal CheckBox either by using latest trunk or by defining UseOINormalCheckBox when building Lazarus 1.6RC2.
(Tools -> Configure "Build Lazarus" -> Edit Defines. Add UseOINormalCheckBox there and check it in the CheckList.)

P.S.
 Look at my number of messages. It matches the current year (until I write another message). Heh!
« Last Edit: January 17, 2016, 11:32:52 am by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018