[Dx-packages] [Bug 1574699] Re: All QSystemTrayIcon have the same icon, and QSystemTrayIcon::isSystemTrayAvailable remove all QSystemTrayIcon

2017-01-26 Thread Anatoli
Brian, I just updated the package from xenial-proposed (appmenu-qt5
/xenial-proposed,now 0.3.0+16.04.20151130-0ubuntu2 amd64). This bug is
fixed. No other issues detected.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1574699

Title:
  All QSystemTrayIcon have the same icon, and
  QSystemTrayIcon::isSystemTrayAvailable remove all QSystemTrayIcon

Status in appmenu-qt5:
  New
Status in appmenu-qt5 package in Ubuntu:
  Fix Released
Status in appmenu-qt5 source package in Xenial:
  Fix Committed

Bug description:
  # Impact
  This affects all Qt applications that use 
QSystemTrayIcon::​isSystemTrayAvailable, in Unity environment. Confirmed 
examples are owncloud-client and keepassxc, but there may be more applications.

  # Test Case
  See the original description below for the test case in C++.

  # Proposed Fix
  The proposed fix is identical to what was uploaded to Yakkety as version 
0.3.0+16.10.20160628.1-0ubuntu1. The fix is using unique connections for all 
AppMenuPlatformSystemTrayIcon instances.

  # Regression Potential
  The fix is in Yakkety since June and in Zesty, and nobody complained so far. 
So it should not cause any regressions.

  -
  in appmenu-qt5 in ubuntu 16.04, the  AppMenuPlatformSystemTrayIcon assumes 
there is only one instance of a QPlatformSystemTrayIcon: it register the same 
dbus name for all the instances.  In fact, there is one instance of 
QPlatformSystemTrayIcon per instance of QSystemTrayIcon,  and one temporary is 
created for QSystemTrayIcon::isSystemTrayAvailable.

  This breaks the owncloud client  [issue
  https://github.com/owncloud/client/issues/4693 ]

  This example reproduces the problem:

  ```
  #include 

  int main(int argc, char *argv[])
  {
  QApplication a(argc, argv);
  QImage img(64,64, QImage::Format_ARGB32);
  img.fill(Qt::red);
  QSystemTrayIcon sti(QIcon(QPixmap::fromImage(img)));
  sti.show();

   QSystemTrayIcon::isSystemTrayAvailable(); // with this line, the 
QSystemTrayIcon does not appear
   // comment the previous line to see that the QSystemTrayIcon works and 
that there is a bug in that line

  return a.exec();
  }
  ```

  This testcase shows that the
  AppMenuPlatformSystemTrayIcon::~AppMenuPlatformSystemTrayIcon  called
  by the temporary object created inside
  QSystemTrayIcon::isSystemTrayAvailable unregisters the icon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1574699/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2017-01-25 Thread Anatoli
Dmitry, thanks for the fixes! If you update the package in your PPA, I
could test it in 16.04.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1380702

Title:
  No keyboards shortcuts in QT apps

Status in appmenu-qt5:
  In Progress
Status in Canonical System Image:
  In Progress
Status in sni-qt:
  New
Status in appmenu-qt5 package in Ubuntu:
  Invalid
Status in qtbase-opensource-src package in Ubuntu:
  Fix Committed
Status in appmenu-qt5 source package in Xenial:
  Confirmed
Status in qtbase-opensource-src source package in Xenial:
  Confirmed

Bug description:
  In some apps built using QT4 & 5, menu shortcuts are greyed out and
  inoperant. Only alt and FKeys-based shortcuts work. Others, notably
  ctrl+c for copying, do not.

  This is quite serious ; mail me for more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1380702/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1313248] Re: Ctrl+[Key] Shortcuts Assigned in QtCreator Do Not Work

2017-01-13 Thread Anatoli
*** This bug is a duplicate of bug 1380702 ***
https://bugs.launchpad.net/bugs/1380702

Łukasz, please also check bug #1574699, looks like they are all related.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1313248

Title:
  Ctrl+[Key] Shortcuts Assigned in QtCreator Do Not Work

Status in appmenu-qt5 package in Ubuntu:
  Confirmed

Bug description:
  I recompiled one of my Qt applications tonight on Ubuntu 14.04. This
  application uses QActions that are are set up in the mainwindow.ui
  file. (I originally did this with QtDesigner some two year ago, but
  have updated the application for Qt 5 in the mean time.)

  When appmenu-qt5 is installed, the Ctrl+[key] shortcuts of the actions
  on the main menubar do not work. If I remove appment-qt5, they do work
  as expected.

  Oddly enough, the edit actions on the edit dialog do work, but they
  are disabled and enabled multiple times.

  I tried disabling and enabling the actions on the main menubar in code
  which didn't help. I also tried assigning the short cut keys via code
  and that did not help.

  I am using 14.04 LTS, appmenu-qt5 0.3.0+14.04.20140415-0ubuntu1, and
  the Qt program found at https://github.com/Dyrcona/omiquji

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appmenu-qt5/+bug/1313248/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2017-01-13 Thread Anatoli
Please also check bug #1574699, looks like they are all related.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1380702

Title:
  No keyboards shortcuts in QT apps

Status in appmenu-qt5:
  In Progress
Status in Canonical System Image:
  In Progress
Status in sni-qt:
  New
Status in appmenu-qt5 package in Ubuntu:
  Invalid
Status in qtbase-opensource-src package in Ubuntu:
  In Progress
Status in appmenu-qt5 source package in Xenial:
  Confirmed
Status in qtbase-opensource-src source package in Xenial:
  Confirmed

Bug description:
  In some apps built using QT4 & 5, menu shortcuts are greyed out and
  inoperant. Only alt and FKeys-based shortcuts work. Others, notably
  ctrl+c for copying, do not.

  This is quite serious ; mail me for more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1380702/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2016-11-26 Thread Anatoli
This bug also affects tray (appindicator) menu items. With

env UBUNTU_MENUPROXY=''

the shortcuts work, but not the tray menu, also problems with updating
the tray icon. With

env QT_QPA_PLATFORMTHEME=''

everything works, but the UI degrades considerably (no Unity look).
Same behavior when removing appmenu-qt5 (everything works, degraded UI).

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1380702

Title:
  No keyboards shortcuts in QT apps

Status in appmenu-qt5:
  In Progress
Status in Canonical System Image:
  In Progress
Status in sni-qt:
  New
Status in appmenu-qt5 package in Ubuntu:
  Invalid
Status in qtbase-opensource-src package in Ubuntu:
  In Progress
Status in appmenu-qt5 source package in Xenial:
  Confirmed
Status in qtbase-opensource-src source package in Xenial:
  Confirmed

Bug description:
  In some apps built using QT4 & 5, menu shortcuts are greyed out and
  inoperant. Only alt and FKeys-based shortcuts work. Others, notably
  ctrl+c for copying, do not.

  This is quite serious ; mail me for more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1380702/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp