Closed gdamiand closed 8 years ago
It seems that something in the code of the Polyhedron demo triggers an incorrect behavior of the libdbusmenu-qt
, used by the Unity desktop of Ubuntu.
After a quick look at the code of the Polyhedron demo, I think that there is 95% chances that the bug is in CGAL, and not in libdbusmenu-qt
. I will discuss with @maxGimeno.
@gdamiand I installed a Ubuntu 15.04 in a virtualbox but I don't have the same menus as you, and I think this is why I can't reproduce your bug. Do you know what you use to have the demo menu in the window bar ?
On ubuntu, run "Paramètres systèmes", click on "apparence", tab "Comportement", here you can choose "afficher les menus pour une fenêtre dans la barre de titre de la fenetre".
Ok, I did that but it didn't apply to the demo. I will try to build it under Ubunto and it should work, from what I read on Stackoverflow.
It doesn't work. As I cannot reproduce, I suggest you try the patch I wrote in the branch https://github.com/CGAL/cgal-dev.git
and we hope it fixes the bug somehow...
The bug is still there; and note that I have the same behavior even with menu not in the window but in the global bar.
I confirm the bug is related with unity; I installed mate and the bug is not there with mate.
The global bar ? The one in the top of your screen or the classic Qt menu bar ?
As the bug seems difficult to reproduce, I have decided that it will not block CGAL-4.8.
@gdamiand @maxGimeno Any progress on this bug? Any chance you can find a solution before the end of the week or shall we postpone to 4.9?
I cannot reproduce the issue, so I seriously doubt I can fix it by the end of the week.
I swith to ubuntu 16.04 (fresh install) and I confirm the bug is still there. @maxGimeno It is not difficult to reproduce the issue: just install an ubuntu...
@gdamiand I installed ubuntu in a Virtual Box and I had no bug.
Try a real install (not with VirtualBox) ? Moreover this is perhaps related with X-drivers ?
This has a very low priority given that it was reported only once and difficult to reproduce. That is certainly related to something in your installation, Guillaume.
Maxime will not have time to dedicate on that bug, unless you give precise hints on how to reproduce it.
The bug is almost certainly somewhere in the Unity "Menu Proxy" feature. We cannot dedicate time to work around it if at first it is not easy to reproduce.
Meanwhile, the workaround can be to disable the menu proxy for the CGAL Polyhedron demo.
env UBUNTU_MENUPROXY= ./Polyhedron_3
or with APPMENU_DISPLAY_BOTH=1
instead.
I understand the low priority.
However I don't think this is related to my installation because as said above I observe the same bug with a fresh install.
And the precise hints to reproduce: the only thing I can propose is to install a fresh ubuntu outside virtual box...
Le Wednesday 25 May 2016 07:24:51 Guillaume Damiand a écrit :
I understand the low priority.
However I don't think this is related to my installation because as said above I observe the same bug with a fresh install.
In the worst case, that may depend on the hardward.
Or maybe that depends:
Laurent Rineau, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/ Release Manager of the CGAL Project http://www.cgal.org/
@gdamiand do you still have the issue?
Yes.
I have good news: the last laptop bought by GeometryFactory (named klein
, a Dell XPS 13") runs Ubuntu 16.04, and I was impacted by that bug (hopefully, the Operations menu was also available in the context menu).
So, as we can reproduce the issue, there is a chance that we will eventually fix it. My guess is that it will be fixed during the summer. Our schedule in July is rather tight, so probably only in August.
Good news indeed. Thanks @lrineau.
When running the Polyhedron demo, on Ubuntu 15.04 with Unity, after loading an off file, all submenu are empty except the first one (boolean operations). See image below.