JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

RemoteMaster "Preferred Remotes" issue

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
spock



Joined: 17 May 2005
Posts: 39
Location: Germany

                    
PostPosted: Wed Dec 04, 2013 12:47 pm    Post subject: RemoteMaster "Preferred Remotes" issue Reply with quote

Hi,

in RemoteMaster 2.02a (Device Upgrade Editor)
when I open Menu -> Options|Remotes|Edit preferred...
I can always enlarge the number of remotes in the list of "Preferred Remotes", but
I'm not able to reduce the number of remotes.
When I remove an entry from the "Preferred" list (lets say - had 3 entries before and 2 entries left),
press ok and then go back to the list, there are 3 entries in again.
But it seems, that the third one is random now, and so even the same entry
can be in the list more than once (e.g. two URC-7552 entries or even more).
The list stays wrong then even after closing and restarting RemoteMaster.

The only way to really get rid of unused entries is to edit the
RemoteMaster.properties file in the RMIR folder manually
(deleting a PreferredRemotes.x entry).

I just found out, that this problem already existed in previous RemoteMaster versions
(tried RM 1.97 standalone - same behavior).

Can someone confirm that problem?
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1414
Location: Munich, Germany

                    
PostPosted: Sun Feb 16, 2014 4:28 pm    Post subject: Reply with quote

Problem confirmed.

Bona fide bug. Thanx for the bug report. Fix:
Code:
*** Preferences.java    Sun Feb 16 21:22:24 2014
--- Preferences.java.orig       Sun Feb 16 21:27:45 2014
***************
*** 139,145 ****
        String name = file.getProperty( "PreferredRemotes." + i );
        if ( name == null )
          break;
!       file.remove( "PreferredRemotes." + i );
      }
      int i = 0;
      for ( Remote remote : remotes )
--- 139,145 ----
        String name = file.getProperty( "PreferredRemotes." + i );
        if ( name == null )
          break;
!       file.remove( name );
      }
      int i = 0;
      for ( Remote remote : remotes )

Fixed version (Sounds like it is for something else, but fixes this problem too).
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control