Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ownCloud Not Being Fixed #226

Closed
Foggalong opened this issue Nov 25, 2016 · 32 comments
Closed

ownCloud Not Being Fixed #226

Foggalong opened this issue Nov 25, 2016 · 32 comments

Comments

@Foggalong
Copy link
Contributor

Foggalong commented Nov 25, 2016

From what I understand the PPA introduced in #198 was designed to fix the problem of the patched SNI-Qt PPA not being available for 16.04 and above. I'm still having the same issue even with the new one though.

My system is Ubuntu 16.10 with XFCE Panel, and ownCloud 2.2.2 says it's being fixed by the script but remains hardcoded.

@bilelmoussaoui
Copy link
Owner

bilelmoussaoui commented Nov 25, 2016 via email

@Foggalong
Copy link
Contributor Author

I don't, but I'd be willing to install one to test. Recommendation?

@bilelmoussaoui
Copy link
Owner

You can try megasync

@Foggalong
Copy link
Contributor Author

@bil-elmoussaoui Preferably something in the Ubuntu repos, though I'll try Mega if nothing else.

@bilelmoussaoui
Copy link
Owner

You can still try the old skype version, if i still remember it's on Ubuntu ppa

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

i confirm this, new version not see megasync:
image

@bilelmoussaoui
Copy link
Owner

@varlesh Have you ran the script after installing megasync?

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

of course

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

Maybe change paths? Because icon reverted:

alex@dell:~$ hardcode-tray
[sudo] пароль для alex: 
Welcome to the tray icons hardcoder fixer!
Your indicator icon size is : 22
Your current icon theme is : Papirus-Dark-GTK
Svg to png functions are : Enabled
Applications will be fixed : All
1 - Apply
2 - Revert
Please choose: 2
Reverting now..

Clementine -- reverted
Clementine -- reverted
Google Chrome -- reverted
Guake -- reverted
Megasync -- reverted
Telegram -- reverted

Done, Thank you for using the Hardcode-Tray fixer!
alex@dell:~$ 

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

on tmp
image

@bilelmoussaoui
Copy link
Owner

Those icons are already in the database, it seems that either MegaSync ships it's own version of libsni-qt or that the patch we used to use is not working anymore :(

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

Ok, i'm now test with old version (Not json)...

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

With old version 9aad49a worked, JSON-version very bugged.
image

@bilelmoussaoui
Copy link
Owner

Fixed the issue for json version, can you try again?

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

Also for better looking need add status for changed icons, how reverted:

Clementine -- reverted
Google Chrome -- reverted
Guake -- reverted
Megasync -- reverted

Yes show progress, but i'm not see what apps changed. For example:

Clementine -- fixed
Google Chrome --  fixed
Guake --  fixed
Megasync --  fixed

@varlesh
Copy link
Collaborator

varlesh commented Nov 25, 2016

Mega worked with fresh git-version!

@bilelmoussaoui
Copy link
Owner

Also @Foggalong i might need to see the content of /tmp the icon names might have changed..

@bilelmoussaoui
Copy link
Owner

@Foggalong Can you show me the output of owncloud --version

@Foggalong
Copy link
Contributor Author

@bil-elmoussaoui Will double check when I'm back with my computer, but it's just the latest version in the Ubuntu repos so I assume 2.2.2

@bilelmoussaoui
Copy link
Owner

I just installed xubuntu here, installed owncloud from the main repository.
xubuntu info

Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial

OwnCloud version

ownCloud version 2.1.1
Using Qt 5.5.1

Once i've installed everything, i ran OwnCloud, and the icons was ugly. I ran Hardcode-tray and i had the same result. I checked /tmp and i found those icons
screenshot_2016-12-01_00-49-19
I will report back if i have any news

@Daniil08
Copy link

Daniil08 commented Dec 3, 2016

I turned on indicators in the main settings of cinnamon and megasync started to work
2016-12-03 09-58-29

@bilelmoussaoui
Copy link
Owner

@Foggalong Can you try this new PPA by @wa4557 https://code.launchpad.net/~andreas-angerer89/+archive/ubuntu/sni-qt-patched . We are going to patch sni-qt directly, and add few features in the future if possible.

@Foggalong
Copy link
Contributor Author

Will test that sure 👍

@varlesh
Copy link
Collaborator

varlesh commented Dec 9, 2016

@Daniil08 i think better use another color for cinnamon tray on Arc Dark, because colors different with papirus:

sudo sed -i 's|#ffffff|#d3dae3|g' /usr/share/themes/Arc-Dark/cinnamon/cinnamon.css

@Foggalong
Copy link
Contributor Author

Nope, still isn't working. After running the script it also seems to have unlinked my ownCloud account from the syncing app which is really weird. It really shouldn't be doing anything that can cause that :/

@andia89
Copy link
Collaborator

andia89 commented Dec 9, 2016

@bil-elmoussaoui Owncloud is not using sni-qt, but native QIcon. I'm not sure why it isn't fixed though, shoud be possible to theme them

@bilelmoussaoui
Copy link
Owner

It's using sni-qt as far as i know, see #56

@bilelmoussaoui
Copy link
Owner

@wa4557 In my system, gnome 3.22 with Arch linux, OwnCloud use the icon from the theme directly. So my guess, is that owncloud supports all the possible ways to create a tray icon on Linux; We just need a library as dependency in order to force OwnCloud to use sni-qt instead of QIcon

@bilelmoussaoui
Copy link
Owner

@Foggalong Qt5 dropped the support of sni-qt, and we won't be able to support those applications (at the moment). So, it's a different issue that should be opened instead of this one for Qt5 support. It seems that they use http://packages.ubuntu.com/trusty/libdbusmenu-qt5-dev to draw the tray. But no idea if they do use the same library to draw tray icons too!
I will close this and open a proper issue for Qt5

@andia89
Copy link
Collaborator

andia89 commented Sep 17, 2017

I want to reopen this, to keep track. Owncloud should be working (so it tries to look for a system theme icon) but isn't on most systems because it ships its own Qt version which does not find the current icon theme. I opened a bug report owncloud/client#6036 but I'm not sure this is easily fixable

@andia89 andia89 reopened this Sep 17, 2017
@bilelmoussaoui
Copy link
Owner

Alright, even if it's an upstream issue but keeping this open will help us keep track of the upstream issue 👍

@bilelmoussaoui
Copy link
Owner

Upstream took care of the issue. Not released yet but it's already on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants