[nvda-addons] Re: commit/StationPlaylist: josephsl: 17.03: NvDA will no longer papear to do nothing or play an error tone when switching to a time-based profile. fixes #26.

  • From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
  • To: <nvda-addons@xxxxxxxxxxxxx>, <nvda-addons-commits@xxxxxxxxxxxxx>
  • Date: Thu, 2 Mar 2017 12:24:54 -0800

Hi all,

A bug was discovered while putting finishing touches to SPL add-on 17.04:
NvDA does not appear to do anything or plays an error tone when switching to
a time-based profile (caused by a wrong variable name). The fix for it will
be made available tomorrow once latest translations are applied. Thanks.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons-commits-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-commits-bounce@xxxxxxxxxxxxx] On Behalf Of
commits-noreply@xxxxxxxxxxxxx
Sent: Thursday, March 2, 2017 12:22 PM
To: nvda-addons-commits@xxxxxxxxxxxxx
Subject: commit/StationPlaylist: josephsl: 17.03: NvDA will no longer papear
to do nothing or play an error tone when switching to a time-based profile.
fixes #26.

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/7cd55aa1823f/
Changeset:   7cd55aa1823f
Branch:      stable
User:        josephsl
Date:        2017-03-02 20:21:50+00:00
Summary:     17.03: NvDA will no longer papear to do nothing or play an
error tone when switching to a time-based profile. fixes #26.

Wrong profile used in trigger profile function (leftover from SPLConfig
conversion days). This caused NVDA to appear to do nothing or play an error
tone. This has been corrected and will be made available as part of 17.03.

Affected #:  1 file

diff --git a/addon/appModules/splstudio/splconfig.py
b/addon/appModules/splstudio/splconfig.py
index 8a10737..7ae5c1f 100755
--- a/addon/appModules/splstudio/splconfig.py
+++ b/addon/appModules/splstudio/splconfig.py
@@ -753,7 +753,7 @@ def switchProfile(prevProfile, newProfile):
        SPLPrevProfile = prevProfile
        # 8.0: Cache other profiles this time.
        if newProfile != _("Normal profile") and newProfile not in
_SPLCache:
-               _cacheConfig(getProfileByName(selectedProfile))
+               _cacheConfig(getProfileByName(newProfile))
 
 # Called from within the app module.
 def instantProfileSwitch():

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

This is a commit notification from bitbucket.org. You are receiving this
because you have the service enabled, addressing the recipient of this
email.

----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting 
bugs. 

Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

Other related posts:

  • » [nvda-addons] Re: commit/StationPlaylist: josephsl: 17.03: NvDA will no longer papear to do nothing or play an error tone when switching to a time-based profile. fixes #26. - Joseph Lee