Author Topic: Small Fix, I'll even do it if you guys will show me where to look  (Read 2298 times)

0 Members and 1 Guest are viewing this topic.

Offline VoR0220

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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline VoR0220

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,
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Y dont umake the leap and  become a dev instead of acting like a consultant arhag?
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline arhag

  • Hero Member
  • *****
  • Posts: 1214
    • View Profile
    • My posts on Steem
  • BitShares: arhag
  • GitHub: arhag
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.

Offline vikram

For reference, the Windows and Mac GUIs are currently built using Qt 5.3 and Qt 5.4, respectively.

Offline VoR0220

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?
« Last Edit: February 01, 2015, 08:12:34 am by VoR0220 »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline Frodo

  • Sr. Member
  • ****
  • Posts: 351
    • View Profile
  • BitShares: frodo
 +5%

It's pretty annoying when you try to close other windows.

Offline VoR0220

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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads