Commit Graph

80 Commits (17854c4e8702febaa8fe4adfbc678f9abaaa52c7)

Author SHA1 Message Date
Merov Linden cc11129afb STORM-682 : pull into viewer-development 2010-12-28 13:15:07 -08:00
Merov Linden 0b74df6774 STORM-523 : pull into viewer-development 2010-12-27 21:21:01 -08: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
Vadim ProductEngine 0d764afb9c STORM-391 FIXED Dismiss toasts that don't fit on screen.
Make sure older toasts don't appear after newer ones fade out.
2010-12-11 18:02:59 +02:00
Vadim ProductEngine 1d686283a4 STORM-391 WIP Removed unused methods. 2010-12-11 17:24:39 +02:00
Monroe Linden e27bcbe0d2 Merge from viewer-development 2010-12-10 13:22:55 -08:00
Vadim ProductEngine c78db88d06 STORM-774 WIP Misc renames to improve readability. 2010-12-09 17:30:31 +02:00
Jonathan Yap 6730aacbfa Adjusted whitespace in llscreenchannel.cpp 2010-12-08 15:41:00 -05:00
Jonathan Yap 7305adab32 Found and disabled another place where hovered notifications were being handled 2010-12-03 17:57:46 -05:00
Jonathan Yap 106134b695 Fix for OK notification being overlaid by Keep/Discard/Block notification 2010-12-03 03:37:37 -05:00
Richard Linden 50d21a75a7 merge 2010-11-15 15:52:54 -08:00
Richard Linden 38a182f62f EXP-371 Chat/IM bubble notifications not aligned with bottom bar 2010-11-01 13:45:55 -07:00
Paul Guslisty b2a6f4853b STORM-36 FIXED As a User, I want to control how long a chat toast appears before it fades. Please add fade time back to Chat preferences.
- Added two spinners to the Chat preferences tab that control NearbyToastLifeTime and NearbyToastFadingTime
- Added callbacks to the LLNearbyChatScreenChannel that update these properties if they were changed

Refactoring of LLToast:
- Removed code that was making toast transparent from LLToast::draw()
- Modified LLToast interface that relates to showing and hiding toast, so that all screen channels can use LLToast universally.
- Replaced in LLScreenChannel calling methods of old interface to new ones.
2010-10-26 18:15:30 +03:00
Richard Nelson 3081f89744 EXP-138 FIXED Chat and IM notices not aligned with Bottom bar in Skylight Viewer 2010-10-04 19:07:28 -07:00
Vadim ProductEngine a8b5da9a70 STORM-211 FIXED Only the hovered toasts now persists until you move mouse away (all toasts used to freeze). 2010-10-14 18:01:51 +03:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Alexei Arabadji 27b3005b78 EXT-8218 FIXED Fixed crash in LLNotificationsUI::LLScreenChannel::redrawToasts method.
Details:
Provided resetting hovered toast field in screen channel when toast destroyed along viewer logging out.

reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/705/

--HG--
branch : product-engine
2010-07-08 10:48:17 +03:00
Yuri Chebotarev aabffa4d08 EXT-8045 FIX check if sidetray is created
reviewed by Alexei Arabadji at https://codereview.productengine.com/secondlife/r/668/

--HG--
branch : product-engine
2010-06-30 19:27:22 +03:00
Yuri Chebotarev 05222b7a32 EXT-8045 FIX shift ScreenChannel rect when "SidebarCameraMovement" change.
reviewed by Mike Antipov, Alexei Arabadji at https://codereview.productengine.com/secondlife/r/654/

--HG--
branch : product-engine
2010-06-29 17:18:34 +03:00
Alexei Arabadji 8dae4c265e fixed EXT-6736 Notecard floater missing Keep/Discard Buttons (vwr 2.0)
Added functionality to close hidden IM toasts when IM floater opens.

reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/321/

--HG--
branch : product-engine
2010-04-29 15:35:44 +03:00
Alexei Arabadji d218276bdc fixed EXT-3703 Startup toast message doesn't fit toast width
* reverted changes made previously by rev. f0663aa57134;
* added calculation of toast height difference based on LLTextBox::reshapeToFitText;
* added vertical centering of message textbox;
reviewed by Mike Antipov at
https://codereview.productengine.com/secondlife/r/195/

