Recent

Author Topic: [ANN] fpGUI Toolkit v2.0.3 release  (Read 2358 times)

Graeme

  • Hero Member
  • *****
  • Posts: 1496
    • Graeme on the web
[ANN] fpGUI Toolkit v2.0.3 release
« on: February 14, 2026, 04:45:27 pm »
Hi everyone,

Here is a small bugfix release. Thank you to everyone that tested
and reported bugs. Below is what's changed in this release:

v2.0.3 (2026-02-14)
  - Bug Fixes
    * Fixed AggPas canvas crash when using the 'plastic dark' theme.
      Widget canvases now correctly route pixel operations through the
      window canvas target instead of accessing a nil image buffer.
    * Added bounds checking in TfpgImageBase.SetColor to prevent
      out-of-bounds memory writes when using the AggPas canvas.
    * Fixed incorrect pixel coordinates in plastic style DrawFocusRect
      that used Width/Height as positions instead of Left+Width and
      Top+Height.
    * Fixed GDI font reverting to bold stock font after device context
      reallocation.
    * Fixed duplicate TranslateMessage call causing double keystrokes
      on Windows.
    * Added Windows font paths to FreeType font cache.
    * Fixed widget constructors using property setters for
      Width/Height instead of direct field access, which caused issues
      with the sizing API separation.
  - UI Designer
    * Fixed resizer rendering and canvas sizing.
    * Fixed property display and source generation to use
      ActualWidth/ActualHeight for positioning.
    * Fixed widget placement to call UpdatePosition after positioning.
    * Changed PasBuild module name to 'fpgui-uidesigner'.


Previous release: https://forum.lazarus.freepascal.org/index.php/topic,73452.0.html

Regards,
  - Graeme -
« Last Edit: February 15, 2026, 09:55:26 pm by Graeme »
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #1 on: February 14, 2026, 11:44:49 pm »
Hi Graeme  ;D
Just thought I'd let you know...
Quote
* Fixed incorrect pixel coordinates in plastic style DrawFocusRect
      that used Width/Height as positions instead of Left+Width and
      Top+Height.
As I have a very good comparison piece and you too, it's easy to see, that something is a bit / still off, with the 'Plastic Dark' style.
In version '2.0.4-dev' from today, it shows some white artifacts, that weren't there in '2.0.2-dev' -- attached is a snapshot of 3 views compared...
I find the old(er) one 2.0.2 better looking.
Regards Benny
« Last Edit: February 14, 2026, 11:47:50 pm by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Graeme

  • Hero Member
  • *****
  • Posts: 1496
    • Graeme on the web
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #2 on: February 15, 2026, 02:57:36 am »
Damit. Fix one thing, break another.  :(  I'll have a look tomorrow - it's 2am and I need my beauty sleep.  8)
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Seenkao

  • Hero Member
  • *****
  • Posts: 744
    • New ZenGL.
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #3 on: February 15, 2026, 07:40:58 am »
Hi!

Я извиняюсь конечно, но не лучше было бы все обновления писать в одном топике обновляя информацию в первопосте (например указанием ссылки на обновление или старые версии), а не создавать каждый раз новый топик? Тогда людям было бы достаточно удобно заходить и искать информацию не по разным топикам, а в одном. Ведь вполне возможно ответы на их вопросы уже были, но для этого придётся искать информацию по форуму (я про будущее, а не про сейчас, сейчас "информации мало").

--------------------------
Google translate:
I apologize, but wouldn't it be better to post all updates in one thread, updating the information in the original post (for example, by providing a link to the update or older versions), rather than creating a new thread each time? Then it would be quite convenient for people to come and search for information in one thread rather than across multiple threads. It's quite possible that the answers to their questions have already been answered, but to do this you'll have to search the forum for information (I'm talking about the future, not now, as there's "little information" right now).
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

Graeme

  • Hero Member
  • *****
  • Posts: 1496
    • Graeme on the web
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #4 on: February 15, 2026, 06:10:12 pm »
I apologize, but wouldn't it be better to post all updates in one thread, updating the information in the original post (for example, by providing a link to the update or older versions), rather than creating a new thread each time? Then it would be quite convenient for people to come and search for information in one thread rather than across multiple threads.

