Skip to content

Remove redundant text from clock icon in system tray#8513

Merged
feerrenrut merged 5 commits into
nvaccess:masterfrom
lukaszgo1:I4364RemoveRedundantClockText
Aug 14, 2018
Merged

Remove redundant text from clock icon in system tray#8513
feerrenrut merged 5 commits into
nvaccess:masterfrom
lukaszgo1:I4364RemoveRedundantClockText

Conversation

@lukaszgo1

Copy link
Copy Markdown
Contributor

First of all thanks to @dkager for providing sample implementation.

Link to issue number:

Fixes #4364

Summary of the issue:

On some versions of Windows name of the clock icon in system tray contain information's present in the role or in the value.

Description of how this pull request fixes the issue:

If value is not empty we are dismissing the name.

Testing performed:

Tested the following

Version of Windows before the change after the change
Windows 7 Clock clock Time and date clock time and date
Windows 8 and Server 2012 Time and date clock time and date clock time and date
Windows 8.1 Time and date clock time and date clock time and date
Windows 10 RTM (10240) Time and date clock time and date clock time and date
Windows 10 TH2 (10586) Time and date clock time and date clock time and date

On Windows 10 Anniversary Update and later there is no double text, so i've just made sure, that it works as it should.

Known issues with pull request:

None known

Change log entry:

Section: Bug fixes
NVDA will no longer present redundant information when reading clock system tray on some versions of Windows.

@LeonarddeR LeonarddeR requested a review from dkager July 20, 2018 16:53
dkager
dkager previously approved these changes Jul 28, 2018

@dkager dkager left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good. The two things to test are:

  1. Does this fix not affect other Windows versions?
  2. Are there still LTR/RTL characters in the clock in other Windows versions? It would be nice if this PR could address all supported Windows versions at once.

@lukaszgo1

Copy link
Copy Markdown
Contributor Author

@dkager This PR addresses only original problem reported in #4364 and not deals with RTL character in the clock text. I've excluded later versions of Windows from a PR description, because there is no redundant information’s in the clock icon under them. My preference would be to wait until it is merged and then create additional PR which will fix #8361

@dkager

dkager commented Aug 2, 2018

Copy link
Copy Markdown
Contributor

Fair enough.

@lukaszgo1

Copy link
Copy Markdown
Contributor Author

@dkager If i have your approval can you please request a review from @michaelDCurran or @feerenrut. I'd do it my self, but i am not a collaborator. I don't expect it to be included in 2018.3, but having it in master would let me work on #8361 more easily.

@dkager dkager requested a review from feerrenrut August 13, 2018 16:35
@feerrenrut feerrenrut merged commit a8bda06 into nvaccess:master Aug 14, 2018
@nvaccessAuto nvaccessAuto added this to the 2018.4 milestone Aug 14, 2018
@lukaszgo1 lukaszgo1 deleted the I4364RemoveRedundantClockText branch May 13, 2019 15:56
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.

double announcement of clock icon in the system tray

4 participants