Commit Graph

207 Commits (05935d09124db6834ed7262b94de7558b6738590)

Author SHA1 Message Date
Arrehn bb7e2458b3 FIRE-3651, Windows hosted in contacts floater share titlebar, by Satomi Ahn 2011-10-29 11:45:02 -04:00
Arrehn 7394730eaa Merge up to LL FUI 2011-10-28 02:00:09 -04: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
Arrehn 9fd0edb326 Initial 2.8.3+ merge, Tozh & Arrehn
Issues: Graphics preferences tab, lighting, depth of field
Issues: Color preferences tab, new direct chat
Issues: Build floater Mesh build tab
Issues: German translations of build, viewer menus
Issues: pipeline issues with mac, possibly other things
Issues: uploading content / temp content
Issues: Windlight quickprefs, parcel windlight, RLVa windlight
2011-08-26 11:18:49 -04:00
Arrehn 61cb88c510 Mini-merge up to FS-tip. Note: Reverted OSX Lion build sdk changes, due to failure to produce a viable build on snowleopard. 2011-08-05 11:35:59 -04:00
Arrehn e277b8a4ac Merge with LL 2.6.9, initial work. Needs tests, extra XUI merging with particular skins. 2011-08-04 11:53:40 -04:00
Ansariel 594002a3af Don't restore closed (minimized) detached sidebar panel floater on disconnect. 2011-07-13 23:15:03 +02:00
Ansariel 191da2db43 Check if visibility is different from current state for a floater
(Should gain some performance as this method is called dozend times per second during UI update)
2011-07-05 21:56:35 +02:00
ziree 84af16cea9 Fixed FIRE-1082: Floaters opening at 0,0 with 0,0 size, like local chat tear-off for the very first time. 2011-05-23 11:51:00 +02:00
ziree 000c6ffa0c Finalized floater position and tear-off handling, cleanup code.
--HG--
branch : Docking_Window_States_Branch
2011-05-07 00:30:14 +02:00
ziree aab64557b6 Created branch for docking window state work. Currently not suitable for everyday use because of very very ugly code, debugging output and a few code flaws, so I put it in a branch to keep workign on it.
--HG--
branch : Docking_Window_States_Branch
2011-05-06 18:21:25 +02:00
Arrehn 2bfd07a1ef FIRE-521, open up floaters in the center by default. Conflicts less with top bars, insures better eye focus. 2011-04-24 15:20:25 -04:00
Arrehn 10e88f3891 Merge with RLVa-LL2.5.2 2011-04-09 22:24:22 -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
Arrehn 3774c0d6ba Minor refactoring: Improved method of checking for sidebar tabs that should be visible when minimized.
TODO: Better refactoring, this behavior should be in a floater attribute.

--HG--
branch : Firestorm_2.4.1
2011-01-28 00:37:10 -05:00
Arrehn 2dc911ac0c Skins with sidebars now can minimize their floaters back to bars. Should make this a runtime change.
--HG--
branch : Firestorm_2.4.1
2011-01-27 23:32:10 -05:00
Arrehn 0e58b51aaa FIX: More robust method of insuring undocked minimized sidebar panels are hidden, even across sessions.
--HG--
branch : Firestorm_2.4.1
2011-01-27 13:26:39 -05:00
Arrehn d7f1de0438 Completely hide minimized, undocked sidebar floaters - we use the button / tab controls to toggle minimization and do not require a minimized visible window. 2011-01-21 01:48:43 -05:00
Tonya Souther be51f16dec Fix compile error on gcc. Nested comments give it heartburn. 2011-01-19 17:18:41 -06:00
kadah 870bbb25b0 Merge 2011-01-19 12:52:20 -08:00
kadah 65fda9dfb4 Fixed FIRE-331: Disabled close button on dockable flaoters is always enabled when docked 2011-01-18 20:13:17 -08:00
Arrehn a30a9064b1 Merge Firestorm up to LL 2.4 Release. (initial pass)
RLVa needs additional merging
2011-01-18 00:50:43 -05: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
Arrehn bc240368ea Changing minimize offset mechanism to work around a linux build error. 2011-01-10 23:49:28 -05:00
Arrehn 7d019ff9e2 merge with tip 2011-01-09 20:35:46 -05:00
Arrehn 5f280b79b2 Minimized windows persist in minimized form. For people who like to undock the sidebar. 2011-01-09 20:35:10 -05:00
Arrehn 0310fa1c64 Charcoal grey windows instead of black, smaller title bars, title bar highlights 2011-01-09 19:52:25 -05:00
Arrehn 3daaf8d18e Make iconified windows respect the space taken by the topbars and not overlap 2011-01-09 03:27:16 -05: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