Recent

Author Topic: [SOLVED]Might have a menu bug in lazarus  (Read 3321 times)

Tony Stone

  • Sr. Member
  • ****
  • Posts: 265
[SOLVED]Might have a menu bug in lazarus
« on: January 13, 2025, 01:42:08 pm »
I don't have my exact versions on me but I am wondering if Linux users with a Trunk version of Lazarus can let me know if the menu items are highlighted when the mouse is over them.  It is something I noticed in recent months and thought it was after upgrading my Linux Mint Cinnamon desktop but not quite sure.  I ran an old GTK2 application and the menu items are highlighted when the mouse is over them.  But not in my latest Lazarus build or my GTK2 applications built by Lazarus.

Would anyone mind checking to see if they have this issue if you have a Linux setup and can run in GTK2?

For me it is popup menus and main menus anywhere in the IDE.  I have tried different system themes on cinnamon.  I would like some feedback before making a proper bug report if necessary. Thanks!


« Last Edit: January 14, 2025, 03:26:32 am by Tony Stone »

cdbc

  • Hero Member
  • *****
  • Posts: 1807
    • http://www.cdbc.dk
Re: Might have a menu bug in lazarus
« Reply #1 on: January 13, 2025, 01:46:12 pm »
Hi
They're highlighted when mouse passes over, in my laz-4.99 built today @08.45, running QT5
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

Tony Stone

  • Sr. Member
  • ****
  • Posts: 265
Re: [SOLVED]Might have a menu bug in lazarus
« Reply #2 on: January 14, 2025, 03:30:15 am »
Ok so it isn't exactly a Lazarus issue I am discovering.  When I updated to Linux Mint 22 I ended up changing the desktop theme because stuff didn't look right.  So at this point the only theme's on Linux Mint 22 that now show menu items being highlighted are the Mint-X themes.  None of the Mint-Y themes look right.

So it is still odd to me though that another GTK2 program I ran seems to have no issue displaying menus with highlights but Lazarus and Lazarus applications don't show highlights on menus anymore.  Oh well... Maybe I will experiment with GTK3 again or even QT.

dbannon

  • Hero Member
  • *****
  • Posts: 3212
    • tomboy-ng, a rewrite of the classic Tomboy
Re: [SOLVED]Might have a menu bug in lazarus
« Reply #3 on: January 14, 2025, 09:07:11 am »
....  Oh well... Maybe I will experiment with GTK3 again or even QT.

I'd advise Qt5 or Qt6 before gtk3 Tony. But remember, Qt apps can be setup to follow gtk* themes. Or, with a bit of effort, a theme of your choosing.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Tony Stone

  • Sr. Member
  • ****
  • Posts: 265
Re: [SOLVED]Might have a menu bug in lazarus
« Reply #4 on: January 14, 2025, 10:39:56 pm »
I did mess with QT6 for a bit but didn't like some of the issues it caused in my programs so I went back to GTK2.  I will mess with alternatives to GTK2 again.


But I do almost need to go back and say there may in fact be an issue with Lazarus.  So on a similar system, Linux Mint Cinnamon, using the Mint-Y themes the menu items do show highlights where on my regular desktop they do not.  So there is enough differences in the 2 systems I may be able to narrow down the issue further.  I do also have issues with scroll bar colors being improperly drawn but I am gonna focus on the menu issue for the time being and see if I can narrow down the actual cause.

 

TinyPortal © 2005-2018