Commit Graph

116 Commits (0bf3ee7fa7f09bee0ee12077442fac9e4d0b32cd)

Author SHA1 Message Date
Leslie Linden 3eeb14ee0a EXP-856 FIX -- Inbox item count reflected as badge on inventory button
* Modified badges to be parented to their owners if their owners have no parents
* Modified side tray tab panels to create badges on side tab buttons when the
  xml specifies a badge.
* Modified inbox to drive the badge value of the sidebar_inventory button.
* Updated inbox and outbox sizes so scroll bars function as expected
* Updated inventory_panel.xml to allow scroll tag to specify scroll bar
  properties, instead of just having them hardcoded.

Reviewed by Richard
2011-06-10 16:20:30 -07:00
Leslie Linden def85f2778 EXP-865 FIX -- Modify LLBadge to allow it to hang off of non-buttons
LLBadgeOwner now only depends on LLView instead of LLUICtrl
Sidebar Tab Buttons now can support badges

Reviewed by Leyla
2011-06-09 12:12:28 -07:00
Oz Linden 8cdf32aa12 merge changes for storm-1093 2011-05-07 06:53:28 -04:00
Vadim ProductEngine 175f12350d STORM-1093 FIX "Dock" icon is still shown after a side panel has been docked with Ctrl+Shift+W.
Reason:
When an undocked side tray tab floater got closed with Ctrl+Shift+W,
LLSideTray::setTabDocked() was called. It docked the floater but didn't update
the dock/undock icon.

Fix:
Made setTabDocked() a general purpose method, not a hack suitable for using
only as a floater close callback in the basic viewer mode.
It now updates the dock/undock icon.

Other changes:
* Replaced numerous calls to toggleTabDocked with setDocked(),
  that is safer because does exactly what you want.
* Got rid of a duplicated floater close callback.
2011-04-22 19:07:15 +03:00
Leslie Linden 64d20b8b74 EXP-631 FIX -- REGRESSION - Clicking people button in Basic mode does not toggle the People panel to close
EXP-640 FIX -- [PUBLIC] Ctrl+I doesn't close side tray

LLSideTray::hidePanel now checks if the parent is the side tray or if it is a child to a detached tab to
determine what panel to attempt to close.

Reviewed by Leyla
2011-04-19 11:13:36 -07:00
Oz Linden b5c834c6fd merge changes for STORM-1051 2011-04-05 07:23:43 -04:00
Seth ProductEngine c2f34934e8 STORM-1097 FIXED opening the floater containing a detached side bar tab. 2011-03-22 23:07:33 +02:00
Oz Linden f64a20ddcf merge changes for storm-1016 2011-03-17 14:56:01 -04:00
Vadim ProductEngine c077250ff1 STORM-1016 FIXED Crash after pressing ctrl-shift-w while there is an undocked sidepanel.
Reason: The shortcut closes all floaters, including those wrapping undocked sidepanels.
The sidepanels get destroyed as well, while they are still referenced by the side tray.

Fix: Dock (i.e. move to side tray) the sidepanel before its floater gets destroyed.
2011-03-04 19:26:07 +02:00
Richard Linden 92403b4ea1 SOCIAL-593 FIX Profile Window cannot be resized in minimal skin
floater view snapping rectangle is now driven by floater_snap_region view
2011-03-02 21:05:03 -08:00
Richard Linden e02b83c350 SOCIAL-608 WIP Classified link is available in Basic mode 2011-02-28 22:06:21 -08:00
Richard Linden 874da4cde8 SOCIAL-551 WIP add buttons to open people and profile windows
ShowSideTrayPanel action can now toggle undocked panels
OpenSidePanelsInFloaters works now
Clossing a sidepanel floater will not return contents to side tray
close button enabled in minimal skin for side panel floaters
2011-02-24 18:37:06 -08:00
Nat Goodspeed 5946d84eef SWAT-484, SWAT-485: add LLSideTrayListener, a new LLEventAPI.
Expand XUI-visible LLUICtrl::CommitCallbackRegistry operations to include
"SideTray.Toggle" and "SideTray.Collapse".
Give LLSideTrayListener friend access to LLSideTray so it can query the
attached and detached tabs. Introduce tab_cast template to deal with the
unavailability of the LLSideTrayTab class outside of llsidetray.cpp.
2011-02-16 12:49:35 -05:00
paul_productengine 5e6b4b5ad0 STORM-351 FIXED Scrolling flat list by mouse wheel changes zoom level in-world
- Prevent passing scroll event to in-world
2011-01-26 20:24:49 +02:00
Seth ProductEngine 5d5c6b637a STORM-514 FIXED Replaced missing textures names in Side Tray params. 2011-01-06 01:01:21 +02:00
Vadim ProductEngine f644ef0fb0 STORM-682 FIXED Fixed positioning notification toasts in mouse-look mode.
Toasts were positioned as if side tray was expanded.

