Page MenuHomePhabricator

Ctxpopup super slow with some more items
Closed, ResolvedPublic


If you put some (like 100) items in a ctxpopup it will take 5 seconds to show up and throw all kind of errors on console.

I created a test for this issue elementary_test -to "ctxpopup" => "Ctx popup with more items"

Also scrolling is super slow and the popup size is not correct, as per the shoot above

The same issue arise if you put an elm List inside the ctxpopup content (instead of using the
list provided by the widget.

DaveMDS created this task.Jul 21 2018, 1:00 AM
DaveMDS triaged this task as Showstopper Issues priority.

Just wondering this behaved much better in previous release?

zmike added a subscriber: zmike.Jul 23 2018, 9:38 AM

In the future, please create unit tests for this instead of elm_test items. elm_test is pretty worthless for this sort of thing.

Just wondering this behaved much better in previous release?

I can verify that it worked correctly and took significantly less time in previous releases, though it did previously have a noticeable delay before showing.

zmike claimed this task.Jul 23 2018, 12:03 PM

hmm, the slowness of first show is indeed solved in the test and in other lists of mine that was affected.

But now the test (Ctxpopup with more items) is not showing the scrollbars anymore. Should we reopen this bug?
or create a new one?

I'd reopen a new one describing new issue and give it the tag 1-21 and regression tag and showstopper priority.