PeaZip: Qt6 default (GTK3 build is upstream alpha) #15

Merged
yuri merged 1 commits from fix/peazip-qt6-default into main 2026-11-11 16:27:09 +01:00
+10 -4
View File
@@ -647,11 +647,17 @@ info "Tailoring toolkits for DE=$DE / TWM=$TWM..."
# right flavor -> nothing to do
# OTHER flavor -> dnf SWAP to the wanted one (atomic: on failure the
# existing flavor stays, which is the safe outcome)
if [[ "$DE" == "plasma" || "$TWM" == "hyprland" ]]; then
peazip_wanted="peazip-qt6"
else
# XFCE, GNOME, Niri, MangoWC, chadwm: lightweight/generic toolkits
#
# Flavor choice: PeaZip's GTK3 build is ALPHA (Lazarus GTK3 widgetset) —
# upstream ships it "for test purpose only", and it renders broken on
# non-GTK Wayland compositors (YuKu-proven on niri: broken UI until a
# manual swap to qt6). GTK3 therefore only for genuine GTK stacks
# (GNOME, XFCE); Qt6 everywhere else — including niri/MangoWC/Hyprland
# and chadwm (Qt6 handles both Wayland and X11 cleanly).
if [[ "$DE" == "gnome" || "$DE" == "xfce" ]]; then
peazip_wanted="peazip-gtk3"
else
peazip_wanted="peazip-qt6"
fi
peazip_existing=""
local_v=""