Page 1 of 1
yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 11:48 am
by dolphin_oracle
taking this out of the package team coordination thread.
yad 14 is in mx test repo, at least for mx23.
In my experience, certain graphical elements in existing scripts that use yad dialogs break. in the antiX persistence scripts button icons are not visible and the former pre-canned yad OK and cancel buttons now just display "gtk-ok" and "gtk-cancel" respectively.
other scripts, like User Installed Packages, appear Ok at least at first look.
So before any migration of yad 14 into main repos (and even then IMO not before mx25), any existing scripts that utilize yad for dialogs will require updating and checking to make sure they still work with the newer libraries. That would include the persistence maintenance scripts, apt-notifier in its current state, mx-idesktool, and many smaller scripts utilized mostly by the fluxbox release.
possibly updating /usr/local/lib/antiX/antiX-common.sh will solve some of this. But all scripts utilizing yad would still need reviewed.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 12:02 pm
by dolphin_oracle
dolphin_oracle wrote: Wed Mar 12, 2025 11:48 am
taking this out of the package team coordination thread.
yad 14 is in mx test repo, at least for mx23.
In my experience, certain graphical elements in existing scripts that use yad dialogs break. in the antiX persistence scripts button icons are not visible and the former pre-canned yad OK and cancel buttons now just display "gtk-ok" and "gtk-cancel" respectively.
other scripts, like User Installed Packages, appear Ok at least at first look.
So before any migration of yad 14 into main repos (and even then IMO not before mx25), any existing scripts that utilize yad for dialogs will require updating and checking to make sure they still work with the newer libraries. That would include the persistence maintenance scripts, apt-notifier in its current state, mx-idesktool, and many smaller scripts utilized mostly by the fluxbox release.
possibly updating /usr/local/lib/antiX/antiX-common.sh will solve some of this. But all scripts utilizing yad would still need reviewed.
updating antiX-common seems to clear up the button issue. the issue is that somewhere between 0.40 and 14.X, the canned button names were renamed, and they are not backward compatible. So if you use the old canned items, likely their names are different now. for instance, gtk-ok is now yad-ok, and so forth.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 12:03 pm
by AVLinux
Hmmm,
I use it for a lot of AVL stuff too, pretty much all my custom utilities and some file actions, better get to work I guess...
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 1:00 pm
by anticapitalista
Could you also check RAM usage compared to the older (present) version.
If I remember correctly, there is a significant difference ie new yad uses more RAM
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 1:10 pm
by dolphin_oracle
anticapitalista wrote: Wed Mar 12, 2025 1:00 pm
Could you also check RAM usage compared to the older (present) version.
If I remember correctly, there is a significant difference ie new yad uses more RAM
this is the yad command for the General vs. personal chooser generated when running "sudo live-remaster". ps_mem.py used for the info.
yad 0.40 - 8.2 MiB
yad 14.x - 8.4 MiB
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 1:29 pm
by AVLinux
Hi,
Not sure if this will affect @Melber but the color picker has changed, formerly a '--color' switch gave a dialog with a picker button and now there is no picker button unless you specify '--picker' in your options. Not a big deal but it could break the Papirus Folders app?
*EDIT it does affect Papirus Folders, when it launches the color picker there is no longer the button to select a color from the Desktop..
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 1:31 pm
by Melber
dolphin_oracle wrote: Wed Mar 12, 2025 11:48 am
...
In my experience, certain graphical elements in existing scripts that use yad dialogs break. in the antiX persistence scripts button icons are not visible and the former pre-canned yad OK and cancel buttons now just display "gtk-ok" and "gtk-cancel" respectively.
...
Is it mainly button labels that need checking, or do you know of any other yad 14 weirdness, eg. dialog geometry, text formatting etc?
...other scripts, like User Installed Packages, appear Ok at least at first look....
How about papirus-folder-colors?
...
So before any migration of yad 14 into main repos (and even then IMO not before mx25), any existing scripts that utilize yad for dialogs will require updating and checking to make sure they still work with the newer libraries. That would include ... many smaller scripts utilized mostly by the fluxbox release.
Yep lots of stuff in MX-Fluxbox needs to be checked. Please don't move yad 14 into main repos before MX25.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 1:34 pm
by AVLinux
@Melber
See above, Folders is affected
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 1:35 pm
by dolphin_oracle
@anticapitalista
possible mitigation for antiX-style-default.sh (posting for future reference as I'm not on my usual pc at the moment and I don't want to lose it).
Code: Select all
#--image=gtk-dialog-question
#--image=gtk-dialog-info
yad_version=$(yad --version |cut -d"." -f1)
#echo "yad_version is " $yad_version
BUTTON_OK="gtk-ok"
BUTTON_CANCEL="gtk-cancel"
BUTTON_NO="gtk-no"
BUTTON_YES="gtk-yes"
if [ $(($yad_version)) -gt 1 ]; then
BUTTON_OK="yad-ok"
BUTTON_CANCEL="yad-cancel"
BUTTON_NO="yad-no"
BUTTON_YES="yad-yes"
fi
YAD_DEVICE_OPTS="
--width=680 --height=400
--button=$BUTTON_OK:0
--button=$BUTTON_CANCEL:1"
YAD_YES_NO_OPTS="
--button=$BUTTON_YES:0
--button=$BUTTON_NO:1"
YAD_ERROR_OPTS="
--image=gtk-dialog-error
--button=$BUTTON_OK:0"
YAD_EXIT_OPTS="
--button=$BUTTON_OK:0"
YAD_INFO_OPTS="
--button=$BUTTON_OK:0"
YAD_BG_INFO_OPTS="
--button=$BUTTON_CANCEL"
YAD_MULTI_OPTS="
--button=$BUTTON_OK:0
--button=$BUTTON_CANCEL:1"
provides the right button definition depending on version of yad. well, between 14 and 0.40 anyway.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 1:40 pm
by Melber
AVLinux wrote: Wed Mar 12, 2025 1:34 pm
@Melber
See above, Folders is affected
Ninja'd. Yep, there's my answer.

