Re: VX8300 Calendar Bug

"Michael C." <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
Joe,

Thanks for writing back.  I was starting to wonder if you even got my 
last message (I never saw it come back to me after I posted it).

I am attaching two pictures to help illustrate what I am talking about.

In the first picture, "before.jpg", you will see the listing of the 
available ringtones.  This list was generated by some bad code, which I 
fixed in the code I sent you privately.  In subsequent restarts of the 
BitPim program, this list was not updated (apparently, it is cached in 
some file); any new ringtones would not become visible to BitPim until 
some user action forced BitPim to reread the phone's ringtone list.  The 
second picture, "after.jpg" shows what the list should have looked like 
after using the updated code.

My question, put another way, is thus:  Would it not be prudent to have 
BitPim read the phone immediately upon starting it, or better yet, 
rebuild some of the lists dynamically based upon what BitPim has in its 
database?  For example, the ringtones that are available (if not reading 
the phone directly) are the builtins (available via the specific phone's 
definition) plus the ringtones that are in the "Ringers" menu.  The only 
problem here is BitPim would not know of any ringers that are only on 
the phone.  Maybe the answer is "no".

In any case, forcing the update did solve my immediate problem of having 
the bad list.

Mike

PS:  FWIW, the problem that I faced was that some of the Built-In 
ringtones were being overridden by the uploaded ones because the indices 
were being incorrectly generated.  The VX8300 does things so differently 
than the VX8100, this had to be changed.  This was fixed in the 
"com_lg.py" file.

Joe Pham wrote:
>> I also figured out that I had to do a manual re-read of the 
>> available ringtones (via the "Read from Phone") to update the GUI. 
>> Joe, should this not be more dynamic?
>>     
>
> Not sure what you meant, can you be more specific?
>
> -Joe Pham
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
BitPim-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
before.JPG (image/jpeg, 46.6 KB) - not displayed
after.JPG (image/jpeg, 48.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.