Doing weird things with dataTipFormatFunction

OK, so here's my little problem:
I need to have a slider that spans a significant range of
values. The range (if we're talking units of time) goes from one
year all the way down to one second, with the difference between,
say, five and ten seconds being about as significant as the
difference between five and ten months.
"Aha!" I cried to myself. "That just means that I need to use
some of that fancy-dancy mathematics stuff that I learned in that
big brick building I went to once!"
And indeed, that's what I did: I put together a new component
by just inheriting from VSlider and tacking on some methods to
process slider.value as the input to a logarithmic scale. It's
pretty cool, too. All I do is bind to my slider.time property and
boom! I've got a slider that goes from a year to a second, with the
user being able to make fine-grained adjustments easily.
The only snafu popped up (quite literally) with the data tip,
which still showed slider.value. Kinda broke the illusion. No
problem: I just replaced dataTipFormatFunction with a function that
discarded the old slider.value-based string and returned a new one
based on my slider.time property. It even formatted it nicely,
switching units from seconds to minutes to hours to days to months.
But there's one last niggling problem. If I'm dragging the
slider along with the data tip showing and a neighboring text field
bound to slider.time, I get two different outputs. Dragging up the
scale, for example, my bound text field will say six seconds, while
the data tip still shows five. Releasing the thumb and clicking on
it again at that point will show the data tip at six seconds,
leading me to believe the following:
1) The string with which dataTipFormatFunction() is called is
based on the change event, *not* the slider.value, and
2) dataTipFormatFunction() is getting called *before* the
slider.value is assigned the new value.
So first, is that a fair conclusion? Since my custom data tip
function discards the old string and builds the new one based on a
function that accesses slider.value, it seems like a reasonable
guess.
Second, anybody have any suggestions? I see two alternatives
right now: disable data tips, or extract the number from the
original string and pass it into a method that will re-scale it.
The second option is just kinda kludgy, so I'll probably just kill
the data tips, but I do like having the pop-up feedback available
while the user is making fine-grained adjustments.
Any other approaches? Am I missing something? Should I have
gone into podiatry like my mother wanted?

Hi blob2,
Although it may not be the solution to your problem, there's been a new version of iTunes that was released a few days ago, which may provide some sort of help with this issue for you.
The latest version is 7.3.2.6, and can be downloaded from Apple's website, here:
Download iTunes - 7.3.2.6
By the way, does this happen when you're trying to view the album art on your iPod, or does this just happen with your iTunes library?
-Kylene

