Skip to content

Fix-up of PR 9724. Stop including empty properties when copying object to the clipboard#11441

Merged
michaelDCurran merged 3 commits into
nvaccess:masterfrom
lukaszgo1:I11438
Aug 3, 2020
Merged

Fix-up of PR 9724. Stop including empty properties when copying object to the clipboard#11441
michaelDCurran merged 3 commits into
nvaccess:masterfrom
lukaszgo1:I11438

Conversation

@lukaszgo1

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #11438

Summary of the issue:

When converting script navigatorObject_current to Python 3 (see #9724) the fact that only non-empty properties should be presented to the user has been missed. For users this meant that trailing spaces which aren't part of the control were added when joining properties together,.

Description of how this pull request fixes the issue:

Only non-empty strings are considered when creating string presented to the user.

Testing performed:

Copied name of the folder in Windows Explorer with NVDA _ num5 ensured that there is no spurious trailing space at the end whereas with the current master it is added.

Known issues with pull request:

None

Change log entry:

Section: Bug fixes
NVDA no longer appends nonexistent trailing space when copying current navigator object to the clipboard.

LeonarddeR
LeonarddeR previously approved these changes Jul 31, 2020
michaelDCurran
michaelDCurran previously approved these changes Aug 3, 2020
@michaelDCurran michaelDCurran dismissed stale reviews from LeonarddeR and themself via ea31636 August 3, 2020 05:47
@michaelDCurran michaelDCurran merged commit e2675e2 into nvaccess:master Aug 3, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.3 milestone Aug 3, 2020
@lukaszgo1 lukaszgo1 deleted the I11438 branch August 3, 2020 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Copying object name can add a space

4 participants