[[BackLinksMenu]] [[TicketQuery(summary=OPEN_BOOKS_TABBAR_R1, format=table, col=OPEN_BOOKS_TABBAR_R1|vlado|s3c_anaysis_started|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|)]] = Analysis = == Overview == Develop additional features defined in [wiki:OPEN_BOOKS_TABBAR_R0#Overview], including: * Navigation buttons when the tabbar is too short to display all tabs. * Tabbar context menus. == Task requirements == * Create the context menu when right-clicked on a tab. * Create additional menu items to the context menu when right-clicked on the tabbar area. * Implement the Cascade and Tile functionality. * Highlight active tab. * Implement the navigation buttons and their appearance/disappearance. * Left-click on a book's tab button should restore the book window if it had been minimized. == Task result == The result of this task is source code. == Implementation idea == * Navigation buttons - the funtionality should be similar to the tabbar navigation behaviour of most browsers (e.g. check IE6, Mozilla Firefox 3). * Each navigation button should be enabled if and only if there are tabs hidden (or partially visible) on its side of the tabbar. * On left/right navigation button left-click the tabs should be shifted in right/left direction with the length of the hidden tab which is about to be displayed (including the left and right margins). * After the shift operation the last tab on the right/left is allowed to be partially displayed. After that the desired behaviour is: * For the next shift operation in the opposite direction (left/right) the shift length should be the one of the hidden part of the tab (including the right/left margin). * If the partially displayed tab is clicked, a new shift operation should be initiated to display the whole tab. * Tabbar context menus should be as specified in [wiki:OPEN_BOOKS_TABBAR_R0#Implementationidea] with the addition of "Tile Horizontally" and "Tile Vertically" menu items instead of the "Tile" item. == Related == [wiki:OPEN_BOOKS_TABBAR_R0] == How to demo == Show the additional working features of the tabbar. = Design = ^(Describe your design here.)^ = Implementation = ^(Describe and link the implementation results here (from the wiki or the repository).)^ = Testing = ^(Place the testing results here.)^ = Comments = * Drag & Drop of tabs in the tabbar should be implemented in a next revision. - vlado 2009-05-12 * Could you please add to this task that clicking a book's tab button should restore the book window? i.e. if the window is minimized, it should expand it, or restore the state. - sriggins