FS#53088 - [xfce4-whiskermenu-plugin] Migrate to version 2.x.x (Gtk 3 port)

Attached to Project: Community Packages
Opened by Dragoon Aethis (DragoonAethis) - Sunday, 26 February 2017, 11:45 GMT
Last edited by Brad Fanella (cesura) - Wednesday, 11 April 2018, 03:31 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Currently the 1.x.x (Gtk 2) and 2.x.x (Gtk 3) branches of the Whisker Menu plugin are maintained, but eventually the 1.x.x support will be dropped. As more and more of the official Xfce packages migrate to Gtk 3, it might be a solid idea to migrate this plugin as well, or to provide a separate package with the Gtk 3 version.
This task depends upon

Closed by  Brad Fanella (cesura)
Wednesday, 11 April 2018, 03:31 GMT
Reason for closing:  Implemented
Additional comments about closing:  Updated to 2.1.6 (GTK3). Wayland support needs to be fully implemented upstream.
Comment by Alexander F. Rødseth (xyproto) - Friday, 21 April 2017, 13:34 GMT
I fully agree, but xfce4-whiskermenu-plugin 2.x.x does not build with the version of exo that is currently in [extra], that depends on gtk2: https://www.archlinux.org/packages/extra/x86_64/exo/

When exo is updated, I will try upgrading to 2.x.x.
Comment by Devin Grant (starsaboveus) - Thursday, 15 February 2018, 23:17 GMT
  • Field changed: Percent Complete (100% → 0%)
The latest version of Exo should allow the GTK+3 versions of xfce4-whiskermenu-plugin to be built.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 27 February 2018, 13:00 GMT
When testing xfce4-whiskermenu-plugin by starting xfce4-panel and adding it to the panel, version 1.7.5 works great, but version 2.1.5 crashes.

Here's the PKGBUILD I tested with: http://ix.io/Qc4

I'm using Sway. While Wayland-based windowmanagers are still relatively new, Wayland has come to stay. KDE has stopped developing for X11 and are now focusing all new development efforts on Wayland.

It would be an advantage to have a version of xfce4-whiskermenu-plugin that also worked with Sway, since xfce4-panel can readily be used by different windowmanagers.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 01 March 2018, 11:58 GMT
Will not upgrade yet because of the above problem. Will try again with the Gtk 3 version in a month or two. Please re-open this bug report if a reminder is needed.
Comment by Eli Schwartz (eschwartz) - Wednesday, 11 April 2018, 01:42 GMT
What's the story with this?

EDIT: Oddly enough, despite the coincidence I did not notice you had just upgraded this, only that you adopted it -- hence why I reopened this ticket. I wanted to know, in part, if you were *going* to upgrade it. :p
Comment by Brad Fanella (cesura) - Wednesday, 11 April 2018, 01:52 GMT
I can confirm that version 2.1.6 tested with xfce4-panel version 4.12.2 does not crash when I tested it. The upstream changelog states that this version "fixed a crash when last search action is deleted." I'm not sure if this is the bug Alexander was referring to, but the newest version appears to be quite stable.

EDIT: The version that we were shipping was many versions out of date, and the upstream devs have fixed numerous bugs since 1.7.5, so it seems preferable to ship a stable version and work on Wayland support next.
Comment by Eli Schwartz (eschwartz) - Wednesday, 11 April 2018, 02:07 GMT
Great, so that means this is fixed now?
Comment by Brad Fanella (cesura) - Wednesday, 11 April 2018, 02:44 GMT
The GTK3 version still crashes under Wayland, but the package does build with the newest version of Exo, and runs well within X11. I tested it with GNOME3 and xfce4-panel under Wayland and the following error is produced:

"(wrapper-2.0:2972): Gtk-WARNING **: 21:59:53.062: GtkPlug only works under X11"

Seeing as the XFCE desktop has no support for Wayland and has been ported to GTK3, it seems reasonable to support the latest GTK3 version of this related package in our repos. So...this FS is "fixed," but work has to be done upstream to properly make the GTK3 widget run under Wayland.
Comment by Eli Schwartz (eschwartz) - Wednesday, 11 April 2018, 03:29 GMT
mmm, seems reasonable, so thanks for upgrading already. :)

If anyone wants to run legacy versions in order to use with wayland on unrelated DEs, I guess they could upload a -wayland or -gtk2 package using the legacy version (branch?)