Age | Commit message (Collapse) | Author |
|
Cumulative diff of changes made by Wolfpup, Richard and me.
Description:
* Ability to hide the Speak button with the bottom tray context menu.
* Made the chat input resize handle visible, so that the feature is easily discoverable.
* Applied Richard's fix to layout panel resizing logic.
|
|
|
|
|
|
- Though visually user drags buttons, layout panels are really moved. To move one panel before other, new method movePanelBeforeOther() was added to layout stack.
- When drag'n'drop is finished, order of panels in layout stack mToolbarStack is changed, and also order vectors are updated in bottomtray.These are vectors mButtonsProcessOrder and mButtonsOrder. mButtonsOrder was introduced in this changeset to store order of all bottomtray buttons that may change place via drag'n'drop and should save and load it between sessions. mButtonsProcessOrder is not enough for it because it contains only buttons that may be hidden(and for example Speak button is not included in it).
- To pass mouse events from buttons to bottomtray, new class LLBottomtrayButton was added (and new widget bottomtray_button for it).
Reviewed by Vadim Savchuk.
|
|
|
|
|
|
SL window.
- Added resize corner icon into main_view.xml to the bottom right of the popup view. Added small dummy icon to the right part of bottom tray to avoid well buttons overlapping it.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/690/
--HG--
branch : product-engine
|
|
in main locale, remove horizontal align in 'de' locale.
For now all locales have the same center aligning with right padding to ignore space under indicator.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/519/
--HG--
branch : product-engine
|
|
settings/functionality
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/474/
--HG--
branch : product-engine
|
|
Seems, there is a problem somewhere in rendering of LLLAyoutStack children. Last visible panel marked as user_resize=true can not be resized and has no resize cursor.
Because we have no time & resources to investigate this closely a workaround is implemented for bottom tray:
* set user_resize for layout panel with Speak button which is always visible to user;
* set user_resize=false to don't have Speak button panel resizable.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/438/
--HG--
branch : product-engine
|
|
Because it is not enough to call showInstance for Build Floater it was implemented in a such way:
* set save_visibility==true in floater tools to update button toggle state properly and subscribe Build button to listen visibility changes
* added callback to observe parcel changing to set build button enabled/disabled.
KNOWN ISSUE:
if build permissions are changed button will not change state until restart/teleport
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/413/
--HG--
branch : product-engine
|
|
Implementation details:
* Added new setting SidebarWithButtonsVisibility
* Sidebar bottom tray button changes its value on click (toggle state - value is TRUE)
* SideTray listens changes of this setting's value and change its and its buttons visibility
* expand/collapse Sidebar state is stored between changes of the setting.
Reviewed by Yuri Chebotarev at https://codereview.productengine.com/secondlife/r/403/
--HG--
branch : product-engine
|
|
* Added widgets into xml, added setting and listener for context menu
* added menu item to show/hide the button
* button is made as may be hidden on resize
Additional improvements:
* Updated method to process buttons width when it is necessary to show any button via context menu
* Updated LLBottomTray::initButtonsVisibility to not show warning messages if it is impossible to show a button due to bottom tray width on startup.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/403/
--HG--
branch : product-engine
|
|
entry field.
* LLResizeBar calls notifyParent on resizing before changing rect of view, bottomtray processed this notification to update other buttons.
* Had to move setup of buttons visibility on startup into LLBottomTray to ensure all buttons have necessary visibility BEFORE restore the width of the chat entry field;
* Updated layout between chatbar and speak button to show resize mouse pointer in the middle between them.
Implemented behavior: visible buttons shrink to their minimal width when the chat entry field gets wider.
Also were refactored:
* moved declaration of settings related to buttons visibility from the settings.xml to LLBottomTray.
* moved setting of control listeners to LLBottomTray.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/403/
--HG--
branch : product-engine
|
|
topleft layout
reviewed by Leyla
|
|
* Added 4 buttons with tooltips:
** Build - Shows/hides Build Tools
** Search - Shows/hides Search
** Map - Shows/hides World Map
** Mini-Map - Shows/hides Mini-Map
* Made their width and minimal width the same as "Move" and "View" buttons (increased default total width of the bottom tray to make Layout Stack initialize its panels with default values from xml)
* Added appropriate menu items in context menu to Show these buttons in the bottom tray (with functionality)
* Set on click actions for this buttons. ("Build" temporary made disabled because default toggle registration is not enough for this floater.)
Dev Notes:
* Improved LLBottomTray::initResizeStateContainers to fill mObjectDefaultWidthMap using mStateProcessedObjectMap & mButtonsProcessOrder container
* Improved LLBottomTray::canButtonBeShown to process variable number of buttons that can be hidden on resize
QA Notes:
Resize behavior with new buttons can already be tested.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/381/
--HG--
branch : product-engine
|
|
Functionality was not changed. Not reviewed.
--HG--
branch : product-engine
|
|
simplify adding new buttons.
* removed dummy icons
* encreased width and minimal width of next to the left layout panels to icons' widths.
* removed code processed dummy icons
Reviewed by Vadim.
--HG--
branch : product-engine
|
|
to be controllable)
Made flashing count and period for IM Well and Notification Well icons configurable via viewer settings: WellIconFlashCount, WellIconFlashPeriod.
Due to Flash Timer is implemented as derived class from EventTimer it is impossible to change period in runtime. So, both settings are made as required restart.
Also removed deprecated "flash_to_lit_count" & "flash_period" widget params.
Reviewed by Vadim at https://codereview.productengine.com/secondlife/r/220/
--HG--
branch : product-engine
|
|
screen))
- Limited height of gestures popup to 17 lines - 15 for gestures, 1 for label and 1 for separator. Used xml attribute "page_lines" to do it.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/199/
--HG--
branch : product-engine
|
|
sessions and unresolved notifications)
* Implemented hiding of bottom tray's wells if there are no active IMs or unresolved notifications (via LLBottomTray::notifyParent)
* Also refactored initializing code to init a pointer to a chiclet panel and map with bottomtray parts in postBuild BEFORE initializing start wells' visibility.
For now minimal viewer width when all buttons are still visible (and have non-truncated labels in the 'EN' locale) with opened sidetray is 1041 px; with short Speak button (without text label) is 990 px. (with implemented patch in https://codereview.productengine.com/secondlife/r/126/)
Each well button takes 37 px (with a padding). So, they can free up to 74 px when invisible.
reviewed by Vadim at https://codereview.productengine.com/secondlife/r/136/
--HG--
branch : product-engine
|
|
specification)
* Increased the minimal width of Chiclet panel up to 95 px.
* Also set default width between chiclet panel & im well the same as minimal (4 px).
For now minimal viewer width when all buttons are still visible (and have non-truncated labels in the 'EN' locale)
with opened sidetray is 1042 px; with short Speak button (without text label) is 991 px.
Reviewed by Vadim at https://codereview.productengine.com/secondlife/r/126/
See also EXT-3397
--HG--
branch : product-engine
|
|
is truncated "Sprechen". need xui designer to widen it by some 10 pixels
* restored center aligning for Speak button's label.
* also it is right aligned in 'de' locale which has too long value.
* default right padding is set in 'en' locale (in has no effect on center aligned label)
Reviewed by Vadim at https://codereview.productengine.com/secondlife/r/36/
--HG--
branch : product-engine
|
|
truncated "Sprechen". need xui designer to widen it by some 10 pixels
* restored Speak button shrink feature
* redesigned Speak button to accommodate label in 'de' locale
** made it wider to 5 px
** made label left-aligned
** set left padding to 12px
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/36/
--HG--
branch : product-engine
|
|
-- added usage of max_width from layout_panel xml param instead of hardcoded in code.
--HG--
branch : product-engine
|
|
http://jira.secondlife.com/browse/EXT-4335
|
|
|
|
1.23s UI
reviewed by Leyla
|
|
to move up 1px.
Increased chiclet panel height by 1px and moved it to center horizontally.
--HG--
branch : product-engine
|
|
quitting mouselook mode) and low bug EXT-4723 (Not all buttons are displayed on the bottom bar after leaving mouse look): - implemented the LLBottomTrayLite, which appears only in mouselook mode.
--HG--
branch : product-engine
|
|
|
|
active notifications.
--HG--
branch : product-engine
|
|
|
|
|
|
EXT-4363Notification list is too close to the right of the screen, conflicts with window resize affordance
|
|
Created a new widget consisting of button and scrollist. List is added to NonSideTrayView
to properly draw it without using topcontrol (because it caused problems).
This commit also fixes following bugs:
EXT-3301 (Opening Gestures on Bottom Tray Disables Move Button)
EXT-3190 (No bottom tray's context menu appears if right mouse click was perform over enabled Gesture button)
EXT-2610 ('Gesture' btn: floater opens on OnMouseDown)
--HG--
branch : product-engine
|
|
* All buttons and controls need to move down 1 px (except chiclets, which are already vertically centered)
* Left-hand controls need to shift left about 2 px (there should be 5 px of padding between the chat entry field and the edge of the window)
* Right-hand controls (IM and notification buttons) also shift left so there is 5 px of padding against the right edge
--HG--
branch : product-engine
|
|
XML only not reviewed
|
|
|
|
|
|
-- shifted chatbar left border 4 pixels left
-- reduced distance between Speak, Gestures, Move, View, Snapshort buttons to 1 pixel
For now minimal width of bottom tray with opened side panel is 687 pixels (1020 for viewer vindow) without truncating any buttons.
--HG--
branch : product-engine
|
|
--HG--
branch : product-engine
|
|
--HG--
branch : product-engine
|
|
--HG--
branch : product-engine
|
|
voice indicator isn't shown
but bug description has nothing to do with bug...
--HG--
branch : product-engine
|
|
when snapshot floater is open
--HG--
branch : product-engine
|
|
is more than 9
--HG--
branch : product-engine
|
|
-- Updated Well buttons' attributes (for images) according to implemented logic
--HG--
branch : product-engine
|
|
overflow arrows, align message well with bottom bar
|
|
--HG--
branch : product-engine
|