Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new windows pop under #5

Open
helmo opened this issue Feb 17, 2016 · 1 comment
Open

new windows pop under #5

helmo opened this issue Feb 17, 2016 · 1 comment
Labels

Comments

@helmo
Copy link
Contributor

helmo commented Feb 17, 2016

When I click the 'New Activity' or 'Show overview' menu items the appropriate window opens ... but hidden behind other open windows. (Ubuntu 14.04)

This looks like projecthamster/hamster#139

Any idea how to fix it here?

@nchachereau
Copy link
Contributor

This is somewhat complicated: if I remember correctly, window managers try to prevent windows coming to the front if you have not asked for them explicitly (e.g. to prevent disruptions in your work). In this case, of course, the user wants the window to be in the front. However, the window manager does not know this, because everything works through DBus messages.

What we could look into:

  • There might be a way to pass a parameter (I think it was a timestamp) when creating the window, to help the window manager (e.g. Unity).
  • We could import code from hamster and display the window directly, instead of calling the functions that send DBus messages. But with the current code, it would not be a clean way of dealing with this. To achieve it in a cleaner way, the hamster code base would need a major restructuring, which it needs anyway, as discussed in dev-mailinglist hamster#261. But as the last message in that thread demonstrates, there are not enough people with enough time to achieve this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants