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

Snippets and sessions don't get populated in their menus #696

Closed
PeterBjuhr opened this issue Jun 11, 2015 · 4 comments
Closed

Snippets and sessions don't get populated in their menus #696

PeterBjuhr opened this issue Jun 11, 2015 · 4 comments

Comments

@PeterBjuhr
Copy link
Collaborator

This was already mentioned in #679. But I have confirmed it on another computer so I think it deserves the status of an issue.

The problem is that (QMenu.)aboutToShow doesn't get triggered.

Happens in Ubuntu 15.04. Didn't happen in previous versions.

@wbsoft
Copy link
Collaborator

wbsoft commented Jun 11, 2015

Probably same type Qt/Unity bug as the old one #46 that the menus grew everytime (i.e. QMenu.aboutToHide didn't trigger)...

I really should rework those menus so that they don't depend on aboutToShow and aboutToHide... (but find a way to keep the lazy loading).

@PeterBjuhr
Copy link
Collaborator Author

With lazy loading do you mean something else except that the menus doesn't get populated directly?

I noticed that if you populate the session menu when it's initiated then the current session doesn't get correctly set.

@PeterBjuhr
Copy link
Collaborator Author

I really should rework those menus so that they don't depend on aboutToShow and aboutToHide... (but find a way to keep the lazy loading).

With lazy loading do you mean something else except that the menus doesn't get populated directly?

I guess that you also mean that you don't have to worry about changes to the snippets and sessions when the menus get populated dynamically!? But wouldn't it be possible to repopulate when something change instead?

@PeterBjuhr
Copy link
Collaborator Author

The issue is now solved - presumably by some of the latest updates to Ubuntu 15.04.

I really should rework those menus so that they don't depend on aboutToShow and aboutToHide... (but find a way to keep the lazy loading).

As far as I know there is no immediate need for that now and this issue can be closed. But the functionality do seems to be unreliable.

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

No branches or pull requests

2 participants