Building the Plasma6 for Slackware-current in the KTown style - a build based on the AlienBOB's KTown
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1. Some menus appear detached and misplaced in some apps (case in point: MuseScore, compiled on both qt5 and qt6)
A huge and important question is IF you use a Wayland or X11 session. Because this remember me by some issues seen with the Wayland sessions on the past - I talk about something like Plasma 5.10.x when it was on KTown.
Possible that your particular application(s) to (still) interact badly with the Wayland sessions, and please note that contrary to Plasma5, the Plasma6 uses as default a Wayland session, while on SDDM login screen, the X11 sessions are named: Plasma (X11)
Quote:
Originally Posted by sombragris
2. I'm having some weird unicode issues. Some filenames with unicode characters now appear with codes such as \0555. Maybe a compile time switch is needed somewhere?
Which language setup you use?
I for one, I use ru_RU.UTF-8 - set on user side, after login, for my (own) desktop sessions and en_US.UTF-8 as system-wide setup and for the desktop sessions on cases when I want to show screenshots to English speaking people. Yet, even I use 2 full different character sets on a given computer, I did not observed on this Plasma6 build an issue like the one described by you.
However, IF what you describe is confirmed, probably this is something down to the Qt libraries, which both Qt6 and Qt5 are the ones shipped as is by Slackware-current. Anyway, I do not exclude your issues, but I need more information to reproduce them.
Last edited by LuckyCyborg; 05-07-2024 at 02:49 PM.
A huge and important question is IF you use a Wayland or X11 session. Because this remember me by some issues seen with the Wayland sessions on the past - I talk about something like Plasma 5.10.x when it was on KTown.
Possible that your particular application(s) to (still) interact badly with the Wayland sessions, and please note that contrary to Plasma5, the Plasma6 uses as default a Wayland session, while on SDDM login screen, the X11 sessions are named: Plasma (X11)
I'm using the Plasma (Wayland) session launched from SDDM.
Quote:
Which language setup you use?
I for one, I use ru_RU.UTF-8 - set on user side, after login, for my (own) desktop sessions and en_US.UTF-8 as system-wide setup and for the desktop sessions on cases when I want to show screenshots to English speaking people. Yet, even I use 2 full different character sets on a given computer, I did not observed on this Plasma6 build an issue like the one described by you.
However, IF what you describe is confirmed, probably this is something down to the Qt libraries, which both Qt6 and Qt5 are the ones shipped as is by Slackware-current. Anyway, I do not exclude your issues, but I need more information to reproduce them.
I use en_US.UTF-8 as my LANG variable.
The Plasma environment is set up with American English as basic languages but most regional settings are configured for Europe or my country (Paraguay). Sadly Plasma no longer allows a fine-grained tuning of regional settings. All text applications and also konsole/yakuake profiles are set to UTF-8 as in Plasma 5. I did not have these issues with Plasma 5.
The point is: my own language needs are rather simple; they are usually covered by the latin1 encoding (ISO 8859-1). The filenames which usually trigger this response are those with Turkish or Polish characters.
I'm using the Plasma (Wayland) session launched from SDDM.
You can be kind to test the same issue (both with the misplaced menus and text) while using a X11 session, by starting a Plasma (X11) session? This is important to see if the issues are generic or specific to Wayland sessions.
Quote:
Originally Posted by sombragris
I use en_US.UTF-8 as my LANG variable.
The Plasma environment is set up with American English as basic languages but most regional settings are configured for Europe or my country (Paraguay). Sadly Plasma no longer allows a fine-grained tuning of regional settings. All text applications and also konsole/yakuake profiles are set to UTF-8 as in Plasma 5. I did not have these issues with Plasma 5.
The point is: my own language needs are rather simple; they are usually covered by the latin1 encoding (ISO 8859-1). The filenames which usually trigger this response are those with Turkish or Polish characters.
You can give me some examples of (downloadable) files with Turkish or Polish characters (i.e. images), which triggers these issues?
Last edited by LuckyCyborg; 05-07-2024 at 04:05 PM.
I now tried MuseScore 3.6.x, compiled against Qt5, and menus work OK even in Wayland session. Still I plan to test MuseScore 4.1 against the X11 session as you requested.
Last edited by sombragris; 05-07-2024 at 04:11 PM.
Just an FYI there is a 4.3.0 MuseScore release which includes a patch for some misbehavior with qt5-declarative and menus. I’m building the 4.3.0 release as we speak, but I’m unsure if this is the fix you’re after. But the SBo package is outdated and i feel its generally a good idea to test on the latest release when using the latest environment as well. So that may be an option, or the 4.2.1 could be patched as well.
The Arch package has the patch commit info if one would like to go that route.
1. I tried MuseScore 4.2.1 under Plasma6/X11 and menus work OK there.
2. I tried MuseScore 4.2.1 under Plasma5/Wayland and menus work OK.
3. I tried Musescore 4.2.1 under Plasma6/Wayland and menus appear out of place.
4. Thanks @jloco, I will try 4.3.0
5. @LuckyCyborg: about the filename and weird characters snafu, I sent you a link via private message.
Well, I built Musescore 4.3 and the menus issue still persists. In addition, I noticed that it won't build on Qt6 even after passing it all the Qt6 Cmake options from the KDE6 buldscript.
Well, there is my second upload of the Plasma6 build of mine, in the form of two huge tarballs: plasma6-packages-20240505.tar of size 934.82 MB containing the x86_64 packages built by me on current Slackware-current, while the second one being plasma6-source-20240505.tar of size 1.92GB containing the full build system, including the source tarballs and scripts. You can find them both on the link bellow for the next 30 days:
This second build ships the packages for KDE Plasma 6.0.4 , KDE Frameworks 6.1.0 , KDE Frameworks 5.115.0 (for Qt5 compatibility) and KDE Applications 24.02.2 , everything built against the stock -current's Qt6 and Qt5 .
Also, there was updated MPV 0.38 and associated phonon-backend-mpv was rebuilt to link against its .so library, and various applications-extra packages was updated: kdiagram-3.0.1 , kdsoap-ws-discovery-client-0.4.0 , kid3-3.9.5 , kirigami-addons-1.1.0 , pulseaudio-qt-1.4.0 and krusader-2.8.1 .
Regarding the issue with the characters, I am really sorry, but I cannot confirm it. My system insists to display properly the name of Michał Klauza, both on Konsole and Dolphin, also the files looks like being extracted properly. I believe that's either an issue with your language setup, either your system is really "dirty" and a clean install may be necessary. Please note that my -current installation used to experiment with Plasma6 is no longer than a month old. I have did a clean install for building "clean" the packages for the first build from this thread.
Regarding the MuseScore's menus issue on Wayland/Plasma6 sessions, I can confirm it, if it's about what you see in the attached screenshot. And this one is MuseScore 4.3.0
However, looks like even on latest version of 4.3.0 the MuseScore has NO support for Qt6 (but they work actively on porting it to) and to add insult to injury, they use a custom way on rendering the interface, which is clear that is not fully compatible with the latest support offered by the Wayland/Plasma6 sessions.
BUT, I for one I am not a C/C++ programmer, so my sincere suggestion is you to open an issue on their repository, along with the 2.5k other ones already present.
Meanwhile, I have experimented with a "special" package, which uses a script wrapper to force the XCB platform even on those Wayland sessions. This means that even on a Wayland session the MuseScore will use the X11 backend (via XWayland) and the menus will be properly rendered. For your convenience, I have uploaded a tarball containing both the package and the SlackBuild, and you can find it bellow:
Let's hope that they are aware by this issue with Wayland/Plasma6 and that they will fix it along with the porting to Qt6 which is now done on the "master" branch.
Last edited by LuckyCyborg; 05-08-2024 at 06:39 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.