Similar Messages

  • Album art doing weird things with iTunes 7.3.1.3

    About a week after I got this version, all my music got deleted somehow. I've added it all back, but album art is screwy. Sometimes it only shows a black square where the art should be. Other times it won't change the art to what I want it to be. These things happen regardless of whether I change many songs at once or one at a time. Is there a patch or something? I don't want to restore the iPod again...it takes way too long to rename all my songs and put them in specific playlists!!

    Hi blob2,
    Although it may not be the solution to your problem, there's been a new version of iTunes that was released a few days ago, which may provide some sort of help with this issue for you.
    The latest version is 7.3.2.6, and can be downloaded from Apple's website, here:
    Download iTunes - 7.3.2.6
    By the way, does this happen when you're trying to view the album art on your iPod, or does this just happen with your iTunes library?
    -Kylene

  • Windows 8 - SC6 started doing weird things, not working correctly

    Windows 8 and CS6 - Liquifying tool not working and and actions not working correctly, back ground screen flickers and changes color and does weird things. I have done a complete D&R and it does the same thing. Someone with the same problem suggested a D&R and deactivate, then reinstall and reactivate, could this possibly work? if so, how would you do that? Thanks

    Yes, one I can think of. Get the make and model of your video card and head over to the card manufacturer's website.
    Check for and install the latest drivers for your card.
    Also see if changing the settings of your GPU helps. Uncheck everything (OpenCL Anti-alias 30 bit displays) and start at Basic. then work your way up to Normal and Advanced.

  • My ipod does weird things

    So I have a 30g video ipod that I have had for about a year now. Lately it has been doing so really weird things. It will be fully charged but run out of battery in thirty minutes or less, and it takes it anywhere from ten to fifteen seconds atleast to do anything. Play a song, pause a song, go through menus, everything. I was wondering if anyone could give me any ideas as to what is wrong or what I can do. My last resort would be sending it to apple.

    Well, after getting NOWHERE with online help, I sent in my iPod for repair. After having it out of my possession for about 5 days Apple happily informed me that nothing is wrong.
    Yet, SOMETHING IS WRONG!!!!!!!!!
    It still doesn't "start"* my iTrip. Even though mine works fine on my wife's Nano. And even though hers doesn't work on mine. And even though it doesn't always get recognized by the computer when plugged in. And even though when it does get seen by iTunes, iTunes (about half the time) thinks it is corrupt and needs to be reformatted.
    Oh, and now it doesn't charge through the iTrip port anymore.
    But hey, nothing is wrong.
    Anyone with anything helpful?
    And before anyone suggests it again, I've restored the thing several times.
    *By start I mean that the iTrip (LCD) will turn on and begin transmitting. Most of the time I have to fiddle with turning the iPod off and on and/or resetting it to get it to finally work. That process usually takes about 15 minutes or so.

  • Weird Thing With Exporting As Quicktime Movie

    Ok, so this has been happening for months now, but I didn't really think anything of it until now. Whenever I export a movie as a Quicktime Movie, it exports it as 2 files, the regular movie file, and the same file with "-av1" behind it. The second part has to be there in order for it to play. What's stranger is that when I put them into a folder, the movie no longer plays properly. What is up with this?

    I have just experienced the -av1 phenomena for the first time.
    I have been exporting to QT movies regularly using the same internal and external drives for months - no changes, no incorrect formatting. I have used those exported movies to create One-Step DVDs in iDVD for display and distribution. This -av1 file thing is keeping me from doing that.
    The only diff with this project (and, in fact, it's a new Sequence in a Project that has successfully been exported (without the companion file)) is that this sequence had .aiff music files some of which were from iTunes (downloaded/protected).
    I thought that might be the problem, so I created mp3s (by burning to disk and re-importing) and replaced the aiff's in the timeline - it still insisted on creating -av1 files with the QT Movie.
    Help would be appreciated.
    Thanks.
    MacBook Pro Mac OS X (10.4.8)
    MacBook Pro   Mac OS X (10.4.8)  

  • OS X Development: Doing 2 things with a button

    I'm not sure if this is the right section, but
    In XCode 5 I'm trying to make it soo when you click on a button it will open a new window and close the window the button is on, so I can do that, thing is the button forces you to only do one thing, so I have to either choose to open a new window and bring it to the front or close the window and somehow open the new window I do not know how.
    Can anyone help me with this?

    That sounds like you are talking about connecting the button to one of the predefined actions.  Just connect the button to your own action method and include whatever code statements you want.

  • Weird thing with capturing DV and square pixals

    Hiya,
    How come when I capture DV and play the capture scratch file in QT its 768 x 576
    but then I export the file as a quicktime movie its 720 x 576?
    I know its something to do with square pixals but why does it change it and is there a way so I can watch back exported quicktime movies in the correct aspect ratio ?

    Are they tapes you shot? Could they be PAL? Sometime PAL or a tape recorded in a non-standard speed will only show up fuzzy in FF. Not sure if 8mm had an LP speed and whether all Hi-8 camcorders will play that back.

  • MY NANO IS DOING WIERD THINGS WITH THE ARTWORK!!

    this is what happened :
    i went to go play a song so i clicked on it. the artwork was not the regular album artwork. it was weird pink and yellew pixels. i went back to main menu .
    and ALL of my cover flow was gone . so i clicked on songs again and it froze for about a minute then returned to normal. but i still can't get the regular album artwork. it keeps doing this ( for teh past week)should i restore my ipod or get a new one ?

    i would restore your ipod to refresh everything that will be synced... and make sure you have all up to date patches for your ipod and itunes....

  • Really weird thing with NAT

    We recently had to change the IP address and subnet mask of our servers. I followed a couple of TIDs showing where all of the changes are to be made. We are now running into a very weird problem on our Border Manger server. We are running version 3.6 and it is on a Netware 6 server. When the server is rebooted, no internet traffic (other than HTTP proxy) can get through. I have checked all of the settings and everything seemed to be fine. Checked INETCFG to make sure that IP Packet Forwarding was enabled and made sure that pass thru was enabled. Ended up checking TCPCON and found that the IP Packet forwarding was disabled. In order to get IP traffic flowing again, we have to disable IP packet forwarding in INETCFG, save the settings, reinitialize the system, go back into INETCFG and reenable IP Packet forwarding, save the settings and reinitialize the system. Once this is done, everything seems to work fine (till the server is rebooted again) I cannot figure out what is causing this. Does any body have any direction to resolve this issue?
    Thanks in advance for any assistance.
    Brian

    In article <A8zLc.8394$[email protected]>, Brian
    wrote:
    > I've seen the same issue just a few weeks ago. It seems that NAT on
    > Bordermanager does not work when supernetting is configured.
    >
    When supernetting is enabled, routing is disabled, not NAT. Though I
    am not clear if there is a NAT issue or not. To get around the
    problem, people have been manually re-enabling routing once
    supernetting is in place.
    Craig Johnson
    Novell Support Connection SysOp
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to http://www.craigjconsulting.com ***

  • Weird things with mini

    My mini started acting up about a week and a half ago. First it got disconnected from my comupter without being ejected and all the songs got deleted. The next time I tried to turn it on, I got the sad ipod picture followed by a battery picture. The sad ipod is still there but the battery picture is gone now. Plus, when I try to turn it on it starts making this weird clicking noise. I've tried to manually do the disc thing or whatever it's called, and it didn't work. Normally, I would just drop it off to a repair shop, but the nearest one is in another city. Any suggestions???
    P.s. a week before all this it locked up one day. came back on after the batter drained.
    ipod mini    

    I'll cut to the chase: the clicking hard-drive noise means your disk is done. You can either replace the CF microdrive, or buy a new iPod (assuming you're out of warranty). Since I like the Mini design, I decided to do the former; checkout the article I wrote about my experience.
    http://www.audioholics.com/techtips/setup/loudspeakers/iPodMiniUpgrade.php

  • Mac crashes and doing weird things randomly.

    Its really hard to explain
    so I took a photo of the screen when my mac crashed before.
    First, it freezes
    then i cant do anything at all since the pixels starts to go weird and shakes????
    change into diff colours and squares.......
    I had trouble telling this to the technician over the phone.
    heres the photo:http://img377.imageshack.us/my.php?image=photo0598lf9.jpg
    HELP?
    thanx a bunch!

    Hi viish and welcome to the discussions
    It would be worth checking that the memory chips are bedded into their sockets properly - see the instruction booklet that came with the machine on how to remove the memory card.
    The other cause could be the Graphics Processor itself and that is a job for an Apple trained technician.
    Chris

  • K9A2 Platiunum - 'weird' things with Network and USB are happening...

    Hi All,
    My System specs are:
    MSI K9A2 Platinum MB
    OCZ Technology 2x2GB 240DIMM PC2-6400 Gold running at 2.2V
    AMD Phenom 9500
    2 x Samsung SATA DVD Writer SH-203B/BEBN
    GeForce 8800GTX 768MB PCIE DVI
    Coolermaster Cosmos case
    Seagate 320GB SATA2 HDD ST3320620AS
    OCZ 1010 GameXstream PSU
    OS: Vista Home Premium 64
    It was quite a task getting this machine working in the first place (see my previous threads) but I have a residual issue here that I would like to put to you and see if anyone has any ideas:
    1) I noted that there seems to be something 'wrong' with my Network connection as a) my internet was very unstable on this machine ("no cable plugged in / no connection" messages) from time to time. No pattern detectable, seems to have "gone away" now; and b) my Belkin F5D7235-4 router gives me an 'amber' status light, instead of green, for the connection to the above machine. I changed the port at the router and also changed the network cable to a new one - the status light remains on amber.
    Interestingly, the status light changes to amber only once the start-up process of the PC has progressed, it is 'green' when the PC is switched off.
    2) A function of the above problem seems to be that I cannot get a network with my 2nd machine (XP SP2 based) going. I applied the patch that has to be applied when XP SP2 and Vista machines are in the same network. The two PC's saw each other once - and then never again.
    3) Had a friend over and wanted to transfer 160GB from my external WD 1TB drive (connected through Firewire 800 to the K9A2 based machine) to his laptop via USB2.0, using my Vista / MSI K9A2 Platinum based machine (specs above). After minutes of calculating the estimated time remaining it came back to me with around "5 days 7 hours remaining". Cancelled and then used my XP SP2 based machine to perform the same task and I got "1 hour, 10 minutes remaining" and it actually got done done in that time.
    Summary: I am asking myself if I have something set-up just completely the wrong way in my MSI K9A2 Plat based machine on the BIOS level regarding the on-board network card. If yes, what could that be? But then, on top, why is this really slow USB2.0 thing happening??
    I am grateful for any ideas as I feel that I have not been able to get the top performance out of my PC yet.
    Thanks to all of you for some thoughts...
    Ciliax

    Upgrade? Fresh installation on a newly formatted disk is to prefer.
    This is little beside the point, but when installing Windows I use as little hardware as possible. It is much easier to add things afterwards than troubleshooting a complex coordination of things.

  • Weird thing with charger

    So I was letting my MBP cycle through with its battery as I always do.  I was down to like 4 percent, and I got the message to plug in my charger.  When I did, nothing happened.  There was no red light, just a dim green one, and it said my computer wasn't charging and that it was running on the magsafe power.  I closed my computer and let the battery run out.  When I did, I plugged the charger back in and it started charging.  Then when I unplugged it, and plugged it back in, nothing happened.  Any one know what's up with this?

    Hold the CONTROL COMMAND POWER keys for several seconds.
    Try a SMC reset:
    http://support.apple.com/kb/ht3964
    Try a PRAM rest:
    http://support.apple.com/kb/ht1379
    Ciao.

  • Weird thing with Follow up Transaction

    Hi All
    I am having a problem with a follow up transaction, in that the texts for the follow up can not be maintained until I do a save.
    I have enhanced component ICCMP_BTSHEAD.   
    I placed a button on the view called "create action".  When this is clicked I create a follow up transaction and then navigate to the follow up transaction.
    My problem is with the Notes view on this screen.
    The drop down is populated with the correct note types.  There are two notes relating to my follow.  If I enter a text in the first note, then select the second note and enter text and then select the first note again, the text from the first note is gone and I have to enter it again.
    Anyone come accross this issue?
    Any suggestions as to how to fix it ?
    Is this because I am navigating to the same component when I create the follow up.
    Any help would be great.

    Hi Darren ,
    Have you checked the text type entries in SPRO .
    Please specify how you are defining the "Define Text Determination Procedure" in SPRO .
    Goto SPRO->Customer Relationship Management->Basic Functions->Text Management->Define Text Determination Procedure
    Regards
    Manish

  • IPod Nano doing weird things

    Ok, so I've got a 2Gb iPod nano, but almost everytime I try to recharge it I have to reset/restore it because it gives the folder_exclamationpoint error. When this happens I can't get it to work other then restoring it to the factory settings.
    This is really annoying and I hope someone here knows how to fix this. Any help would be appreciated.

    From what you have described here, it sounds like you need a new battery. Apple offers a battery replacement service, along with many third-party iPod repair companies out there.
    Unfortunately, it seems that the 5th gen. iPod batteries wear out relatively fast.

Maybe you are looking for