Recent

Author Topic: Lazarus Release Candidate 1 of 3.0  (Read 47695 times)

jamie

  • Hero Member
  • *****
  • Posts: 5854
Re: Lazarus Release Candidate 1 of 3.0
« Reply #150 on: September 05, 2023, 07:24:08 pm »
D does not have Keyboard events on the TGroupbox but it does have a on Enter/Exit etc.

The Group box is supposed to advance the focus onto a child control, especially the TAB sequence, which currently the TAB operation treats the groupbox as a control and you need to tab again to get to a child control.


 Do as you please, a fix was suggested, although not perfect but at least better than nothing.
 
 I am only trying to help but if you want low Q then I guess there is nothing wrong with-it, carry-on men.

EDIT:
 Please read the note down a bit.
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.groupbox?view=windowsdesktop-7.0
« Last Edit: September 05, 2023, 10:27:07 pm by jamie »
The only true wisdom is knowing you know nothing

Lulu

  • Full Member
  • ***
  • Posts: 225
Re: Lazarus Release Candidate 1 of 3.0
« Reply #151 on: September 10, 2023, 08:34:02 pm »
Hi all, thank you for the new release!
I haven't installed it yet. Are the i18n exclusion features still present in Lazarus 3.0? (those in Project options>i18n>Exclusion>identificators and originals)
I've read the changes, nothing is mentioned about this. I assume they still exists however I would like to have a confirmation.
wishing you a nice life

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4383
  • I like bugs.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #152 on: September 10, 2023, 09:28:45 pm »
I haven't installed it yet. Are the i18n exclusion features still present in Lazarus 3.0? (those in Project options>i18n>Exclusion>identificators and originals)
Yes, everything there is like before.
Is it good or bad? I have never used those features myself.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

lainz

  • Hero Member
  • *****
  • Posts: 4280
    • https://lainz.github.io/
Re: Lazarus Release Candidate 1 of 3.0
« Reply #153 on: September 10, 2023, 09:35:04 pm »
I haven't installed it yet. Are the i18n exclusion features still present in Lazarus 3.0? (those in Project options>i18n>Exclusion>identificators and originals)
Yes, everything there is like before.
Is it good or bad? I have never used those features myself.

Hi, I've not used that at all, but maybe Lulu will use it for LazPaint, so we need to know if still available.

Thanks.

wp

  • Hero Member
  • *****
  • Posts: 11485
Re: Lazarus Release Candidate 1 of 3.0
« Reply #154 on: September 10, 2023, 10:20:18 pm »
Hi all, thank you for the new release!
I haven't installed it yet. Are the i18n exclusion features still present in Lazarus 3.0? (those in Project options>i18n>Exclusion>identificators and originals)
I've read the changes, nothing is mentioned about this. I assume they still exists however I would like to have a confirmation.
Yes, the i18n exclusions are available.

Lulu

  • Full Member
  • ***
  • Posts: 225
Re: Lazarus Release Candidate 1 of 3.0
« Reply #155 on: September 11, 2023, 09:40:30 am »
Hi all, thank you for your answers!
Yes, everything there is like before.
Is it good or bad? I have never used those features myself.
I used this feature in Give Your Voice, it work well  and avoids redundant translations such as 'Ok', 'Cancel', etc... in the po files.
wishing you a nice life

PeterBB

  • New Member
  • *
  • Posts: 37
Re: Lazarus Release Candidate 1 of 3.0
« Reply #156 on: September 16, 2023, 02:46:20 pm »
Hi,

does anyone know if QT6 or GTK3 widget sets now have support for BitBlt?

It seems that BitBlt support has been restored in QT6 upstream
https://doc.qt.io/qt-6/qimage.html

(It was dropped in QT4/5)

Cheers,
Peter



zeljko

  • Hero Member
  • *****
  • Posts: 1528
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 1 of 3.0
« Reply #157 on: September 16, 2023, 08:01:23 pm »
Hi,

