Commit Graph

224 Commits (bea2dfbc22bb2d80755dcf9daf810e1ea0329c2d)

Author SHA1 Message Date
Richard Linden 6c60f214fd CHUI-55 FIX Floaters that have set positions from old viewer versions can appear off screen until user repositions the floaters manually 2012-03-05 20:10:17 -08:00
Richard Linden 6b0f0a89fd CHUI-55 FIX Floaters that have set positions from old viewer versions can appear off screen until user repositions the floaters manually 2012-03-01 13:23:01 -08:00
Richard Linden 80f2548371 EXP-1918 FIX Floaters that are stacked are not offset
EXP-1919 FIX Resizing viewer window with minimized floaters can result in floaters appearing off screen when un-minimized
2012-02-28 13:45:36 -08:00
Richard Linden fbfad41587 EXP-1181 FIX As a designer, I would like to specify default floater positions using relative coordinates
store and load floater relative positions
2012-02-27 13:06:10 -08:00
Richard Linden 0c7e91205f EXP-1181 FIX As a designer, I would like to specify default floater positions using relative coordinates
fixed bug where resizing window would cause stacked floaters to move relative to each other
renamed positioning enums to reflect the fact that they apply all the time now, not just when opening floaters
2012-02-24 16:57:12 -08:00
Richard Linden 0fc6c5df96 EXP-1181 FIX As a designer, I would like to specify default floater positions using relative coordinates
floaters given specified positions will stay in that location
floaters that stack will treat that as a specified position
moving any floater will switch to relative positioning mode
cleaned up some XUI where widgets were relying on a default height of 10 pixels
2012-02-24 16:54:54 -08:00
Seth ProductEngine a5e4b15b7d Linux build fix.
Moved type casts from protected base classes to derived LLCoord.
2012-02-23 21:02:46 +02:00
Richard Linden f27ea1aff7 EXP-1181 WIP as a designer I would like to specify default floater positions using realtive coordinates
fixed build
moved conversion funcs to llwindow.cpp as they work on all platforms
refactored translateintorect to take overlap as parameter
2012-02-07 22:50:49 -08:00
Richard Linden 4e08461f8a EXP-1181 WIP as a designer I would like to specify default floater positions using realtive coordinates
changed over to new convert() method
added LLCoordFloater
2012-02-07 19:29:10 -08:00
Richard Linden c47c31fdbf EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local Chat 2012-01-31 17:51:43 -08:00
Vadim ProductEngine f9a17df4d3 EXP-1806 FIXED CTRL-W no longer closes floaters.
Restoring accidentally removed code.
2012-01-17 23:17:52 +02:00
Richard Linden afc1914057 EXP-1652 FIX (Build tool floater size affected by viewer window size)
force all floaters to have follows flags = FOLLOWS_NONE and use llfloaterview::reshape logic instead
removed existing follows flags from any floater XUI and deprecated the follows parameter for floaters
2011-12-07 11:47:33 -08:00
Richard Linden acd047b6be Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience 2011-11-28 23:15:03 -08:00
Richard Linden 30beda590a EXP-1588 FIX Floaters do not snap to edge
made non-movable floaters not use auto-follow logic
toasts will now use own layout logic
2011-11-15 16:40:31 -08:00
Leslie Linden 28db67c395 Removed unused variable to fix the mac build 2011-11-14 17:16:34 -08:00
Richard Linden 98755a62bb EXP-1588 WIP Floaters do not snap to edge 2011-11-14 15:39:32 -08:00
Richard Linden b6858df0dd LLHandle<Derived> is now implicitly convertable to LLHandle<Base> and LLHandle<Base>
can be downcast to LLHandle<Derived> using the LLHandleProvider mixin
2011-11-08 13:47:08 -08:00
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