Mail application: bring "Read/Unread" button logic in order. Tickets #4773 #4774.
completed by: Alex11223
mentors: Siarhei Zharski
Your task is:
- Setup Haiku in Virtual Machine (Virtual Box recommended) or on real hardware;
- Download standalone version of Haiku Mail application from the link below;
- Take familiar with the code and both problems description;
- Use make to build the application. Resulting executable binary you'll find in 'objects-...' directory;
- There are some problems in displaying and handling Read/Unread button. Awaited logic is following:
- Read button shoud be shown on e-mail with non-Read status
- Unread button should be shown on e-mail with Read status
- Pressing Read button shoud change e-mail status to Read
- Pressing Unread button should change e-mail status to Seen
- Pressing both Read and Unread buttons should move to the next e-mail;
- Fix the #4773 - no Read/Unread buttons should be shown in new (just sreated) mails.
Links:
- https://dev.haiku-os.org/ticket/4773 - Unread button in wrong window;
- https://dev.haiku-os.org/ticket/4774 - Invalid behaviour Read/Unread buttons;
- http://siarzhuk.dyndns.org/mail-gci-kit-08.12.2011.tar.bz2 - standalone version of Mail application project;
- http://siarzhuk.dyndns.org/mail-gci-kit-INBOX-11.12.2011.zip - a set of sample mails compatible with Haiku Mail application;
- http://cgit.haiku-os.org/haiku/tree/src/apps/mail - sources of Haiku version of Mail;
- http://haiku-os.org/legacy-docs/bebook/index.html - BeBook - system API reference;
- http://haiku-os.org/development - information about development for Haiku;
- http://haiku-os.org/development/coding-guidelines - Haiku Coding Guidelines;
Good luck!