[Pkg-ime-devel] Bug#862814: ibus-ui (systray icon) mis-detects Qt/KDE version
Osamu Aoki
osamu.aoki at gmail.com
Sat May 20 01:14:38 UTC 2017
Hi,
On Fri, May 19, 2017 at 10:06:20AM +0200, Ralf Jung wrote:
> > On Wed, May 17, 2017 at 02:03:22PM +0200, Ralf Jung wrote:
> >> (i.e., removing the preprocessor conditional entirely) fixes the
> >> problem: The icon is properly shown in the systray.
...
> +++ ibus-1.5.14/ui/gtk3/panel.vala
> @@ -1372,15 +1372,7 @@ class Panel : IBus.PanelService {
> m_status_icon.set_from_file(icon_name);
> }
> else if (m_icon_type == IconType.INDICATOR) {
> -#if INDICATOR_ENGINE_ICON
> m_indicator.set_icon_full(icon_name, "");
> -#else
> - warning("plasma-workspace 5.2 or later is required to " +
> - "show the absolute path icon %s. Currently check " +
> - "qtbase 5.4 since there is no way to check " +
> - "the version of plasma-workspace.", icon_name);
> - m_indicator.set_icon_full("ibus-engine", "");
> -#endif
I see. Then, this can be solved by defining INDICATOR_ENGINE_ICON.
Let's see what we have in Debian testing:
plasma-workspace
testing 4:5.8.6-2
unstable 4:5.8.6-2
Ubuntu 4:5.9.5.1-0ubuntu1
qtbase-opensource-src
ld-bpo: 5.3.2+dfsg-4+deb8u1~bpo70+1
stable: 5.3.2+dfsg-4+deb8u2
testing: 5.7.1+dfsg-3
unstable: 5.7.1+dfsg-3
exp: 5.9.0~beta.3+dfsg-1
OK, we have
plasma-workspace 5.8 >> 5.2
qtbase-opensource-src 5.7.1 >> 5.4
So we need to define INDICATOR_ENGINE_ICON.
Osamu
More information about the Pkg-ime-devel
mailing list