Bug 477486

Summary: Ark not built with Qt6
Product: [KDE Neon] neon Reporter: Dennis <dennis>
Component: Packages Unstable EditionAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: andrej.halv, arojas, carlosd.kde, jr, kde, kfm-devel, meven29, nate, neon-bugs, sitter
Priority: NOR Keywords: qt6
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Built against Qt 6.6.0

Description Dennis 2023-11-25 02:51:27 UTC
SUMMARY
I'm missing the compress/extract options in Dolphin. 


STEPS TO REPRODUCE
1. Install Neon unstable
2. open dolphin


OBSERVED RESULT
No compress/extract options anymore. 

EXPECTED RESULT
I would expect to have the compress/extract options as a context menu option. 

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15,3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: XPS 13 9380
Comment 1 Méven Car 2023-11-26 14:55:31 UTC
What kind of file (i.e mime type or file extension) are concerned ?

Is ark installed ?
Comment 2 David Edmundson 2023-11-27 09:56:19 UTC
>Is ark installed ?

Will almost certainly be this.

Marking as needs info
Comment 3 Dennis 2023-11-27 10:37:42 UTC
Hi, 

Ark is installed. 

So I have 2 setups, on my workstation the integration is there, but it was a upgrade of ubuntu 23.10 to 24.04 (but it's 5.27.9). The Neon is a new installation (upgraded to latest) and it's missing integration.

Please let me know how I can help. I'm not an dev but an sysop and can do a lot of testing.
Comment 4 Méven Car 2023-11-27 14:27:46 UTC
(In reply to Dennis from comment #3)
> Hi, 
> 
> Ark is installed. 
> 
> So I have 2 setups, on my workstation the integration is there, but it was a
> upgrade of ubuntu 23.10 to 24.04 (but it's 5.27.9). The Neon is a new
> installation (upgraded to latest) and it's missing integration.
> 
> Please let me know how I can help. I'm not an dev but an sysop and can do a
> lot of testing.

What kind of file (i.e mime type or file extension) are concerned ?
Comment 5 Nate Graham 2023-11-27 16:26:38 UTC
Are both Ark and Dolphin using Qt6? You can find out in their "About [app name]" menu items.
Comment 6 Dennis 2023-11-28 07:44:00 UTC
No, Ark is using: 
Qt Version 5.15.11 (built against 5.15.11)

Dolphin is using:
Qt Version 6.6.0 (built against 6.6.0)
Comment 7 Nate Graham 2023-11-29 16:21:52 UTC
Yep, that's the problem. Both need to be built with the same version of Qt, or else the Ark plugins aren't compatible with Dolphin and don't show up. Ark has a Qt 6 build, so this is a Neon packaging issue. Moving over there.
Comment 8 Antonio Rojas 2023-12-07 17:13:12 UTC
(In reply to Nate Graham from comment #7)
> Yep, that's the problem. Both need to be built with the same version of Qt,
> or else the Ark plugins aren't compatible with Dolphin and don't show up.
> Ark has a Qt 6 build, so this is a Neon packaging issue. Moving over there.

This is not a packaging issue, ark is not fully ported to Qt6 yet, which is something upstream needs to sort out.

For applications (not libraries), I interpret having a Qt6 build option under a cmake flag as "Qt6 version is not ready yet for production"
Comment 9 Nate Graham 2023-12-07 18:27:42 UTC
What's missing? Seems to build okay with Qt6 for me, and on the master branch too. If you're referring to the BUILD_WITH_QT6 build flag, I'm not actually sure what this is for but it seems to be turned on globally for everything build using kdesrc-build, so it's not an Ark-specific issue?
Comment 10 Antonio Rojas 2023-12-07 20:23:43 UTC
It is not listed here [1] as ported to Qt6. Applications listed there don't have a Qt6 cmake build option, they simply only support Qt6. My understanding is that if an application is not listed there, the Qt6 port is not meant to be shipped

[1] https://community.kde.org/KDE_Gear/24.02_Release_notes
Comment 11 Nate Graham 2023-12-07 22:53:55 UTC
Created attachment 163993 [details]
Built against Qt 6.6.0

I think it might just be missing from that page (or whatever data source it used to feed it?). My Ark says it's been built just fine against Qt 6.6.0, and I can see its plugins in the context menu of Dolphin and Plasma's desktop, which are also fully Qt6 compatible.
Comment 12 Antonio Rojas 2023-12-08 10:55:19 UTC
(In reply to Nate Graham from comment #11)
> Created attachment 163993 [details]
> Built against Qt 6.6.0
> 
> I think it might just be missing from that page (or whatever data source it
> used to feed it?). My Ark says it's been built just fine against Qt 6.6.0,
> and I can see its plugins in the context menu of Dolphin and Plasma's
> desktop, which are also fully Qt6 compatible.

I'm not saying it can't be built with Qt6. I'm saying the maintainer (or whoever is responsible for that decision) still haven't declared the Qt6 version ready for production.
Comment 13 Nate Graham 2023-12-11 21:10:29 UTC
Got it. Looks like there's a mailing list thread about changing this.
Comment 14 Carlos De Maine 2023-12-12 02:33:35 UTC
neon's policy is to package qt6 apps when master is qt6 only, thus ark is still qt5 in unstable.  however experimental which builds on top unstable has alpha qt6 apps including ark.  installing the neon-settings-experimental package will upgrade any qt5 apps installed that have a qt6 variant in the experimental archive.  or manually install the ark deb from https://archive.neon.kde.org/experimental/pool/main/a/ark/
Comment 15 Carlos De Maine 2023-12-14 02:35:03 UTC
ark made the qt6 tarball list https://community.kde.org/KDE_Gear/24.02_Release_notes 
so qt6 arc has been removed from experimental and  added to neon unstable
Comment 16 Dennis 2023-12-14 10:39:43 UTC
Works! Ark integration is back in Dolphin. 

For reference:
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.90.90
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.2.0-39-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15,3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: XPS 13 9380