Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-10-14 23:57:57



Reply to topic  [ 3 posts ] 
Minor issue with Floater Title not updating when minimized 
Author Message

Joined: 2011-10-07 10:39:20
Posts: 201
Reply with quote
Hello Henri,

just noticed a very minor issue with a floater title not synchronizing everywhere.

Repro:
    Create a new Notecard in Inventory
    Open Notecard Floater for Edit
    Rename Notecard in Inventory
    Open Editor gets new Titel (good)
    Minimize Edit Window, look at title of minimized floater, it still lists the old notecard name

So minimized floater does not notice the rename, while the expanded editor has the correct title.


2024-02-24 11:50:38
Profile

Joined: 2009-03-17 18:42:51
Posts: 5801
Reply with quote
In fact, it is even "worst": the minimized title does not account for any change in the original floater title (the original title is always used, so for minimized new note cards, you would always see "New note" in the minimized window title). :-P

Congrats for spotting a bug that has existed forever (at least in v1 UI: I didn't not check with LL's v2+ viewers) ! :lol:


2024-02-24 14:10:47
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5801
Reply with quote
To fix, edit linden/indra/llui/llfloater.cpp and add mShortTitle.clear(); line 711, to read:
Code:
void LLFloater::setTitle(const std::string& title)
{
   mTitleIsPristine = false;
   mTitle = title;
   mShortTitle.clear();
   applyTitle();
}

Fixed for next release.


2024-02-24 14:23:47
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.