← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1546328] Re: Systray option does not work.

 

Actually there are two problems here.

1) The menu

I have taken a look at qjackctl code. It makes some really wrong
assumptions about how the system tray icons work. In particular, it
doesn't call the tray icon's contextMenu(), but instead intercepts the
events and tries to draw a custom menu. This does not work when the
system tray is provided by the indicators.

With the latest upstream Git
(https://github.com/rncbc/qjackctl/commit/2587df346c8bd259) the
situation is a bit better and the menu shows, but it is still a gross
hack and this approach is not guaranteed to always work.

2) The icon

Unfortunately indicator-application doesn't fully implement the
StatusNotifier specification. In particular, it supports loading icons
only from the icon theme, but not the custom icons via IconPixmap. Qt
knows about this and adds a workaround for this but only when
XDG_CURRENT_DESKTOP=Unity. On Xfce this is not the case, so the
workaround is not applied. When appmenu-qt5 is used, it always uses that
workaround. I think the best fix for it will be implementing proper
support for IconPixmap in indicator-application.

** Changed in: qtbase-opensource-src (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to Ubuntu Studio.
Matching subscriptions: UbuntuStudio Bugs, ubuntustudio-bugs: qjackctl
https://bugs.launchpad.net/bugs/1546328

Title:
  Systray option does not work.

Status in Ubuntu Studio:
  New
Status in qjackctl package in Ubuntu:
  Confirmed
Status in qtbase-opensource-src package in Ubuntu:
  Invalid

Bug description:
  Setting Qjackctl to "Enable system tray icon" does not display
  Qjackctl's icon and the menu provided by qjackctl from systray is
  blank. Further setting Qjackctl to "Start minimized to system tray"
  makes the application unusable.

  A reboot after Qjackctl to "Enable system tray icon" and  "Start
  minimized to system tray" are set, starting Qjackctl not only doesn't
  show Qjackctl's icon, but the mouse stops working correctly:

  The mouse moves ok, but does not have any hover effect or clicks so
  the menu no longer works and the only way to kill qjackctl is with
  control-alt-F1 (which does still work).

  Qjackctl is the main application used for controlling Jackd or
  jackdbus for those using any of the pro audio software.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: qjackctl 0.4.1-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-4.19-lowlatency 4.4.1
  Uname: Linux 4.4.0-4-lowlatency x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Tue Feb 16 14:30:46 2016
  InstallationDate: Installed on 2015-11-19 (89 days ago)
  InstallationMedia: Ubuntu-Studio 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151118)
  SourcePackage: qjackctl
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntustudio/+bug/1546328/+subscriptions


References