The fix is to reshape the so-called toasts screen channel (an area where toasts are drawn)
on entering/leaving mouse-look mode, so that the screen channel can notice that side tray get in/visible.
2010-12-24 20:20:26 +02:00
Richard Linden ca2141ce90 merge with viewer-dev 2010-12-08 16:04:07 -08:00
Oz Linden 7549df0eaf merging beta fixes after 2.4.0-beta1 2010-12-03 17:09:22 -05:00
Monroe Linden 1e050c2ed8 merge 2010-12-02 14:33:42 -08:00
Vadim ProductEngine 3c4cf5a309 STORM-677 ADDITIONAL_FIX Force textures inside texture picker to be 100% opaque while the control is in a focused floater.
Besides, made LLFloater handle opacity more like other controls do.
2010-12-01 15:46:57 +02:00
Paul Guslisty 2f0919b175 STORM-688 FIXED Sidebar becomes semitransparent if dock semitransparent side panel back to the Sidebar
- Before docking the tab back to the sidetray, set floater's children to non-transparent state

- After detaching tab from the sidetray there is no need to set manually floater's children transparency. It happens automatically when floater gets focus.
2010-11-29 16:48:58 +02:00
Andrew Productengine abcb3a7306 STORM-375 FIXED Fixed resetting of opened accordion on minimizing/unminimizing Appearance floater.
The floater on minimization behaved the way consistent with Appearance panel in sidetray on visibility change.

- To let LLSidepanelAppearance::updateToVisibility() determine whether to reset state or not, "reset_accordion" field was added to LLSD that it passed to it. It's value is
different depending on where updateToVisibility() was called from. "visible" field was added to store boolean value that was passed before fix without name, but now can't be used that way.
2010-11-24 19:01:01 +02:00
Vadim ProductEngine 90f496b302 STORM-461 FIXED Hide sidebar tab buttons in mouselook mode. 2010-11-22 16:09:33 +02:00
Richard Linden 50d21a75a7 merge 2010-11-15 15:52:54 -08:00
Richard Nelson 01b28ddf5d EXP-156 WIP Implement custom Skylight hints 2010-10-06 20:10:36 -07:00
Merov Linden a8fbfa40ba pull viewer-beta into viewer-development 2010-10-11 18:30:22 -07:00
Andrew Productengine 33bfe43b0c STORM-301 FIXED Fixed behaviour of camera on undocked 'My Appearance' tab minimizing.
- Added signal to LLFloater that is emitted on minimize.

- Set minimize callback for appearance tab floater in LLSideTrayTab::undock. Method from LLSidePanelAppearance that handles camera issues
is called on minimization of floater.
2010-10-11 19:32:42 +03:00
Merov Linden bff186d8ef Pull fixes from viewer-beta 2010-10-04 21:49:57 -07:00
Seth ProductEngine a3584c383e STORM-264 FIXED Add lower-right corner resize marker for detached side panels.
Detached SP now has a slightly reduced height not to make it flush with the bottom bar.
2010-10-01 22:23:07 +03:00
Richard Linden 67be46c78a made mIsFocusRoot a XUI param 2010-09-28 17:12:50 -07:00
Richard Linden 1911993cc7 merge 2010-09-16 19:45:57 -07:00
Vadim Savchuk 9a996978dd STORM-157 FIXED A tab might be highlighted while SB was collapsed.
Made sure that a tab can only be highlighted when sidebar is expanended.
2010-09-15 23:48:46 +03:00
Vadim Savchuk b6a39ffa21 STORM-155 Fixed attempt to show an invisible sidebar tab.
Reason: when you detach the bottommost sidebar tab, the fake open/close tab gets selected, which is invisible.
Fix: select a normal, visible tab.
2010-09-14 23:28:19 +03:00
Tofu Linden 7af2581683 merge storm-99 2010-09-13 18:43:44 +01:00
Vadim Savchuk baeded61a7 STORM-101 FIXED Moved floater settings (rect, visibility, docked state) to account-specific XML file.
The settings are now stored to settings_per_account.xml.
This change affects all floaters having save_rect/save_visibility/save_dock_state params set to "true",
not just detached sidebar tabs as the ticket requests.
2010-09-13 20:06:48 +03:00
Andrew Dyukov 5a4728d25a STORM-99 FIXED Fixed wrong name of item shown in confirmation popup when sharing items from undocked sidetray inventory.
I couldn't repro situation when select was disabled, but problem with wrong items reproduced for me all the time.
It happened because all detached tab floaters were getting name "floater", so couldn't be found by sidetray's getPanel(),
and even if inventory could be found is_inventorysp_active() in LLInventoryPanel::getActiveInventoryPanel() would not let us
reach point of getting it.

