-
Notifications
You must be signed in to change notification settings - Fork 6
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
Dropbox icon looks... interesting #6
Comments
@vanoudt Dropbox doesn't work because it is bundled with its own compiled version of the Qt libraries. It you delete |
Yep - I've been doing that for ages (on Fedora 22)! The problem is that now
I've contacted Dropbox support about this - nothing much from their side On Sat, Oct 3, 2015 at 8:16 PM, Paulo Lieuthier [email protected]
|
You need your xcb plugin to match the Qt version that DropBox uses. I've heard new dropbox uses a newer Qt so that gives us the automatic SNI support. However, as for this: It's something I need to fix in here anyway, if it affects dropbox, it's doubtlessly going to affect $otherStupidApp. |
:-) That makes sense. (From what I can tell, they're on a 5.4ish version!) |
With the latest revision, (77d78c3), the icon is now the right size, but the background is still corrupted. (Sometimes black, sometimes not, sometimes grabbing other bits of screen real-estate from memory) |
You may download Qt 5.4.2 libraries from official Qt website and replace libraries from Dropbox package by them. |
I think you are mistaken here. Have you heard about any other proprietary program which uses Qt5 libraries in the same way as Dropbox? |
I failed to see how such bugs in Qt5 xembed systray may be fixed in xembed-sni-proxy. |
Teamspeak 3 client, for example (no systray icon by default). But if you remove libQt5*.so shipped with it or symlink them to system ones, it will suddenly show systray icon ;) sni-qt working. |
Note has to be taken that wmsystemtray (pure xembed) works correctly with dropbox. So does libappindicator. |
I know why Dropbox looks "interesting". Qt tries to be clever and take a snapshot of the container window before it paints on top of it. It's to give the illusion of alpha in older rubbish systrays. For me generally I "solve" this alpha problem by only copying the embedded window, not the full container - but Qt trying to be clever ends up hurting itself. Will try turning my container into a QRasterWindow and paint known contents in there. |
That behaviour was probably introduced in Qt5, because neither Psi, nor Skype exhibit this. |
it seems it's been here for a while, but it depends on how the sys tray widget is created Dropbox must be doing something weird. |
Bah, made that change in a branch. Didn't do anything. |
:-) Then again, if we could see the dropbox code we'd just enable the SNI support! |
Very useful extension for apps that don't work properly with SNI! Thank you. :-) I've got a COPR repo of this already since it's such a lot of use!
I'm having an issue with Dropbox. [Well, the first is that it's a Qt app that doesn't work with SNI... but I digress! :-)] The icon appears and can be interacted with, but is tiny and... strange! Here's a screenshot!
The text was updated successfully, but these errors were encountered: