After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726162 - Show the "No results" page when everything has been removed from a view
Show the "No results" page when everything has been removed from a view
Status: RESOLVED FIXED
Product: gnome-photos
Classification: Applications
Component: general
3.11.x
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-03-12 09:24 UTC by Debarshi Ray
Modified: 2014-03-13 09:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
view-model: Reset the count when items are removed (2.80 KB, patch)
2014-03-12 09:27 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2014-03-12 09:24:32 UTC
If I start with an empty favorites view then I see the "No Results" page, and the selection and search is disabled (thanks to bug 725587). Which is good. Now, if I add some items there, the buttons get enabled and everything is fine. However, if I again remove everything from the view, the buttons are disabled but I don't see the "No Results" page.
Comment 1 Debarshi Ray 2014-03-12 09:27:25 UTC
Created attachment 271583 [details] [review]
view-model: Reset the count when items are removed