Difference between revisions of "Features/Replace GtkMenu"
(Update patch links) |
|||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
* Email: sam@sl.o | * Email: sam@sl.o | ||
− | |||
== Current status == | == Current status == | ||
* Targeted release: 0.108 | * Targeted release: 0.108 | ||
− | * Last updated: | + | * Last updated: 7/July/2015 |
− | * Percentage of completion: | + | * Percentage of completion: 40% |
== Detailed Description == | == Detailed Description == | ||
Line 29: | Line 28: | ||
== Scope == | == Scope == | ||
Adding a modal should be a quick process. It would probably only involve: | Adding a modal should be a quick process. It would probably only involve: | ||
+ | * Adding a modal primitive to sugar3.graphics.modal.SelectorModal` (DONE, patch: <strike>https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/238</strike> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/249) | ||
− | |||
* Migrating the 2 users of the Gtk.Menu to the modal and Gtk.Window based palettes | * Migrating the 2 users of the Gtk.Menu to the modal and Gtk.Window based palettes | ||
+ | ** The clipboard in the frame (DONE, patch: <strike>https://github.com/sugarlabs/sugar/pull/551</strike> https://github.com/sugarlabs/sugar/pull/567) | ||
+ | ** The journal palettes | ||
==UI Design== | ==UI Design== | ||
− | ===Resources=== | + | |
+ | Screenshots are on this pull request description https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/238 | ||
+ | ===Resources (Other Platforms)=== | ||
[[File:Change-default-app-android-31.png|none|thumb|Android 4.x|484x484px]] | [[File:Change-default-app-android-31.png|none|thumb|Android 4.x|484x484px]] | ||
− | [[File:GNOME Modal Gedit.png|thumb|GNOME 3.16.2|333x333px]] | + | [[File:GNOME Modal Gedit.png|thumb|GNOME 3.16.2|333x333px|none]] |
− | [[File:FFOS Modal.png | + | [[File:FFOS Modal.png|thumb|Firefox OS 3.0.0.0-prerelease|none]] |
== How To Test == | == How To Test == | ||
− | + | # Install the patches | |
+ | # Open log | ||
+ | # Drag text to clipboard | ||
+ | # Right click on the clipboard item | ||
+ | # Click open with | ||
== User Experience == | == User Experience == | ||
− | + | Users will no longer have the open with sub-menu. This means that they will have to move their mouse more. However, the search bar will make life eaiser for power users as they can jusotsearch and press <enter>. | |
+ | |||
+ | Users will notice that palettes look more beautiful, as they are not Gtk.Menu based. | ||
== Dependencies == | == Dependencies == | ||
− | + | == Contingency Polan == | |
− | |||
− | == Contingency | ||
− | |||
− | |||
== Documentation == | == Documentation == | ||
− | + | Bits of documentation in the code, however improving them is still on the TODO list. | |
== Release Notes == | == Release Notes == |
Latest revision as of 03:22, 9 August 2015
Summary
Get rid of Gtk.Menu based palettes - use a modal.
Owner
- Name: Sam
- Email: sam@sl.o
Current status
- Targeted release: 0.108
- Last updated: 7/July/2015
- Percentage of completion: 40%
Detailed Description
Gtk.Menu palettes (namely, clipboard and journal) are hard to maintain and theme. They should be removed.
The only reason they are used now is because they support nesting of menus. However, a modal could be used instead.
Benefit to Sugar
This will make sugar easier to maintain and reduce the amount of visual bugs.
Scope
Adding a modal should be a quick process. It would probably only involve:
- Adding a modal primitive to sugar3.graphics.modal.SelectorModal` (DONE, patch:
https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/238https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/249)
- Migrating the 2 users of the Gtk.Menu to the modal and Gtk.Window based palettes
- The clipboard in the frame (DONE, patch:
https://github.com/sugarlabs/sugar/pull/551https://github.com/sugarlabs/sugar/pull/567) - The journal palettes
- The clipboard in the frame (DONE, patch:
UI Design
Screenshots are on this pull request description https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/238
Resources (Other Platforms)
How To Test
- Install the patches
- Open log
- Drag text to clipboard
- Right click on the clipboard item
- Click open with
User Experience
Users will no longer have the open with sub-menu. This means that they will have to move their mouse more. However, the search bar will make life eaiser for power users as they can jusotsearch and press <enter>.
Users will notice that palettes look more beautiful, as they are not Gtk.Menu based.
Dependencies
Contingency Polan
Documentation
Bits of documentation in the code, however improving them is still on the TODO list.
Release Notes
The Sugar Release Notes inform end-users about what is new in the release. An Example is 0.84/Notes. The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns. If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need. This information forms the basis of the release notes edited by the release team and shipped with the release.