-
Notifications
You must be signed in to change notification settings - Fork 60
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
sni-qt improvements #243
Comments
Svg is easy; I already know how to do that. We have to change the way sni-qt icons are handled than though, since we have to do everything with symlinks then. Currently I'm trying to figure out what's wrong with teamviewer, maybe this solves also the owncloud issue (which I cannot reproduce) |
It should now be possible to use svg icons instead of png icons. @bil-elmoussaoui Can you try out as well? |
I have to build sni-qt for Archlinux first, i will report back this evening |
By the way do you have any idea what's this is file for? /etc/xdg/sni-qt.conf? |
No idea. We have to change the way the script works slightly, in order to make it work with svg files. We can do everything symlink (doesn't matter if they are svg or png), but we have to store them in The modified sni-qt package, then looks for these folders and can determine the correct sizes. The problem is, that there is no easy way to determine original svg sizes in Qt |
Yeah with my latest improvements (coding in c++ is really really hard for me). We can now use svg icons as well. But we have to change the script as I said already earlier. Another problem is, that it is not backwards compatible, not much we can do about that unfortunately. So people will have to use that instead of the "old" patched version. I think we have to put that somewhere in the readme very prominent, just as we did it for numix-folders |
Can you update the python script too? If you can't I will do that ;) and my C++ is not that bad, I think I will be able to implement a correct logging system |
I can. But I'll do that on a separate branch for now until everything is set up correctly. |
Perfect. What do you think about moving our sni-qt branch from bzr
(launchpad) to github? This will attract more attention ;)
Le 10 déc. 2016 10:00 PM, "Andreas Angerer" <notifications@github.com> a
écrit :
… I can. But I'll do that on a separate branch for now until everything is
set up correctly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#243 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHTlxeRFBStq3kNFQUJWOAisbjT4jENzks5rGxLsgaJpZM4LJd6->
.
|
I guess that's fine. I don't like bzr anyways, this way we can use git, and just mirror it to github for making the ppa |
Pushed changes to cript to new branch sni-qt |
Looks OK for me, but you have removed the chrome script :P |
added it again :) Let's finish the sni-qt programming before we push this to master... Can you to the transfer to git? I'll add the import on launchpad then who does all the stuff necessary for the ppa |
Done https://github.com/bil-elmoussaoui/sni-qt, i created a PPA just for sni-qt as we can't keep both of them on the same repo (as a branch for example...); Once the script grows bigger, we might move from a simple project repository to a much complex one. Added you also as a collaborator. I couldn't keep the bzr log history of commits and move it to git as bzr fastimport does not support feature commit-properties. And there's some useful information on the README file of the repository by the way. I will work on creating a proper Arch package, and see if it's possible to do the same for Fedora. Once it's done, we merge the sni-qt branch |
I think it would be a good idea to add this to the Same ppa. We can use git Import on launchpaf |
I uploaded the new git based sni-qt to the ppa. It seems to work. TeamViewer still doesnt though |
Just tried the new PPA on xubuntu. I think that the Installation of Hardcode-Tray is not working as it's supposed to. The hardcode-tray file should be installed on |
But it Generates a symlink, doesnt it? |
Nop it doesn't as far as i can see. I tried |
also, we must bump the version number of sni-qt on our PPA as Ubuntu provide a non patched version of sni-qt with the version 0.2.8.0. Maybe using 0.2.8.1 for the beta tests and after that we release a 0.2.9.0; what do you think? |
Hmm. It does for me. I included a postinst routine that generates the symlink |
the latest version ubuntu provides is 2.7.0 so ours should be newer, actually. I don't get how the debugging works. Where is the log stored? |
On Ubuntu 16.04 i have 0.2.8 :P |
because you were installing from the previous ppa :P, not the official ubuntu sources. It doesn't make a lot of sense to bump the version number to 0.2.8 because if ubuntu releases a new version, this version might be 0.2.8 which means that we should adapt our patches |
BTW: I'm not sure it is a good idea that we changed the README just yet, because for now the script is not compatible with the ppa |
Hmm. Do the icons exist in |
For me it works also with 24px icons, you sure you're not doing anything wrong? |
I have removed XFCE the same day as i fucked up everything on my system.. I will reinstall it later and see if i can reproduce the same issue |
what megasync version you have? version <2.9.9 was Qt4-based, thus worked fine |
what icons to you have in |
I got some troubles right now: #250 AFAIK, Qt5-apps works with notification protocol native, without sni-qt (which for Qt4, obviously) |
@KottV I'm using MegaSync 2.9.10-25 |
Excuse me for offtop, is your megasync built against Qt5? |
The default deb package is built using qt4 but on archlinux the package is built using qt5. And I really don't have any idea how to get that fixed as the icons are saved on tmp.. |
Ok so the Icons are in the tmp folders? |
@wa4557 on XFCE the icons are shown in tmp folder. But on on Archlinux, i couldn't find the icons anywhere :( and i don't know if we can modify the binary file (just by looking at the result of hexdump and xxd) |
Wait what are We talking about? Which binary File? So it works in xfce but Not on Arch? Are you using the correct code for Arch? |
I was talking about megasync icons. On elementary, skype icons are not on tmp folder and i was using the correct script and the correct version of sni-qt. |
Fine. But this issue ist about sni-qt . I still sonst understand if my Code is now working or Not. |
Sni qt only works for qt4. It will NEVER work for qt5 |
I think skype is like using an old version of Qt, which causes those issues. I will try with other qt applications that uses sni-qt and will see what i got ;) |
@wa4557 Just tried the following application
|
owncloud switched to qt5 so it cannot work with sni-qt. skype is strange, since it works for me fine... |
@wa4557 bitcoin in my case is using sni-qt (so it uses qt4) but the right icon is not shown...well, i think the best idea to test all of this is to release a beta version using sni-qt; but first we need to test how the debugging works |
@wa4557 I'm going to merge your fix for sni-qt icons to master and release a new version. And we fix the issues that the users will report ;) |
On master! i'm going to create an AUR package for the pached version of sni-qt |
That's cool! Do you know where the logs are stored? |
Just run the application using terminal and you will have something like this
We just need to add more debug information like the icon name used by the application |
@wa4557 btw bitcoin is working perfectly now! except TeamViewer and Skype, everything works as expected except the qt5 apps |
Weird. Just downloaded megasync and fixed it using the script. I don't see anything at the terminal.. |
You should use --debug |
In order to get all the sni-qt issues fixed and help us improve user experience here's a list of things that i will try to sort out if have some free time soon.
~/.cache/sni-qt/logs
The text was updated successfully, but these errors were encountered: