Hi All,
I have an application which is a custom version of launcher. It has its own nitpicker session as well as a menu_view_slave that is used to display a context menu if a certain element is clicked, similar to the launcher.
In my run script, I used the focus ROM policy in nitpicker such that this launcher is focused when it's turned on in a similar fashion to the leitzentrale from sculpt.
So far, everything has worked well. However, when I updated my genode version from 17.11 to 18.02, the context menu never gets the focus, even when it's up. Nitpicker does produce a hover report for the menu, and the menu is displayed correctly and fades when the mouse is no longer over it, just as in launcher. But the focus is never transferred to the menu, and I cannot click on the buttons in the menu, nor do they change color when I hover them (which used to be the case).
The policies in nitpicker and the focus handling should be correct as they did work on 17.11.
I checked if anything important was changed in both the launcher and the nitpicker after 17.11, but I could not find any change that I thought was relevant for this problem.
I am also currently not able to run the launcher or menu_view run scripts. menu_view.run crashes with an out of ram error and launcher gives a stale screen with "menu" on the top left but does not do anything else. Are you able to run those tests?
Do you have any idea where to look for? What change to 18.02 could affect the focusing of a context menu?
Hi Boris,
I am also currently not able to run the launcher or menu_view run scripts. menu_view.run crashes with an out of ram error and launcher gives a stale screen with "menu" on the top left but does not do anything else. Are you able to run those tests?
the menu_view.run script works. I just checked it with the staging branch of yesterday. Could it possibly be that you populated your depot/genodelabs directory with new versions generated by yourself (while being on another branch)? Just to go sure, you may manually re-create the depot content used by the run script by specifying FORCE=1 to the depot/create tool.
I can reproduce the launcher problem. It slipped in with commit [1]. The patch [2] fixes it.
[1] https://github.com/genodelabs/genode/commit/10f1616c28cace97512aa988add034ca... [2] https://github.com/genodelabs/genode/commit/184dab7f7ffb4b9399f91654cbbd67a9...
Thanks for reporting this issue. It went unnoticed since the launcher scenario has been unused for quite a long time now.
Regards Norman
Hi Norman,
As for menu_view, somehow on my own branch, the menu_view script crashed with menu_view being out of ram. Somehow, giving it more ram fixed it. Also, checking out a clean staging fixed it, so it must be some of my changes that broke it. I will look into it myself then.
As for launcher, your fix made it work again, both the test script and my own scenario. Thanks a lot!
Oops, that screenshot should not have been there. My mistake, just ignore it.