I don't think it matters. This forum has no functionality to search within a single thread.

Take the `fpcupdeluxe` thread originally started in 2016 and currently with 177 pages of discussions.  :o  There is no functionality in this forum software, to only search that single thread/topic. So it doesn't seem to make any difference if its a single thread, or a new thread for every version released.

Someone will type in the search the term fpcupdelux + <whetever else they want> and this forum software will search all areas and all topics and all threads. And yes, you can't even search only in "Third party" area. It always searches all areas.

Having a new thread means that instantly the first post is the one telling you about "What's new in XYZ". That makes more sense to me. :-)
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

440bx

  • Hero Member
  • *****
  • Posts: 6158
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #5 on: February 15, 2026, 06:14:22 pm »
One thing that might be useful is to post a link to the previous release. 

That would give the interested reader a way of getting the software's history/evolution.  Just a thought.

Something like: "previous version: <link>"
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

Graeme

  • Hero Member
  • *****
  • Posts: 1496
    • Graeme on the web
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #6 on: February 15, 2026, 06:33:58 pm »
Yeah, I could add such a link. The link I post in each release, contains all the earlier releases on GitHub.

https://github.com/graemeg/PasBuild/releases

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #7 on: February 16, 2026, 04:09:12 pm »
Hi Graeme
Oh I'm having fun  :D
Attached is a screenshot of your handywork, where I've taken the liberty to play with / create a new theme 'carbide', it's in its infancy -- so be nice  ;D
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Fred vS

  • Hero Member
  • *****
  • Posts: 3835
    • StrumPract is the musicians best friend
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #8 on: February 16, 2026, 05:31:41 pm »
Hi Benny.

If you'd like to discover new fpGUI themes, you can check out uidesigner_ext.
(Here release for Windows, Linux and FreeBSD .)


It's a fork of fpGUI uidesigner with many new features, including a live theme viewer, numerous new styles, and much more.
« Last Edit: February 16, 2026, 05:43:54 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Graeme

  • Hero Member
  • *****
  • Posts: 1496
    • Graeme on the web
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #9 on: February 16, 2026, 06:26:12 pm »
Very nice Benny. That font colour goes really well with the background colour too. Cool.

Fred's message just reminded me about the fact that I haven't implemented "live theme previewing" in the UIDesigner.  :o  I'll have to get on to that real soon.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #10 on: February 16, 2026, 06:45:05 pm »
Hi
Yeah, I based it off of your 'Carbon'-style, which I like very much, but have trouble reading the fonts here and there, them eyes are not what they used to be  %) ...and fiddled with seing when I was hovering over a button, so that got a bit blue·ish shine to it, just enough to catch the eye :)
Next on my todo, is the cursor-bar in edits, (black on gray), can hardly see it.
I'm really having fun with your 'PasBuild' and 'fpGUI', please keep it coming  8)
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

szlbz

  • Jr. Member
  • **
  • Posts: 51
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #11 on: February 24, 2026, 01:17:43 am »
Not supporting utf8 character display and input

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #12 on: February 24, 2026, 05:34:40 am »
Hi
Of course it does!
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

cdbc

  • Hero Member
  • *****
  • Posts: 2687
    • http://www.cdbc.dk
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #13 on: February 25, 2026, 07:43:50 am »
Hi Graeme
Sorry mate, but it seems I've encountered a small /glitch/ in 'TfpgEdit' control, it /eats/ the first half-a-char's-worth of pixels of the text, when drawing itself, see attached screenshot... :-X
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Graeme

  • Hero Member
  • *****
  • Posts: 1496
    • Graeme on the web
Re: [ANN] fpGUI Toolkit v2.0.3 release
« Reply #14 on: February 26, 2026, 12:40:22 am »
Thanks for reporting.

* Is that with or without AggCanvas enabled?
* What dpi is your system at?
* Do you have display scaling enabled in your desktop environment? If so, what % are you scaling?

fpGUI's UI scaling is currently implemented by looking at the system's DPI value. But it seem recent desktop environments under Linux use scaling in the window manager without actually changing the display server's DPI value. Support for that still needs to be implemented.

« Last Edit: February 26, 2026, 12:43:04 am by Graeme »
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

 

TinyPortal © 2005-2018