FS#53696 - [teamspeak3] Global theme integration broken

Attached to Project: Community Packages
Opened by Phillip Schichtel (pschichtel) - Monday, 17 April 2017, 12:21 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since the teamspeak3 package started packaging the Qt5 libs as port of the solution for https://bugs.archlinux.org/index.php?do=details&task_id=53578 the teamspeak does not integrate into the global GTK2 theme as other Qt applications do with the GTK2 style plugin.

My Desktop is GNOME 3.22.2 with qt5-styleplugins (from AUR) installed, to integrate Qt5 applications with the my GTK theme (Adapta Nokto).


This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:00 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/teamspeak3/issues/1
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 20 April 2017, 18:12 GMT
Frankly I have no idea how to solve this given that we probably should continue using the included Qt5 libraries.
Comment by Joe Groocock (frebib) - Friday, 17 November 2017, 13:58 GMT
Has this issue been reported upstream? It looks like a change or incompatibility with the Qt libraries bundled and the ones on the system. I can't seem to get it to run without the bundled libraries as it's acting very strangely
Comment by Bjoern Bidar (Thaodan) - Tuesday, 08 May 2018, 22:37 GMT
I found workaround on this.
libquazip needs to be a dependency and the so name needs to be libquazip.so instead of libquazip5.so like in arch.
Than the bunled qt needs to be removed and everything is fine.

This should opening link in teamspeak too.
Comment by Joe Groocock (frebib) - Tuesday, 08 May 2018, 23:01 GMT
Can you provide specific instructions so I can replicate this workaround?
Comment by Bjoern Bidar (Thaodan) - Tuesday, 08 May 2018, 23:05 GMT
rm *.so*
rm qt.conf
ln -s /usr/lib/libquazip5.so libquazip.so
LD_LIBRARY_PATH=. ./ts3client_linux_amd64
Comment by Joe Groocock (frebib) - Tuesday, 08 May 2018, 23:12 GMT
I should point out at this point that this requires the `libc++` package from the AUR
Comment by Joe Groocock (frebib) - Tuesday, 08 May 2018, 23:23 GMT
I can confirm the workaround behaving as expected too, with libc++ installed.
By using patchelf to correct the library file name, the symlink and LD_LIBRARY_PATH aren't required.
In fact, it renders the massive hack of a start script completely useless.

rm *.so*
rm qt.conf
patchelf --replace-needed libquazip.so libquazip5.so ts3client_linux_amd64
/opt/teamspeak3/ts3client_linux_amd64
Comment by Joe Groocock (frebib) - Wednesday, 09 May 2018, 00:05 GMT
By no means do I consider this a fix, but for those interested, here is the patched PKGBUILD for the latest 3.1.9-1 package, removing all bundled libraries and patching ts3client_.. to be compatible with Arch libquazip

https://github.com/frebib/teamspeak3-aur

I'll be submitting this to the AUR in the coming days after my exams
Comment by Ivy Foster (escondida) - Thursday, 10 October 2019, 22:20 GMT
Now that QT5 is well-established, is this issue still an active problem?
Comment by Bjoern Bidar (Thaodan) - Friday, 11 October 2019, 01:37 GMT
Yes because the package still bundles Qt.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 19 March 2020, 17:58 GMT
Can you check whether this problem can somehow be averted now that we're on 3.5.0?
Comment by Bjoern Bidar (Thaodan) - Tuesday, 07 April 2020, 00:42 GMT
  • Field changed: Percent Complete (100% → 0%)
I checked the issue now (while updating the teamspeak-wbundled pkg) and the issue is still present but can only be fixed by removing the bundled libraries.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...