Toolbar shows edit and reminders actions in the notes list

Bug #1316176 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Notes app
Fix Released
High
Riccardo Padovani

Bug Description

See the attached screenshot. The toolbar gets confused at some point and it shows the Delete, Reminder and Edit actions when it shouldn't, as they should not be displayed in the notes list.

Steps to reproduce:

1. Start reminders
2. Tap on a note in the list to view it
3. Tap on the Back button to return to the list of notes

Actual:

- The toolbar in the list of notes shows the Search and Add note actions, but also Delete, Reminder and Edit

Expected:

- The toolbar in the list of notes shows only the Search and Add note actions

Related branches

Revision history for this message
David Planella (dpm) wrote :
Changed in reminders-app:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

There are some bugs in ubuntu-ui-toolkit about tabs, stackpage and toolbars.

I'm not sure if one of they (or related) is the cause of our bug, because we have buttons of both pages.

Anyway, some references:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1225079
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1275877
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1202626
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1226213

Revision history for this message
Tim Peeters (tpeeters) wrote :

Delete, reminder and edit toolbar buttons are defined in NotesPage.qml but only if visible: root.selectedNote !== null. So I guess selectedNote still has a value.

Changed in reminders-app:
status: Triaged → In Progress
assignee: nobody → Riccardo Padovani (rpadovani)
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

Thanks Tim, good suggestion.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:reminders-app at revision 122, scheduled for release in reminders-app, milestone 0.4

Changed in reminders-app:
status: In Progress → Fix Committed
David Planella (dpm)
Changed in reminders-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.