wiki:OPEN_BOOKS_TABBAR_R0

Version 12 (modified by deyan, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=OPEN_BOOKS_TABBAR_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

should have a tab for each open document and a show desktop button like what is in gnome

The opened books tabbar displays the opened books under the Menu Bar. Its is located between the right and left flap and is expanded when they are moved or hid.

  • On the left side of the bar is located the "show desktop" button which minimizes all the books.
  • The books are displayed there in the order of opening starting from the left side of the bar.
  • The tabbar supports right click. The right click menus are the following:
    • When clicked on a button of the book the menu items are:
      • Minimize - Hides the current book window. It can be shown again via clicking the button in the tabbar.
      • Restore (Maximize when restored) - Restore Reduces the book window to the size of the book. If both width and height are bigger than the work area, the book window reduces to the work area including the book title bar. If the book window was previously restored and it's window was resized, it's restored to this position and size. Maximize maximizes the book window - the book title bar is not shown and takes the whole work area.
      • Close All but Active - Closes all of the opened book windows but the active one. Forces the Save Message box where needed.
      • Close - Closes all of the opened book windows. Forces the Save Message box where needed.
    • When right-clicked on empty area of the tabbar the menu items are:
      • Minimize/Restore All - When not all of the book windows are minimized, the minimize menu item appears. When all book windows are minimized, the restore all options appears. Minimize all acts just like the minimize but for all opened books.
      • Cascade
      • Tile
      • Close All but Active - Same as mentioned before.
      • Close All - Same as mentioned before.

Task requirements

  • Create the tab bar
  • Create the "Show Desktop" button.
  • Connect the existing functionality from the Window menu with the menu items.
  • Create proper extension points and extensions for the menus and menu items.
  • If there is time remaining, implement some non-existing (non-present in Sophie2) features from the overview of this task.

Task result

The result of this task is source code.

Implementation idea

source:/trunk/sophie2-platform/doc/spec-diagrams/TabBar.png
source:/trunk/sophie2-platform/doc/spec-diagrams/TabBarMenu.png
source:/trunk/sophie2-platform/doc/spec-diagrams/TabBarMenuButton.png

(Here you can add related tasks that could be useful or helpful.)

How to demo

(In this section you must add instructions for the demo of the task.)

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)