Open Bug 1241376 Opened 4 years ago Updated 4 years ago

[gui] Progress list should scroll to the last item when it overflows

Categories

(Testing :: mozregression, enhancement)

enhancement
Not set

Tracking

(Not tracked)

People

(Reporter: yfdyh000, Unassigned)

Details

(Whiteboard: [good next bug][lang=python])

Attachments

(1 file)

Attached image screenshot
This seems to be a regression. gui 0.8.1.
Hm, I can see the property autoscroll on our list (http://doc.qt.io/qt-4.8/qabstractitemview.html#autoScroll-prop) but it does not seems to be what you describe.

So I *think* this was never implemented, looking at our code:

https://github.com/mozilla/mozregression/blob/a2f82163d2ccf3a92df5bba70e522846059fe89c/gui/mozregui/report.py#L282-L305

Though it is a great idea, we can do the same thing as we do for the logview: scroll down to follow the new item if we already are at the bottom (the view should not change if the user focuses on a specific item).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [good next bug][lang=python]
Severity: normal → enhancement
Summary: [gui] Progress list not scroll down when overflow → [gui] Progress list should when it overflows
Sorry for the double change!

(In reply to Julien Pagès (:parkouss) from comment #1)
> we can do the same thing as we do for the
> logview: scroll down to follow the new item if we already are at the bottom
> (the view should not change if the user focuses on a specific item).

Absolutely!

Sebastian
Summary: [gui] Progress list should when it overflows → [gui] Progress list should scroll to the last item when it overflows
You need to log in before you can comment on or make changes to this bug.