--HG--
branch : product-engine
2010-04-08 10:49:48 +03:00
Alexei Arabadji bb3abe5c17 fixed EXT-5842 There is a lot of unused space in the online/offline toasts,
- decreased on/offline notification toasts width from 305 to 220px;
- added toast right alignment;
- made toasts for long avatar names taller
(according to max length of avatar full name(63 characters) made 3 max line of message text in online/offline toasts, also corrected initial geometry parameters of panel_online_status_toast.xml to allow method LLToastPanel::snapToMessageHeigh works correctly);

reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/182/

--HG--
branch : product-engine
2010-04-07 10:49:12 +03:00
Alexei Arabadji f54bf2a1ea fixed EXT-5904 “Offers embedding into IM windows”,
made all type offers be embedded to the IM floater;
made showing offer toast if IM floater isn't visible;
corrected IM message counter on showing offer toast;

--HG--
branch : product-engine
2010-03-04 11:35:34 +02:00
Alexei Arabadji 41c3b459f2 fixed EXT-5685 “Duplicated 'user online/offline' toasts after coming back to
Viewer”,
implemented filtering of exclusive notifications;

--HG--
branch : product-engine
2010-03-03 19:48:16 +02:00
Dmitry Zaporozhan 4b161b8839 Fixed low bug EXT-4246 - Close button on notification toast is larger than host spot.
Close button is partially positioned out of toast(floater). Usually, hovering or clicking
that "outer" part of the button can not be handled. The workaround is to position the button
on the floater and make the floater background invisible. Now close button is properly handled,
but toast is transparent. To fix this i added wrapper_panel that looks and behaves like a floater.

--HG--
branch : product-engine
2010-02-17 16:00:28 +02:00
Dmitry Zaporozhan 7453aae13e Fixed normal bug EXT-4862 - Nearby Chat pop-up toasts close affordance displays under prior toasts.
Implemented same fix for notification toasts.

