Opened 3 years ago

Last modified 2 months ago

#16726 new bug

Item count view in Tracker windows are now resizing

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #18179
Platform: All

Description

This is hrev58480.

The item count view in the bottom left of Tracker windows used to be fixed size. Now I noticed that it is resizing horizontally with the window. With drawing garbage on top:

item counter

The view should stay fixed width, as it was before. No idea which commit introduced that, sorry...

Attachments (1)

item-count-view.png (20.6 KB ) - added by humdinger 3 years ago.
item counter

Download all attachments as: .zip

Change History (5)

by humdinger, 3 years ago

Attachment: item-count-view.png added

item counter

comment:1 by waddlesplash, 3 years ago

The garbage drawing should be fixed, but the dynamic resizing was intentional, as part of the changes for HiDPI support. It seemed to make some sense, but maybe there should be a maximum size.

comment:2 by humdinger, 3 years ago

Definitely a max. width. OTOH, I don't see why HiDPI plays a roll here. Isn't the StringWidth() of e.g. B_TRANSLATE("100.000 items") a nice value for a fixed width, no matter Hi or LoDPI?

comment:3 by humdinger, 3 years ago

...or, come to think of it, just dynamically use the minimal width for the current contents. That way, even type-ahead-filtering wouldn't need truncation of the filter term.

comment:4 by humdinger, 2 months ago

Blocking: 18179 added
Note: See TracTickets for help on using tickets.