Commit Graph

207 Commits (052d8a8f2eeb4501a62096e2565f377a03f6a609)

Author SHA1 Message Date
Richard Linden e356f5c0dc EXP-1456 FIX NEARBY CHAT window sometimes opens at the top of the screen. 2011-10-24 17:30:27 -07:00
Richard Linden 399de4f345 EXP-1454 FIX People floater 'cascades' as if opening a new window while looking at group profiles 2011-10-24 14:28:09 -07:00
Richard Linden 03d0c6d35c EXP-1431 FIX Default positions for floaters follows additional open Inventory windows 2011-10-20 17:33:09 -07:00
Richard Linden c43681ca8f EXP-1440 FIX Floaters can offset from call dialog and show offscreen for default positions 2011-10-20 12:05:03 -07:00
Richard Nelson eedc8687b0 EXP-1364 FIX Debug console output covered by left toolbar buttons if present
EXP-1427 FIX Voice Settings dialog closes when selecting minimize option
2011-10-19 18:45:22 -07:00
Richard Nelson 6d7ab5d134 EXP-1428 FIX Snapshot button does not toggle floater closed 2011-10-19 18:06:48 -07:00
Richard Nelson a6dedd63f9 EXP-1424 FIX Floaters open on top of one another in default position with no offset
floaters only stack on floaters that haven't moved
2011-10-19 17:56:00 -07:00
Richard Nelson ea1c3218e2 EXP-1411 FIX "Speak" button enabled in regions with disabled voice
EXP-1424 FIX Floaters open on top of one another in default position with no offset
floaters now stack with their own kind preferentially
2011-10-19 17:47:05 -07:00
Richard Nelson 03b836d94f EXP-1424 FIX Floaters open on top of one another in default position with no offset
EXP-1412 FIX Additional Inventory windows are opened directly on top of each after opening additional inventory windows and closing the first time
also made sidepanel floaters reuse the existing instances, saving state
2011-10-19 17:25:18 -07:00
Richard Nelson ccabbec51c floaters only save rect when explicitly moved by user 2011-10-19 13:28:15 -07:00
Richard Linden 30527b2206 EXP-1409 FIX WASD controls don't move avatar while Move floater is in focus
moved "chrome" flags to xui
separated hiding floater title from setting chrome
toolbar toggle button now moves floaters to frontmost and doesn't necessarily rely on focus
2011-10-18 14:09:52 -07:00
Richard Nelson c224e589d0 EXP-1272 FIX Move "How To" to a separate web floater
added missing file and updated size of floater
2011-10-14 14:23:06 -07:00
Richard Nelson 8affdabac3 removed visiblewhenminimized logic pending redesign 2011-10-12 19:17:44 -07:00
Leslie Linden 1181e7c757 Merge 2011-10-12 17:50:03 -07:00
Leslie Linden 309ebb84a8 * Floater positioning now based on position of other cascading windows currently
open.
2011-10-12 17:43:47 -07:00
Richard Nelson 3594853d0e don't highlight toolbar buttons during drag and drop
added mVisibleWhenMinimized to floaters
2011-10-12 16:17:24 -07:00
Richard Nelson 9ca4b8219f EXP-1275 WIP A UI element or Keyboard shortcut to clear the viewport
added confirmation dialog before hiding UI
2011-10-12 15:46:45 -07:00
Richard Nelson a1f0101ca2 EXP-1275 WIP A UI element or Keyboard shortcut to clear the viewport
restores hidden floaters now
2011-10-12 13:50:20 -07:00
Leslie Linden f9e900f5ac * New floater positioning code. Better than what's checked in but not great.
* Floater updates for positioning and to revert some earlier string changes.
2011-10-11 17:36:23 -07:00
Leyla Farazha 5b1301ea8a merge 2011-10-10 17:09:31 -07:00
Leyla Farazha fd03ae299b EXP-1274 Create floater for "Avatar Picker" content
EXP-1299 Nearby Voice floater can't be closed by clicking the sidebar button again.
EXP-1306 Prompt text to "Change your avatar" and "Destinations" floaters get pushed down one line when the floater dialog gets resized to minimum width
2011-10-10 17:08:51 -07:00
Richard Nelson 0526d67309 EXP-1312 FIX Floaters should appear in region not covered by toolbars
moved floater snap region to middle of toolbars and constrained floaters to that snap region
also made toybox floater pass all drag and drop events along to toolbar
2011-10-10 15:31:25 -07:00
Richard Linden 5507840568 Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-fui 2011-10-07 10:13:49 -07:00
Richard Linden 35d3fa12ba minor code cleanup 2011-10-07 10:11:20 -07:00
Leslie Linden 1c4d540afd * Added function setOpenCallback to match existing setCloseCallback. 2011-10-05 13:03:22 -07:00
Richard Linden b183b6f141 EXP-1196 FIX Fix param block template ordering
changed ordering of template loading relative to constructor setting of params
moved a lot of constructor-set params to template files
reviewed by Leslie
2011-09-06 14:45:11 -07:00
Merov Linden 6d9158dcad Attempt to fix Linux build failure 2011-08-02 13:31:25 -07:00
Richard Nelson fd9f3b9fe9 EXP-1021 FIX Position of web content browser dictates position of profile panel - profile panel position changes do not persist
EXP-1030 FIX Search button toggle can get out of synch in bottom bar
made llinstancetracker::iterator do own nested level management (removing need for separate guard)
added support for filename= to floaters
can pass in arbitrary window_class to floaters
2011-07-26 14:26:27 -07: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 7a1d7d15b9 STORM-823 FIX Tab Key not working properly
set focus root to true by default for all floaters via floater.xml template
existing calls to setIsChrome will turn off focus root for chrome floaters after initializing it from the focus_root parameter
2011-01-11 16:56:05 -08:00
Andrew Productengine 2b44c8919f STORM-823 FIXED Fixed Tab Key not working properly in floaters.
Bug was caused by not fiding focus root in LLUICtrl::findRootMostFocusRoot() when tab was pressed in floaters. When it was not found, LLPanel::handleKeyHere() didn't move focus to the next control.
Floaters had erroneous behaviour because of focus_root xml param: though value of focus root was set with setFocusRoot() in floater's constructor , later it was overwritten in LLFloater::initFloaterXML() with value from xml again.
This problem was introduced in af49c237b0f9 - there focus root was moved to xml.