does anyone know if QT6 or GTK3 widget sets now have support for BitBlt?

It seems that BitBlt support has been restored in QT6 upstream
https://doc.qt.io/qt-6/qimage.html

(It was dropped in QT4/5)

Cheers,
Peter
Where do you see bitblt function in qimage docs ?
Edit: you have QPainter drawImage and drawPixmap.
« Last Edit: September 16, 2023, 08:06:47 pm by zeljko »

PeterBB

  • New Member
  • *
  • Posts: 37
Re: Lazarus Release Candidate 1 of 3.0
« Reply #158 on: September 17, 2023, 02:27:47 am »
[Where do you see bitblt function in qimage docs ?
Edit: you have QPainter drawImage and drawPixmap.

Just search the linked page for BitBlt. Its nearly at the bottom.

Quote
HBITMAP QImage::toHBITMAP() const

Creates a HBITMAP equivalent of the QImage.
Returns the HBITMAP handle.
It is the caller's responsibility to free the HBITMAP data after use.

For usage with with standard GDI calls, such as BitBlt(), ....

michaelthuma

  • New Member
  • *
  • Posts: 49
Re: Lazarus Release Candidate 1 of 3.0
« Reply #159 on: September 17, 2023, 04:21:30 pm »
Maybe I'm just confused, but Tools-Desktops...-Autosave cannot be turned off.
It was already mentioned by user alank and juha mentioned it being fixed in this commit

Thank you very much considering!

zeljko

  • Hero Member
  • *****
  • Posts: 1528
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 1 of 3.0
« Reply #160 on: September 17, 2023, 04:54:45 pm »
For usage with with standard GDI calls, such as BitBlt(), ....
[/quote]

That is only if you wish to call directly GDI on windows then you call GDI.BitBlt, nothing else, Qt does not have BitBlt() named function since Qt3.
As of Qt4 you have QPainter::drawPixmap() and QPainter::drawImage() which have many overloads, in lclqt(4,5,6) you have TQtWidgetSet.BitBlt() implementation.

PeterBB

  • New Member
  • *
  • Posts: 37
Re: Lazarus Release Candidate 1 of 3.0
« Reply #161 on: September 17, 2023, 09:43:47 pm »
@zeljko

Thanks for the info. I guess I got overexcited on getting a hit from a Google search on Qt6 + BitBlt !

jamie

  • Hero Member
  • *****
  • Posts: 5854
Re: Lazarus Release Candidate 1 of 3.0
« Reply #162 on: September 17, 2023, 11:50:32 pm »
The LCLIntF unit has the BitBlt, its translated to the widget, I am sure.
The only true wisdom is knowing you know nothing

PeterBB

  • New Member
  • *
  • Posts: 37
Re: Lazarus Release Candidate 1 of 3.0
« Reply #163 on: September 20, 2023, 11:49:12 pm »
The LCLIntF unit has the BitBlt, its translated to the widget, I am sure.

Hi Jamie, this issue comes from this
https://lazarus-ccr.sourceforge.io/docs/lcl/lclintf/bitblt.html

Quote
For normal usage one should only use SRCOPY in the ROP parameter, other operations may not be supported by all widgetsets

IME win32 & gtk2 seem to support more ROPs that Qt5.
Anyway, I'm assuming that why c-evo graphics are somewhat messed up in Qt5 & Qt6.

Cheers,
Peter

« Last Edit: September 21, 2023, 03:26:28 pm by PeterBB »

BSaidus

  • Hero Member
  • *****
  • Posts: 501
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Lazarus Release Candidate 1 of 3.0
« Reply #164 on: October 05, 2023, 12:28:04 pm »
Hello.
Thank you for all your work.
I wonder if we are close, to see the release of Lazarus 3 / fpc 324 ? or at least lazarus 3rc2/fpc 322.

Thanks.
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

 

TinyPortal © 2005-2018