The question now is: Are we definitely going to move to yad 14?
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 2:02 pm
by dolphin_oracle
Melber wrote: Wed Mar 12, 2025 1:40 pm
AVLinux wrote: Wed Mar 12, 2025 1:34 pm
@Melber
See above, Folders is affected
Ninja'd. Yep, there's my answer.

The question now is: Are we definitely going to move to yad 14?
its either move to 14 or keep 0.40. neither is in trixie.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 3:39 pm
by timkb4cq
I installed yad 14.1 on my daily driver and there were problems with apt-notifier.
Some options would not open, and when trying to open MXPI from that menu there was an error about not being able to run a command as another user.
After this, I rebooted - or at least tried to. My MX-23 install had been borked and stops booting right after the network connects but before a GUI comes up. I don't actually know if yad was the cause - could be a coincidence - but I would suggest anybody testing yad 14.1 with apt-notifier menus should have timeshift or a very recent backup.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 3:41 pm
by timkb4cq
dolphin_oracle wrote: Wed Mar 12, 2025 2:02 pm
its either move to 14 or keep 0.40. neither is in trixie.
Ubuntu has put yad 7.2 in Plucky so that version should have had more testing.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 3:45 pm
by Jerry3904
I've been looking for a description of the new features of 14 but not having much luck. The question lurking at the back of my mind is: does it offer anything we actually need?
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 4:17 pm
by kmathern
I've been using yad 14.1 for a couple months now and haven't really had problems with apt-notifier. The only thing I see is that the 'Close' button for the History window is labeled 'gtk-close'. I thought that also used to be a problem with the View and Upgrade window but not seeing it now.
I was trying to remember where I downloaded the 14.1 deb from that I've been using, turns out I built it (forgot).
Here's a changelog of sorts for yad
https://github.com/v1cont/yad/blob/master/NEWS
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 4:26 pm
by AVLinux
There are some things I like better about apt-notifier, with updated YAD on my system the 'View and Upgrade' window is now a text info window rather than a terminal window and it looks a bit more 'pulled-together' in general, I do also see the 'gtk-close' button on the history dialog..
*NOTE I have not rebooted yet but I'd sincerely hope a yad upgrade couldn't cause trouble that deep...
*EDIT I looked back in a VM and the older version actually shows a text info dialog for 'View and Upgrade' so that IS NOT new, I'm testing some new themes and probably have not looked very closely at apt-notifier's guts in a while... Apparently I also need to stop day drinking...

Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 4:30 pm
by Jerry3904
Thanks.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 5:03 pm
by aika
dolphin_oracle wrote: Wed Mar 12, 2025 11:48 am... yad OK and cancel buttons now just display "gtk-ok" and "gtk-cancel" respectively ...
This is less serious than the size differences with "--height=..." and "--geometry=...x..."
A good idea would be to adjust the =>
/usr/local/lib/antiX/antiX-common.sh
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 5:27 pm
by Melber
aika wrote: Wed Mar 12, 2025 5:03 pm
This is less serious than the size differences with "--width=..." and "--geometry=...x..."
Can you explain what you mean?
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 5:44 pm
by aika
Melber wrote: Wed Mar 12, 2025 5:27 pm... Can you explain what you mean?
German-MX-Forum =>
aika wrote: Mon Feb 03, 2025 7:08 pm... mit Yad-0.40 , dann sehen die Fenster eh' anders aus ...
aika wrote: Tue Feb 04, 2025 6:03 pm
Mit unterschiedlichen Fenstergrößen möchte ich mich erst später wieder beschäftigen,
denn wenn Debian-Update mit der neuen Yad-Version nachzieht, kann ich wieder
--geometry=700x... einsetzen und das Problem ist schnell erledigt.
Die Kompatibilität der unterschiedlichen Desktop-Environments und Desktop-Themen von Linux ist in der Realität auch nicht unbegrenzt ...
My Gitlab-Fork =>
https://gitlab.com/Aika_Sumeragi/1-to-1 ... ance-antix
New Download-Version
1-to-1-assistance-antix =>
http://aika.bplaced.net/1-to-1-assistan ... .0_all.deb
Code: Select all
--window-icon=gtk-about --width=700 --button=gtk-close \
--text ' WARNING: \
...
I'm currently omitting the height information for the text window because the Yad versions are incompatible.
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 7:13 pm
by siamhie
Are there any scripts utilizing gtk2?
Code: Select all
Version 1.0
- completely removed support of gtk+-2.0
- minimum required gtk+ version bump to 3.22.0
Re: yad 14 (mx23 testing)
Posted: Wed Mar 12, 2025 7:36 pm
by aika
siamhie wrote: Wed Mar 12, 2025 7:13 pm
Are there any scripts utilizing gtk2? ...
No
Code: Select all
aika@mx-dell:~
$ apt policy yad
yad:
Installiert: 0.40.0-1
...
aika@mx-dell:~
$ apt depends yad
yad
...
Hängt ab von: libgtk-3-0 (>= 3.21.6)
...
aika@mx-dell:~
$
Re: yad 14 (mx23 testing)
Posted: Thu Mar 13, 2025 1:20 am
by siamhie
aika wrote: Wed Mar 12, 2025 7:36 pm
siamhie wrote: Wed Mar 12, 2025 7:13 pm
Are there any scripts utilizing gtk2? ...
No
Code: Select all
aika@mx-dell:~
$ apt policy yad
yad:
Installiert: 0.40.0-1
...
aika@mx-dell:~
$ apt depends yad
yad
...
Hängt ab von: libgtk-3-0 (>= 3.21.6)
...
aika@mx-dell:~
$
I was thinking more along the lines of programs the MX devs write.
Re: yad 14 (mx23 testing)
Posted: Thu Mar 13, 2025 4:20 am
by Melber
siamhie wrote: Thu Mar 13, 2025 1:20 am
I was thinking more along the lines of programs the MX devs write.
afaik, windows opened by yad scripts use gtk3 theming.
Re: yad 14 (mx23 testing)
Posted: Thu Mar 13, 2025 10:27 am
by siamhie
Melber wrote: Thu Mar 13, 2025 4:20 am
siamhie wrote: Thu Mar 13, 2025 1:20 am
I was thinking more along the lines of programs the MX devs write.
afaik, windows opened by yad scripts use gtk3 theming.
Thanks. I mentioning that YAD 1.0 removed support of gtk+-2.0 and wasn't sure if that played a part in the issues mentioned in this thread.