- To fix the problem, setFocusRoot() call was added after initFromParams() in LLFloater::initFloaterXML() to set proper value of focus root after overwriting it from xml.
The drawback of the fix is that focus_root param is ignored by floaters and its value is determined depending on chrome, as it did before but the only other way to fix this problem would be to set the param in xml manually for each existing floater, and do it for each new floater added to viewer.
2010-12-30 20:18:00 +02:00
Vadim ProductEngine 2b70e8e001 STORM-733 FIXED Build Tools floater now has inactive floater transparency when opened (because it's not focused by default). 2010-12-07 13:45:29 +02:00
Vadim ProductEngine 81313cb304 STORM-732 FIXED Voice Morphing floater was opaque on first open. 2010-12-07 12:06:35 +02: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
Paul Guslisty e997a09343 STORM-593 FIXED Make transparent texteditor and lineeditor
Reason: If some child of transparent LLFloater has a visible non-transparent background then this part of floater is non-transparent. As a result floater became partially transparent.

Solution: When transparent floater changes focus, iterate through its children and set corresponding (corresponding to whether control in active or in inactive floater see STORM-535) transparency value.

- Added method LLUICtrl::getCurrentTransparency. This method calculates transparency level of a control. Calculated value should be used as an alpha chennel value in case we want this control to be transparent. For now this method is used by LLFloater to adjust transparency of its children.

- Added calculating of transparecny level for: LLLineEditor, LLTextBase, LLinventoryListItem, LLScrollContainer, LLScrollListCtrl, LLAccrodionCtrlTab.

- Added method LLFlaoter::updateChildrenTransparency which updates transparency value of its children
2010-11-24 19:12:02 +02:00
Paul Guslisty 00bd5906a6 STORM-535 FIXED PLEASE allow adjustable transparency of "Nearby Chat" window, Chat History and Chat "Toasts" in Viewer 2.0!
- Added to the settings.xml values of transparency for active and inactive floaters

- Added three members to the LLFloater. These members store current transparency of floater, transparency of active and inactive floaters.

- Added callbacks that update transparency value of active and inactive floater. Also in these callbacks value of current floater transparency updated.

- In panel preferences advanced added two spinners: transparency of active floaters and inactive ones. See screenshot.
2010-11-09 18:54:00 +02: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
Vadim Savchuk 022f9bd9a8 STORM-192 ADDITIONAL FIX Fixed crash on pressing Ctrl+Shift+W (which closes all floaters).
The crash was introduced by my previous fix of this ticket in changeset 8ceebd3612f0.
The problem was that, suprisingly, even invisible (faded) toasts were destroyed when you hit Ctrl_Shift+W,
however they were still referenced by the toast pool, so the references were invalidated.

The easiest fix would be to remove all references to the toast being destroyed, no matter is it visible or not.
However, then we'd have to search for each destroyed toast in the pool, which is slow.
Besides, removing toasts from the pool compromises the whole idea of pooling (which was introduced to speed up creation of new toasts).

Another possible fix is not to destroy any nearby chat toasts when user hits Ctrl+Shift+W.
That would save us from any crashes at a price of changing existing behaviour (the toasts will remain visible).

So I went for a third option: when closing all floaters, skip invisible ones.
Then there won't be attempts to destroy invisible (pooled) toasts, so the crash won't happen,
and we don't seem to change any existing behavior.
However I'm not 100% sure of the latter statement, so the fix requires extensive testing.
2010-09-20 19:08:45 +03: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
Tofu Linden 31c6ad3d60 CID-508
Checker: UNINIT_CTOR
Function: LLFloaterView::LLFloaterView(const LLFloaterView::Params &)
File: /indra/llui/llfloater.cpp
2010-09-09 12:28:43 +01: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
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
Richard Linden abe758d45f merge 2010-09-22 19:11:29 -07:00
Richard Linden 1911993cc7 merge 2010-09-16 19:45:57 -07:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00