LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-07-2024, 12:36 PM   #31
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Original Poster
Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402

Quote:
Originally Posted by sombragris View Post
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 View Post
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.
 
1 members found this post helpful.
Old 05-07-2024, 03:35 PM   #32
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 893

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
Quote:
Originally Posted by LuckyCyborg View Post
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.
 
1 members found this post helpful.
Old 05-07-2024, 03:47 PM   #33
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Original Poster
Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
Quote:
Originally Posted by sombragris View Post
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 View Post
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.
 
Old 05-07-2024, 03:49 PM   #34
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 893

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
An additional note: As for the (detached and misplaced) menus, I'm citing MuseScore 4.1 as an example.

In Plasma 5 and compiled under qt5, MuseScore behaved correctly in this regard, although it never was very stable.

Now, it is as unstable as ever (not more), but I get those misplaced menus, no matter whether compiled against qt5 or qt6.
 
Old 05-07-2024, 03:51 PM   #35
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Original Poster
Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
Quote:
Originally Posted by sombragris View Post
An additional note: As for the (detached and misplaced) menus, I'm citing MuseScore 4.1 as an example.

In Plasma 5 and compiled under qt5, MuseScore behaved correctly in this regard, although it never was very stable.

Now, it is as unstable as ever (not more), but I get those misplaced menus, no matter whether compiled against qt5 or qt6.
On Plasma5 you used to use a Wayland or X11 session?

And how about the MuseCore 4.2.1 bellow, for trying to test the menus issue. It have the issues, if I build it?

https://slackbuilds.org/repository/1...dia/MuseScore/

Last edited by LuckyCyborg; 05-07-2024 at 04:08 PM.
 
Old 05-07-2024, 04:10 PM   #36
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 893

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
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.
 
1 members found this post helpful.
Old 05-07-2024, 04:12 PM   #37
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 893

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
Quote:
Originally Posted by LuckyCyborg View Post
On Plasma5 you used to use a Wayland or X11 session?

And how about the MuseCore 4.2.1 bellow, for trying to test the menus issue. It have the issues, if I build it?

https://slackbuilds.org/repository/1...dia/MuseScore/
Yes, all cases of displaced menus were from MuseScore 4.1 as posted in SlackBuilds.org against the Wayland Plasma 6 session.
 
Old 05-07-2024, 04:13 PM   #38
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Original Poster
Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
Quote:
Originally Posted by sombragris View Post
Yes, all cases of displaced menus were from MuseScore 4.1 as posted in SlackBuilds.org against the Wayland Plasma 6 session.
BUT, I can assume that on X11 sessions it works OK?

Also, seems like on the SlackBuilds.org is MuseCore 4.2.1 , not 4.1

Last edited by LuckyCyborg; 05-07-2024 at 04:16 PM.
 
Old 05-07-2024, 04:20 PM   #39
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 893

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
Quote:
Originally Posted by LuckyCyborg View Post
You can give me some examples of (downloadable) files with Turkish or Polish characters (i.e. images), which triggers these issues?
I will try to send you some links in private.
 
Old 05-07-2024, 04:25 PM   #40
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Original Poster
Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
Quote:
Originally Posted by sombragris View Post
I will try to send you some links in private.
Many thanks!
 
Old 05-07-2024, 05:06 PM   #41
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 189

Rep: Reputation: 173Reputation: 173
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 members found this post helpful.
Old 05-07-2024, 05:13 PM   #42
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 893

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
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.
 
Old 05-07-2024, 06:13 PM   #43
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 893

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
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.

All other Qt5 apps behave normally. Oh well.
 
2 members found this post helpful.
Old 05-07-2024, 08:50 PM   #44
shipujin
Member
 
Registered: May 2022
Location: China
Distribution: slackwareloong
Posts: 110
Blog Entries: 1

Rep: Reputation: 29
Quote:
Originally Posted by LuckyCyborg View Post
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:

https://easyupload.io/m/uvy9km

Alternatively, you can download these files from the Mega mirror kindly provided by @marav :

https://mega.nz/folder/dEk00SBB#aVK0Eo4r4e3ZyWQtx-4IMQ

The associated SHA256 checksums for these tarballs are:
Code:
8d872c8c58a5b718ca04bd7997ce07b7717a78f169d8ecdc3864ae3c45186a6d  plasma6-packages-20240505.tar
600b98c71fbdbe2f9c474b09630056d354df0eaf7af09a25feaa5fe2d0473653  plasma6-source-20240505.tar
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 .
Thanks @LuckyCyborg for the great effort!

Best regards
---
SlackwareCN: The Slackware Linux CN Community
slackwareCN:https://github.com/slackwarecn
slackwareCN:http://www.slackwarecn.cn
slackwareloong doc :https://github.com/slackwarecn/slackbook_cn_loongarch64
slackwareloong web doc : https://slackwarecn.gitbook.io/slackbook_cn_loongarch64

Last edited by shipujin; 05-07-2024 at 08:52 PM.
 
2 members found this post helpful.
Old 05-08-2024, 06:34 PM   #45
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Original Poster
Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
@sombragris

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:

https://easyupload.io/ixoxyd

The associated checksum is bellow:
Code:
755c527e4ea43e769515e87d2801f4038426ed402ab14d48d72fd8e8d5f09473  MuseScore-4.3.0.tar
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.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20240508_222249.jpg
Views:	24
Size:	165.2 KB
ID:	42792  

Last edited by LuckyCyborg; 05-08-2024 at 06:39 PM.
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building the KDE4 for Slackware 15.0 in the KTown style - a build based on the PBSLACKS patches LuckyCyborg Slackware 408 05-05-2024 09:06 AM
e.g., BSD style (Slackware) vs. SystemV style startup scripts haertig Slackware 5 01-03-2009 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration