From f7d355c6c337e56619ed2d0d45ceec807a427f0c Mon Sep 17 00:00:00 2001 From: Northspring Date: Thu, 6 Feb 2014 22:06:28 +0100 Subject: [PATCH] Proposed patch for FIRE-12037: Inventory Offer Dialog boxes hidden Hopefully without any unwanted side effects; All inventory offers should now go to the upper right corner of the screen, and stay there until relog or accept/deny - regardless of the chiclets bar hidden/shown state --- indra/newview/llscriptfloater.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/indra/newview/llscriptfloater.cpp b/indra/newview/llscriptfloater.cpp index 736317875f..0326aab4ef 100755 --- a/indra/newview/llscriptfloater.cpp +++ b/indra/newview/llscriptfloater.cpp @@ -976,8 +976,18 @@ LLScriptFloater* LLScriptFloater::show(const LLUUID& notification_id) { floater->setSavePosition(true); - if (chicletsDisabled) + // FIRE-12037: Inventory Offer Dialog boxes hidden + // They should be ALWAYS visible on screen, all of them, not only the most recent one + // Otherwise (after accepting/declining that most recent one) user may not notice, that still has something to click (with chiclets hidden, or just too many of them visible on screen), relog and lost pending inventory offer items + // if (chicletsDisabled) + // { + if (chicletsDisabled || floaterType == LLScriptFloaterManager::OBJ_UNKNOWN) { + if (floaterType == LLScriptFloaterManager::OBJ_UNKNOWN) + { + floater->setDocked(false, true); + } + // S32 width = pos.getWidth(); S32 height = pos.getHeight();