Avidemux from Git has a very limited menu, Kubuntu 24.10

Started by kennethrc, January 21, 2025, 03:49:06 AM

Previous topic - Next topic

kennethrc

I've been building and running Avidemux out of git for years now. Upgraded to Kubuntu 24.10 (X11) last week, and after figuring out a few build issues with Qt6, have a series of .debs in pkgs, same as always.

Using git master of 9e525222cd6.

But other than 4 icons (Open, Save, Information and Play Filtered) I have no other menu options.

FWIW, my workflow was:
- git pull
- git submodule update (when necessary)
- rm -rf build* (when necessary)
- qtchooser -install qt6 $(which qmake6)
- export QT_SELECT=qt6
- export QT_HOME=/usr/lib/x86_64-linux-gnu/qt6
- bash ./makeAppImageBuster.sh
- sudo dpkg --install pkgs/*
- avidemux3_qt6

Jan Gruuthuse

Build once this way, this will check for important components
cd ~/avidemux2 && bash createDebFromSourceUbuntu.bash --deb then install the install build components
cd ~/avidemux2/pkgs && sudo dpkg -i *.deb
There should be text menu on the top:

eumagga0x2a

makeAppImageBuster.sh is not intended to work with anything at all. The similar script with "Minimal" in the name creates a working appImage on Debian Buster (that appImage is not fully self-contained, relying on system libraries to provide some hw accel features).

Ubuntu (not Kubuntu) was famous for pushing the macOS-inspired global menu, breaking a lot of stuff.

The latest bootStrap.bash and CMake scripts should find Qt6 on *ubuntu without the help of QT_HOME.

kennethrc

... so after:
\rm -rf build* pkgs/*
time bash ./bootStrap.bash  --deb
sudo dpkg --install pkgs/*
avidemux3_qt6

I still get no menu bar. (Ignore that "... Readback benchmark ..." stuff, it was the text on the kconsole underneath).

Any suggestions?

QuoteUbuntu (not Kubuntu) was famous for pushing the macOS-inspired global menu, breaking a lot of stuff

It appears to be breaking here with Kubuntu as well (the Global Menu at the top of my screen is that for Konsole), anything I can do to work around it?

You cannot view this attachment.

eumagga0x2a

Quote from: kennethrc on January 21, 2025, 10:28:41 PMAny suggestions?

QuoteUbuntu (not Kubuntu) was famous for pushing the macOS-inspired global menu, breaking a lot of stuff

It appears to be breaking here with Kubuntu as well (the Global Menu at the top of my screen is that for Konsole), anything I can do to work around it?

I am sorry, but if you would like to use Avidemux with Global Menu, you would need to resolve all compatibility issues in the code yourself. To upstream your patches, they may not affect any other platforms (especially Unix / Linux desktop environments not using Global Menu), and you should commit to maintaining them for forseeable future.

An easy solution would be to remove Global Menu related packages.

kennethrc

Well, "Option 1" is a non-starter, and I'm not sure how to do "Option 2".

Is there a way to build the Qt5 version from git (which was working just fine last week)?

kennethrc

Quote from: kennethrc on Today at 12:19:00 AMWell, "Option 1" is a non-starter
... or is it? I mean, if I knew (i.e., "were told") what/how to change I could keep that in my own branch and manage the merges myself.

So, what would "[resolving] all compatibility issues in the code yourself" entail?