Opened 13 months ago

Last modified 3 months ago

#14675 assigned bug

[HaikuDepot] switching between Featured and All packages tabs is slow

Reported by: diver Owned by: apl-haiku
Priority: normal Milestone: R1/beta2
Component: Applications/HaikuDepot Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev52462.

Just updated Haiku to see new tabbed HaikuDepot and noticed its being slow at switching between the tabs.

Change History (6)

comment:1 by waddlesplash, 13 months ago

Owner: changed from stippi to apl-haiku
Status: newassigned

comment:2 by diver, 10 months ago

Owner: changed from apl-haiku to waddlesplash

This was introduced in hrev52449 (e00a489b80a7219bf80658d157548eb0aa4a97d0) Reverting this commit fixes extensive slowdown in switching between Featured view and all packages.

comment:3 by diver, 10 months ago

BTW, now that I switched to the old look I find it much better than tabbed view.

comment:4 by waddlesplash, 10 months ago

Owner: changed from waddlesplash to apl-haiku

That change should not have been any more or less performant than previously; it just changed the layout from a BCardView to a BTabView. The problem is not in code that I wrote at all.

BTW, now that I switched to the old look I find it much better than tabbed view.

The reason we switched to the tab view was that people were ignoring the "Show only featured packages" checkbox because they didn't understand it / didn't even see it. Having the tabs makes the dichotomy much more obvious. (I prefer it in general, and I think humdinger does too.)

in reply to:  4 comment:5 by humdinger, 10 months ago

Replying to waddlesplash:

(I prefer [tabs] in general, and I think humdinger does too.)

I think the tabs do look better as they are not as "in-your-face" as the checkbox that used to be in the middle. OTOH, people were able to miss the "in-your-face" checkbox, so I expect the tabs to fair even less well in that regard...
The tabs have the additional advantage to be extendable with more tabs, if we see a need. (Maybe a dynamically named "Pending/Downloading/Installed" for the changed packages in the curent session.)

comment:6 by diver, 3 months ago

Milestone: UnscheduledR1/beta2

I'd like to nominate this bug for beta2 milestone.

HaikuDepot, which once was blazing fast, became really sluggish nowadays to the point I stopped using it completely.

However, we don't want to make bad impression on regular users and newcomers of our package management system. #11674 is likely another candidate.

Note: See TracTickets for help on using tickets.