--HG--
branch : product-engine
2010-02-04 15:16:14 +02:00
Dmitry Zaporozhan 85cb82fdda Fixed normal bug EXT-4696 - Teleport offer window is not alligned to the center of game area
--HG--
branch : product-engine
2010-02-02 17:04:31 +02:00
Paul Guslisty a6429a6a14 Fixed low bug EXT - 3703 (Startup toast message doesn't fit toast width)
--HG--
branch : product-engine
2010-01-19 08:15:50 +02:00
Alexei Arabadji 7165bb86be fixed EXT-4214 “Notifications counter can be negative”,
added check to avoid deleting closed toasts;

--HG--
branch : product-engine
2010-01-18 18:44:23 +02:00
Alexei Arabadji fe37c59940 fixed EXT-4382 “Crash when blocking avatar from the inventory offer dialog”,
added clean-up of stored toasts list on toast destroy event;

--HG--
branch : product-engine
2010-01-18 16:28:24 +02:00
Alexei Arabadji a42ef84b9f fixed EXT-3732 “Remove "x other alerts" toast“,
removed overflow toast related functionality;

--HG--
branch : product-engine
2010-01-14 10:12:07 +02:00
Alexei Arabadji 33af1ba1e5 implemented EXT-4001 “Notification Well window interaction”,
made notification that restored from notification well window shows as inspector;

--HG--
branch : product-engine
2010-01-13 17:40:47 +02:00
Dmitry Zaporozhan d0c029c609 Fixed normal bug EXT-3764 - Notifications should not stack when selected from the Well.
--HG--
branch : product-engine
2010-01-11 14:12:03 +02:00
Dmitry Zaporozhan 5eb4d0b219 Fixed normal bug EXT-3762 - New notifications don't appear in the Notifications Well until they fade away in the channel.
--HG--
branch : product-engine
2009-12-30 16:58:49 +02:00
Dmitry Zaporozhan 0312156258 Fixed low bug EXT-3294 - Toasts bunch up in the channel when big docked IM window is opened.
--HG--
branch : product-engine
2009-12-25 13:53:11 +02:00
Dmitry Oleshko 29ac4cf97d fixed normal bug (EXT-3587) Notifications overflow toast cannot be dismissed during spam
- reduced to minimum number of show/hide cycles for the Overflow toast, so it is easier now to click the (x) button
- the Overflow toast is now created once for a channel

--HG--
branch : product-engine
2009-12-22 16:10:10 +02:00
Dmitry Zaporozhan c157c1176a Update for normal task EXT-3089 - Notification toasts positioning, layering and stacking.
Docked LLDialogs are part of toasts positioning rules.

--HG--
branch : product-engine
2009-12-15 10:54:37 +02:00
Dmitry Oleshko c159d9165d fixed normal bug (EXT-1093) Dialog boxes should be centered in the viewport(game area)
Alert dialogs' behavior was broken in 6132:32b8dcff3b67 of PE brunch

--HG--
branch : product-engine
2009-12-14 16:09:29 +02:00
Dmitry Zaporozhan 28b507dd60 Updated comment.
--HG--
branch : product-engine
2009-12-11 12:20:38 +02:00
Denis Serdjuk 1967034ca0 implemented task EXT-2609 Implement 'block' option for inventory offers
--HG--
branch : product-engine
2009-12-10 21:40:46 +02:00
Alexei Arabadji 918eedc4e9 hardened condition for LLScreenChannelBase::isHovering method;
--HG--
branch : product-engine
2009-12-09 12:45:00 +02:00
Alexei Arabadji abe3084db2 Automated merge with https://hg.aws.productengine.com/secondlife/viewer-2-0/
--HG--
branch : product-engine
2009-12-08 20:35:07 +02:00
Alexei Arabadji 7d261eb9cf fixed EXT-3193 “Closing toasts cause blocking toast screen channel.”,
added direct check of toast hovering to avoid collisions with order of
mouseEnter and mouseLeave events;

corrected EXT-3096,
added call off startFadingToasts in deleteToast since mouseLeave not will be
called in case closing toast;

--HG--
branch : product-engine
2009-12-08 20:34:30 +02:00
Vadim Savchuk d87c492d72 Merge from default branch.
--HG--
branch : product-engine
2009-12-08 15:27:20 +02:00
Dmitry Zaporozhan e6210e82d3 Update for normal task EXT-3089 - Notification toasts positioning, layering and stacking.
Improved functionality, cleaned code.

--HG--
branch : product-engine
2009-12-08 12:17:10 +02:00
Dmitry Zaporozhan 3dee439c1d Implemented normal task EXT-3089 - Notification toasts positioning, layering and stacking.
--HG--
branch : product-engine
2009-12-07 19:23:34 +02:00
Igor Borovkov 0a88e412cc tast EXT-3096 (Notification toasts mouse hovering behavior), fade behavior is now being reset for all toasts on hovering
--HG--
branch : product-engine
2009-12-07 19:09:25 +02:00
Mike Antipov 22303da8a6 Work on task EXT-3081 (Separate Message Well on Notifications Well and IM Well)
Initial commit
 -- added two floater classes derived from LLSysWellWindow to work with Notification Well & IM Well
 -- register two floaters in place of previous sys_well (but with the same xml file)
 -- replace using of LLSysWellWindow with LLNotificationWellWindow in the out code (except of in LLScreenChannel::updateShowToastsState)
 -- rename member variable in bottom tray used for Notification Well

--HG--
branch : product-engine
2009-12-03 13:48:07 +02:00
Dmitry Oleshko b070425691 No ticket.
A pointer member must be initialized in constructor.

--HG--
branch : product-engine
2009-11-24 18:22:06 +02:00
Dmitry Oleshko 06f638abdf fixed normal bug (EXT-2653) Undocked IM floater blinks each time notification toasts fade away
- reduced a number of show-hide cycles for toasts
- only toasts showed for the first time will appear in foreground now (using of mFirstLook from LLFloater)

--HG--
branch : product-engine
2009-11-24 11:44:55 +02:00