secondlife / jira-archive

2 stars 0 forks source link

[BUG-9076] Second Life Viewer's window title is "Second Life " with a trailing space in Windows. #16619

Open sl-service-account opened 9 years ago

sl-service-account commented 9 years ago

Steps to Reproduce

Checking the title with AutoIt Window Finder (https://www.autoitscript.com/autoit3/docs/intro/au3spy.htm), or in an external application with a code like this (C++ under Windows):

const DWORD sSize = 128;
TCHAR cTitle[sSize];
//Get window-title of the window in foreground.
GetWindowTextW(GetForegroundWindow(), cTitle, 500);
printf("%ls", cTitle); //Print title to console.

Actual Behavior

The SL viewer's window-title is "Second Life " with a trailing space in Windows (Windows 7, Windows 8).

Expected Behavior

The window-title should be "Second Life" (without quotes).

Other information

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-9076 | | Summary | Second Life Viewer's window title is "Second Life " with a trailing space in Windows. | | Type | Bug | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | MartinRJ Fayray (martinrj.fayray) | | Created at | 2015-04-19T23:45:44Z | | Updated at | 2015-06-28T12:31:00Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2015-06-28T07:31:00.189-0500', 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'The SL viewer\'s window-title is "Second Life " with a trailing space in Windows (Windows 7, Windows 8).', 'What were you doing when it happened?': 'Checking the title with AutoIt Window Finder (https://www.autoitscript.com/autoit3/docs/intro/au3spy.htm), or in an external application with a code like this (C++ under Windows):\r\n\r\n\r\n\tconst DWORD sSize = 128;\r\n\tTCHAR cTitle[sSize];\r\n\t//Get window-title of the window in foreground.\r\n\tGetWindowTextW(GetForegroundWindow(), cTitle, 500);\r\n\tprintf("%ls", cTitle); //Print title to console.\r\n', 'What were you expecting to happen instead?': 'The window-title should be "Second Life" (without quotes).', } ```
sl-service-account commented 9 years ago

Whirly Fizzle commented at 2015-06-28T12:31:00Z

Fix in Lion: https://bitbucket.org/lindenlab/viewer-lion/commits/25080a519e139be052a9691967f8a97f20dd56af MAINT-5138 FIXED Second Life Viewer's window title is "Second Life " with a trailing space