BitShares Forum

Main => Stakeholder Proposals => Topic started by: VoR0220 on January 29, 2015, 12:34:54 pm

Title: Small Fix, I'll even do it if you guys will show me where to look
Post by: VoR0220 on January 29, 2015, 12:34:54 pm
In Ubuntu, it's incredibly irritating that Bitshares runs in the background on the top left of the screen where normally the exit button is. It would be better if it instead ran on the application indicator. Again, if you guys show me where this feature is stored, I'll go in and fix it myself. Just tell me where.
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: Frodo on January 29, 2015, 01:22:50 pm
 +5%

It's pretty annoying when you try to close other windows.
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: xeroc on January 29, 2015, 05:05:52 pm
take a look at the qt_wallet code in http://github.com/bitshares/qt_wallet or so
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: VoR0220 on February 01, 2015, 08:07:51 am
so update on the status of this, apparently there is a bug in the QSystemTrayIcon Class, you can see it here: https://bugreports.qt.io/browse/QTBUG-31762

So maybe there's a way for ubuntu users to use QT 4.8.4 without screwing up the rest of the code for everyone else? Maybe?

Or do we just wait it out until there's an updated version of QT without the bug?
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: vikram on February 01, 2015, 05:09:46 pm
For reference, the Windows and Mac GUIs are currently built using Qt 5.3 and Qt 5.4, respectively.
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: arhag on February 02, 2015, 02:21:38 am
so update on the status of this, apparently there is a bug in the QSystemTrayIcon Class, you can see it here: https://bugreports.qt.io/browse/QTBUG-31762

So maybe there's a way for ubuntu users to use QT 4.8.4 without screwing up the rest of the code for everyone else? Maybe?

Or do we just wait it out until there's an updated version of QT without the bug?

As others in that thread have said, the problem still exists on Ubuntu 14.04 with Qt 5.3 and Qt 5.4. And I can confirm that the problem exists for the BitShares Qt client specifically for builds linked against Qt 5.3 and Qt 5.4.

I kinda doubt Qt 4.8.4 would be acceptable for BitShares. I had to upgrade from Qt 5.3 to Qt 5.4 to just get the light wallet working.

It seems like those Qt devs aren't in any kind of rush to fix it anytime soon, considering this bug has existed for over a year...

Maybe as a workaround we could have a cmake flag that disables the system tray icon entirely? Closing the window would actually shut down the program and Ubuntu users would have to only minimize the program if they want it out of sight but still running.
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: jsidhu on February 02, 2015, 06:58:54 am
Y dont umake the leap and  become a dev instead of acting like a consultant arhag?
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: VoR0220 on February 03, 2015, 05:00:13 am
so update on the status of this, apparently there is a bug in the QSystemTrayIcon Class, you can see it here: https://bugreports.qt.io/browse/QTBUG-31762

So maybe there's a way for ubuntu users to use QT 4.8.4 without screwing up the rest of the code for everyone else? Maybe?

Or do we just wait it out until there's an updated version of QT without the bug?

As others in that thread have said, the problem still exists on Ubuntu 14.04 with Qt 5.3 and Qt 5.4. And I can confirm that the problem exists for the BitShares Qt client specifically for builds linked against Qt 5.3 and Qt 5.4.

I kinda doubt Qt 4.8.4 would be acceptable for BitShares. I had to upgrade from Qt 5.3 to Qt 5.4 to just get the light wallet working.

It seems like those Qt devs aren't in any kind of rush to fix it anytime soon, considering this bug has existed for over a year...

Maybe as a workaround we could have a cmake flag that disables the system tray icon entirely? Closing the window would actually shut down the program and Ubuntu users would have to only minimize the program if they want it out of sight but still running.

I like this solution. Beginning work shortly,
Title: Re: Small Fix, I'll even do it if you guys will show me where to look
Post by: VoR0220 on February 12, 2015, 08:47:36 am
So I finally got around to looking at this. The problem is I don't know exactly where the Cmake files that specify what OS we are using are and which ones I should be manipulating. Can I mess around with MainWindow.cpp and put a flag in there? I've been thinking similarly along the lines of an

#ifndef __GLIBC__ //Ubuntu & Debian flags from what I can make of it
//ignore sys tray set up
#endif

kind of flag...but I don't know if it will work based on parameters elsewhere in the code.