- Added setting name of floater to sidebar tab's name on it's detach.

- Added search of detached inventory tab to LLInventoryPanel::getActiveInventoryPanel() and if it is detached, inventory panel
is found there, and z-order of floater is stored and later compared with z-orders of "inventory" floaters(the ones that are opened
via Ctrl+Shift+I).
2010-09-13 16:42:33 +03:00
Vadim Savchuk 6b77ce904e STORM-92 FIXED Avoid redundant visibility changes when attaching/detaching side tray tabs.
Also happens to fix STORM-96 (Empty space appears in the top of Home side panel after redocking).
2010-09-09 21:05:13 +03:00
Sergei Litovchuk 96b7e1760d VWR-21060 FIXED creating dummy widget in Side Tray when attempting to get a detached tab. 2010-09-03 17:12:59 +03:00
Vadim Savchuk 785de381de VWR-21127 FIXED Implemented restoring sidebar tabs that were detached in previous session.
It is now possible to detach some sidebar tabs, exit the viewer, login again and see those tabs still detached.
Also fixed incorrect saving of tabs dimensions implemented in the previous commit (766d6e749836).

Reviewed by Sergey Litovchuk
2010-09-03 00:32:26 +03:00
Sergei Litovchuk 15ca7e43eb VWR-21060 FIXED showing the panel in detached tab if it was in minimized state and was called via keyboard shortcut. 2010-09-03 00:32:19 +03:00
Sergei Litovchuk c2935e40a6 VWR-20696 ADDITIONAL FIX Fix dock/undock button image changing depending on tab state. 2010-09-02 20:13:25 +03:00
Sergei Litovchuk 61555ce1f0 VWR-20696 ADDITIONAL FIX Added calling onOpen() for tabs being undocked.
Reviewed by Vadim Savchuk.
2010-09-01 22:58:29 +03:00
Vadim Savchuk 4020b91ec6 VWR-21127 WIP Implemented saving position and dimensions of detached sidebar tabs.
Reviewed by Sergey Litovchuk.
2010-09-01 21:11:25 +03:00
Sergei Litovchuk 82c7366e20 VWR-21060 FIXED opening side tray tabs via shortcut, menu item or button outside of Side Tray.
Reviewed by Vadim Savchuk.
2010-09-01 19:14:41 +03:00
Sergei Litovchuk 3070797371 VWR-20970 FIXED Added SideTrayButton class to handle mouse hover events to "tear off" Side Tray tabs. 2010-08-30 23:18:03 +03:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Vadim Savchuk d872325eb0 VWR-20926 FIXED Fixed displaying the fake "Sidebar Toggle" tab when you detach all sidebar tabs.
Reviewed by Sergey Litovchuk at https://codereview.productengine.com/secondlife/r/880/
2010-08-27 23:21:25 +03:00
Sergei Litovchuk 24d1900ceb VWR-20696, VWR-20697 FIXED Fixed selecting re-docked tab and toggling its tag button state.
Minor optimization of Side Tray expanding/collapsing upon toggling tab docked/undocked.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/879/.
2010-08-27 19:47:17 +03:00
Vadim Savchuk 127e1d50c4 VWR-20926 WIP Enabled sidebar to track detaching/attaching tabs.
TODO: Sometimes wrong tab gets selected after attaching/detaching.

Reviewed by Sergey Litovchuk at https://codereview.productengine.com/secondlife/r/878/
2010-08-27 00:19:44 +03:00
Sergei Litovchuk 5dc2f9c5fe VWR-20696, VWR-20697 WIP Added undocking/redocking tabs from Side Tray.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/877/.
2010-08-26 21:42:40 +03:00