Recent

Author Topic: Gtk3 widgetset - call for testing  (Read 3485 times)

zeljko

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Gtk3 widgetset - call for testing
« Reply #45 on: June 30, 2026, 11:15:00 am »
1. It blinks ok here all the time, cannot reproduce it with gtk3.
2. "Royal blue" selection color is not bug - it is difference in theme highlight color (clHighlight) IMO.

PeterBB

  • Jr. Member
  • **
  • Posts: 98
Re: Gtk3 widgetset - call for testing
« Reply #46 on: June 30, 2026, 09:24:17 pm »
Hi Zeljko,

1. It blinks ok here all the time, cannot reproduce it with gtk3.
2. "Royal blue" selection color is not bug - it is difference in theme highlight color (clHighlight) IMO.

I think the new Blue is better ;-)

Anyway, when you get time, could you email me or post your copy of the reg.xml file that sits
in the folder where Maps and Saved reside?

Also, which Operating System and which version of c-evo-dh are you using?
If its Debian, could you send me a copy of the debian source deb used in the lazarus build,
and are you carrying any debian patches?

Cheers,
Peter


zeljko

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Gtk3 widgetset - call for testing
« Reply #47 on: July 01, 2026, 09:35:07 am »
I'm using Mint 22.3, KDE Plasma 5 x11, c-evo downloaded from link you provided here, find attached reg.xml from $HOME/.config/c-evo-dh, lazarus trunk installed via fpcupdeluxe - so vanilla.

PeterBB

  • Jr. Member
  • **
  • Posts: 98
Re: Gtk3 widgetset - call for testing
« Reply #48 on: July 01, 2026, 12:20:41 pm »
Hi Zeljko,

Seems its nothing to do with reg.xml

I have purged and reinstalled lazarus and c-evo.
I had some old debug versions installed that may well
have been my problem. Anyway, blinking is back in gtk3,
and no other obvious issues.  Many thanks!

FWIW I'm using Arch here, as its generally much easy
to upgrade PKGBUILDs to new versions, unlike Debian packaging!

Regards,
Peter

P.S.  Still no blinking with Qt
Using rev 74074 commit 1800da0



zeljko

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Gtk3 widgetset - call for testing
« Reply #49 on: July 01, 2026, 02:00:15 pm »
Haven't touched qt in this regard, but will check

PeterBB

  • Jr. Member
  • **
  • Posts: 98
Re: Gtk3 widgetset - call for testing
« Reply #50 on: July 01, 2026, 02:25:58 pm »
Argh!!

I spoke too soon about the blinking in gtk3.
Seems it is intermittent, between different start-ups of the game.

In some starts, it always works. Other starts, blinks only in the top left quadrant.
Game is generally playable. I found another issue though;

When defeating an enemy stack, there is a pop-up titled
" .... army destroyed"  with a window showing graphics of the destroyed units.
This window was blank.
 ( That would be 'ARMYLOST' in LocalPlayer/Term.pas around line 6620 )
   
Code: Pascal  [Select][+][-]
  1.       if nLostArmy > 1 then
  2.       begin
  3.         with MessgExDlg do
  4.         begin
  5.           Kind := mkOk;
  6.           IconKind := mikEnemyArmy;
  7.           MessgText := Tribe[Defender].TString(Phrases.Lookup('ARMYLOST',
  8.             MyRO.EnemyModel[MyRO.EnemyUn[euix].emix].Domain));
  9.           ShowModal;
  10.         end;
  11.       end;
  12.  

Guess I need to produce a saved game to demonstrate this,
but afraid I'm rather busy right now as a have a vacation coming up.

Cheers,
Peter


 

 

zeljko

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Gtk3 widgetset - call for testing
« Reply #51 on: July 01, 2026, 02:38:37 pm »
I'll be on vacation too :) , but yes, I guess saved game could help me a lot to see what's up exactly.

 

TinyPortal © 2005-2018