Discussion:
[Bitpim-devel] Ringtones tab filelist empty?
Steven Palm
2003-12-20 02:32:23 UTC
Permalink
Hi Roger,

I know you're still working on the ringtone stuff, but I'm seeing weird
behavior on the Mac... The ringtone list populates, but disappears
immediately. If you resize the window you see the ringtone list flicker
but it stays gone.

Is this a known issue, or a Mac specific issue?

-. ----. -.-- - -.--
Steve Palm - ***@n9yty.com
-. ----. -.-- - -.--
Roger Binns
2003-12-20 02:48:33 UTC
Permalink
Post by Steven Palm
I know you're still working on the ringtone stuff, but I'm seeing weird
behavior on the Mac... The ringtone list populates, but disappears
immediately. If you resize the window you see the ringtone list flicker
but it stays gone.
Is this a known issue, or a Mac specific issue?
Sounds Mac specific. Reading all ringtones (and wallpapers for that matter)
from a VX6000 or VX4400 was perfect as of a few hours ago (my only change
today was to figure out and correct the index offsets used in the phonebook
record to refer to one of the 3 or 4 places the ringtones and wallpaper
are stored).

Verify that the files exist on disk, and that index.idx references them.
(It will only attempt to show what is in index.idx).

Please also make sure you reread everything off the phone again.

If you exit and restart bitpim, does it come up right?

Roger
Steven Palm
2003-12-20 03:26:20 UTC
Permalink
Post by Roger Binns
Verify that the files exist on disk, and that index.idx references them.
(It will only attempt to show what is in index.idx).
The files exist and the index does list them, along with the 'builtin'
tones.
Post by Roger Binns
Please also make sure you reread everything off the phone again.
Several times.
Post by Roger Binns
If you exit and restart bitpim, does it come up right?
Nope. I can't get it to stay on the screen. As I say, a window resize
will cause a "flicker" wherein you can see the list, it just doesn't
stay visible on the screen.

I think it's a bug in wxMac 2.4.2... I changed the wxListCtrl type to
LC_LIST instead of LC_REPORT and I can see the file names just fine,
going back to LC_REPORT returns the incorrect behavior.

-. ----. -.-- - -.--
Steve Palm - ***@n9yty.com
-. ----. -.-- - -.--
Roger Binns
2003-12-20 03:47:15 UTC
Permalink
Post by Steven Palm
Nope. I can't get it to stay on the screen. As I say, a window resize
will cause a "flicker" wherein you can see the list, it just doesn't
stay visible on the screen.
The code makes extensive use of Freeze and Thaw. Try commenting out
every occurrence of them (don't forget the parent class in guiwidgets
either).

The current code for populating and displaying the ringtones and wallpapers
is grotesquely inefficient. (For example if you add/drag&drop multiple
items, the whole widget is repopulated after each file). It should really
be changed to use a virtual list control.
Post by Steven Palm
I think it's a bug in wxMac 2.4.2... I changed the wxListCtrl type to
LC_LIST instead of LC_REPORT and I can see the file names just fine,
going back to LC_REPORT returns the incorrect behavior.
The lucky users of Windows (never thought I would utter that phrase :-)
get to dynamically switch between REPORT and LIST by clicking on a toolbar
button. Neither Linux nor Mac allow you to change the widget style
after creation.

Roger

Loading...