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.
- 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.
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
* 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
- 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
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
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
- 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
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
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
- 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