The 2.0 beta bug? Drawn to BitmapData with matrix TextField is compensated

Battery Guru, the text labels for the various "ticks" on three axes is drawn into a BitmapData with a call to draw() with a TextField and a matrix.  Under 2.0.0.3778 the position of this text has changed unexpectedly.

I will work on this narrowing in a standalone reproducible sample, but I was just wondering if anyone had noticed a similar problem with a model code like BitmapData.draw (someTextfield, someMatrix). I suspect that this implies some width measures I do with TextField.textWidth but it is speculation for now.

The main point is that it works differently under 2.0.  The screenshot below shows the version of the guru of the battery that runs under version 2.0 beta. Normally, you would see numbers stacked vertically along the left and right, % levels and wattage marking, and the hours from 10 to 0 along the bottom lined up with the left and right edges.  As you can see, the number of hours are shifted to the right (with 0 today disappeared), while the other sets are missing but presumed to be staggered and simply invisible accordingly.

The second glance, it does not seem to involve the graphic subsystem at all and is probably my fault.

I was iterating over an object that contains data describing the axis labels. The loop seems to have a dependency on the order in which the axes are processed, and this order was changing according to the particular environment/version involved.

I forced a fixed order for now, and all three environments I tested in (sim 1.0.7, sim 2.0.0 and PB 1.0.8) are behaving in the same way. Also "bad" for the moment, but it seems that something I can improve in my own code will be just.

Basically a false alarm... :-(

Tags: BlackBerry Developers

Similar Questions

  • Is the app for Better Homes and Gardens Cookbook for Mac still available?

    I have the app for Better Homes and Gardens Cookbook, but it works on my iPad.  I want it on my Macbook Pro.  How to do it?

    HOW is it that so many things are available on the iPad but not on Mac computers?

    You can try to contact the developers of the versions of iOS apps and ask them if they have plans to make a Mac version of them

  • The movement object VB4 bug

    I am trying to get information in VB by creating a modest game in VB4 program; running in WIN XP - SP3. (No point in getting something more modern, until I feel more confident with the basics). There is a very persistent bug that comes and goes but who defied several attempts to eliminate or work around it. I can't recognize a trend in this appearance/disappearance.

    QUESTION 1: -.

    There is an area of rich text, which is used to display status messages at various stages of the program. It is placed somewhere on the main form. Often, without apparent reason, he jumps from a firm position in the upper left corner of the form and cannot be dislodged.

    The program is otherwise operating normally after this movement.

    No other objects don't exhibit this behavior. Previously when some object or other go haywire (usually also for no apparent reason - I guess VB4 is a little unstable?) the cure was to replace the object with a similar one with a new name and change all instances in the code. This does NOT work with this bug. Not playing with timers or exchanging lines of code. Sometimes such an attempt appears briefly to correct bad behaviour, BUT it always returns.

    I tried to fix the position with simple code: nothing good. Similarly, an attempt to use a line with the Method Move to return the errant box. After a brief period of apparent good conduct also failed.

    I even tried a cleaning (owner) of the registry: no chance.

    The problem is also evident in design mode and after making an exe.

    Maybe is the problem due to an obscure interaction with a module of Windows?

    QUESTION 2: -.

    If I can complete the program and this is finally working correctly can it put to update or upgrade by using what is the latest version of Visual Basic? Or should I start over? -I think, obviously, to try to do the thing properly compatible with later versions of Windows.

    Useful suggestions gratefully received!

    Your question is beyond the scope of this community.

    I suggest you post to MSDN and/or Stackoverflow

    It may be useful

  • As the computer is old and slow it is better to increase the RAM or better to invest in a new computer update?

    original title: lack of RAM

    McAfee, unable to update as the only security base 256 and 512 MB of RAM required. As the computer is old and slow it is better to increase the RAM or better to invest in a new computer update. Would appreciate help in this case. Also as I'm pretty computer illiterate, please use the terms that I can follow. Thank you

    Hi Kathleen Almeida,.

    Because the computer is old, instead of upgrading the ram, you can buy new computer. I suggest you contact system manufacturer more about if you need to upgrade or buy a new computer.

  • chrome keeps crashing. We have just installed BT infinity. Overall, the speed is better, but it's embarrassing!

    We have just installed BT infinity. Overall, the speed is better, but it's embarrassing!

    It seems to happen very five minutes!

    His little chance that your BB provider has something to do with applications of freezing, of course if you installed from a cd of BT process that may have installed various programs in the process and it may be those that cause problems

    See help BT Infinity or FAQ

  • The text flow inconsistency bug - what to do when workaround does not work?

    Hello

    I am severely touched by the "Inconsistent text flow" bug, which threatens to force me out of business, because all my sites are produced in the Muse. I can't update my sites - the bug strike immediately and Muse stops.

    The message looks like this, but the references are always different (different textbox and different reference breakpoint):

    Text_flow_inconsistency.PNG

    I tried the workaround solution described in the Adobe's Forum thread: Muse-P error incompatible a number of children through breakpoints in text U199116 [was: Muse has encountered an error]

    but without success. The bug is still strangleing that my business - and now my clients is growing very impatient.

    If I understand correctly, the bug was introduced with the last update of Muse. Why don't remember you this update and offers the opportunity to reinstall the previous version in good health?

    A very quick response will be appreciated.

    Thank you

    Sten

    I was forwarded to the Adobe technician who asked my MUSE-file. After a day, he responded with this:

    Please select the block of text you want to change and raises questions, in the 320 breakpoint. On the text block right-click > copy text formatting to > all breakpoints.

    I have now finished testing the solution - and it works. But it removes all formatting of specific breakpoint, then you will need to go through the process of formatting, once more.

    In fact, I recommend Adobe to address the initial fault base, so the bug never shows its ugly face again.

    But thanks for the advice, which brings me back in business.

  • Anyone had problems, in the new BC Beta feature, add a web form to a page as a module?  I am able to access the form as normal, just can't seem to add to a page.

    Anyone had problems, in the new BC Beta feature, add a web form to a page as a module?  I am able to access the form as normal, just can't seem to add to a page.

    Is apparently is a problem of Google Chrome browser.  There is no problem in Firefox.  BC said they are working on a solution.

  • After effects error: could not import the 'Sweet CC Beta.jsx': type of file not supported or extension.

    OK, so that is the problem. I wanted to try the all new beta after effects candy but when I try to open the file it just straight up with the error in the title. I'm on a MacBookPro running the Mavericks. Does anyone else have this problem?

    You do not open a jsx file, run you from the file > Scripts menu. Just give a try.

  • Why the latches is if the mutex are better?

    Hi all

    I'm trying to understand the mutex and latches, also searched the forum and read other messages.

    My question is, almost in each paper said: mutex are faster, less false assertion, less size etc... also are locking latches a block of memory, but each object has its own mutex.

    two of them are nice locking mechanism, which is OK but if the mutex are better why latches are exist? What is advantages of locks?

    Mustafa KALAYCI says:
    Aman,

    I'm really starting to feel like a fool. each different answer changing my understanding of locks and mutexes.

    Isn't fun?

    When started this topic, I thought that the clasp and mutexes are both a locking mechanism that during a process of reading in or by writing to something a piece of memory, process locked this field and make it's own, it's lock is a lock, or mutex (it is also very close to description of University oracle performance tuning training manuals).

    In this book, its very clearly explained that latches may present a statement false . For example, when you see a Cache library top 5 events, you should interpret, this is a good thing or a bad thing? Without access to it, you can't search for the library Cache hash strings and cannot come to know that the slider required on your part is there or not? That means, until the moment that you do not have the hand on Library Cache, the decision to go for a hard or soft analysis is not possible and that is waiting for the library Cache lock, is of no real use at all. This is a false assertion and Mutex can help minimize this. Good read this page completely and with a little more attention and you need to understand.

    then I started to know the difference between the lock and the mutex. at first, I thought that HLDAA and mutex concepts belong to the oracle database, but I realized I was wrong. It is a technique of joint programming for shared resources.

    This isn't a concept of programming but the mechanism for the protection of the integrity of the structures of memory.

    I'm not sure that the lock concept is nowhere else or not in addition to oracle. But the notion of Mutex is already there in the operating system concepts.
    http://en.Wikipedia.org/wiki/Mutual_exclusion

    documents almost I read told me that mutex are just better and I'm just curious, if mutexes are better, why are locks used.

    I mentioned several times the answer to this, the concept of lock is a proven concept and is around for many years in oracle. Simply because the Mutex is better, this does not mean that Oracle, the next day, everything would change and will begin to deploy the mutex. You realize that Oracle code isn't just 10-15 lines that its really possible to change in a short way.

    When I run a query, first oracle will search this library if cached query cursor can not found create it there and then start interviewing research data. While the oracle process research to the cursor when it exists, it crashes a block of memory that it is currently reading in the library cache. After that, he will start looking to the data buffer cache. in seeking the data block, each block will be locked again while reading process and released when he finished reading.

    in which level a mutex and latch will be created and released. It might be easier if I get an example like that.

    for the moment, I think that mutexes and locks are algorithms to protect the wrong again... maybe shared structure.

    They are different ways to do the same thing, latches are something you need to wait, revolve around the CPU to get their hands on them. Mutex, are much faster, can be acquired more quickly and released more quickly as well.

    HTH
    Aman...

  • 5.5 beta sdk will be compatible with the web client 5.1?

    Hello

    We are studying options for vsphere web clinet plugin. We use the 5.1 sdk for our plugin currently. Now we continue to hear a lot of new features coming with 5.5 Sdk. So we intend to spend 5.5 sdk, visitors will also migrate to version 5.5 web client to use our plugin?

    Concerning

    Built with the SDK 5.1 plugins must be compatible with the Web Client 5.5.  Our goal is to ensure backward compatibility for at least 1 major release.

  • Can I overload the Flash Player to bug out?

    I'm hardly an ametuer to programming of sites in Flash to let you know (as 2.0).

    I have a site very heavy semi with long preload for pages and a site radio/Bo. The site is here... http://www.shootiehgstudios.com/clients/thecauterized/TheAlchemist/index.html

    The soundtrack .mp3 on 4MBs that performs a loop, and pages are about 1/2 MB. When the site launches and loads into the home page, which was then the home page load other pages as requested with the radio/mp3, sometimes the radio turns off or loading will not give up the page I want. What is really bad, it's once a of these errors occur, I need to clear my cache of browsers for the site working again, that many users do not know how to do, and I of course want to have a site that works correctly.

    Not that I can really have a real conversation detailed on how I set up the site (being a newb), I guess my overall question is, can you do the work of Flash Player too hard to where these problems occur? It takes too much memory as he tries to load even more and, consequently, break the feet? I wonder if I am just trying to shave KBs away here and there, could this problem will go away? I'm assuming that the radio I have trying to load 4MBs value of music as my main page tries to load a page 1 / 2MB and it's too much for the player. It's that or my Flash workflow is so bad that I would have to rethink the whole of the project... I don't know where to start, hoping that someone has a spare minute to share all the opinions.

    Thanks for your time.
    -Monty

    My hosting company was market back its servers for the last 48 hours and I had no idea, so couldn't give me the bandwidth, I had need I guess. Woke up this morning and the site works like a charm now. Sorry for the long thread for no reason.

    -Monty

  • ODAC 12 beta 2 does not work with EF 6

    I removed all versions of Oracle from my development computer (Windows 8.1 Pro)

    I did a new install of ODAC121010Beta2_32bit

    My path to the client is "C:\app\client\Brian\product\12.1.0\client_1."

    I added that to my environment variable 'path' with 'C:\app\client\Brian\product\12.1.0\client_1\bin '.

    My TNSNAMES file. ORA is in "C:\app\client\Brian\product\12.1.0\client_1\Network\Admin".

    I did as my TNS_ADMIN environment variable.

    I'm under VS 2013 SP3 with all updates

    I browsed in the ODP directory and manually added

    C:\app\client\Brian\product\12.1.0\client_1\odp.net\managed\common\Oracle.ManagedDataAccess.dll

    and

    C:\app\client\Brian\product\12.1.0\client_1\odp.net\managed\common\EF6\Oracle.ManagedDataAccess.EntityFramework.dll

    I've added to my app.config:

    "< invariantName =" Oracle.ManagedDataAccess.Client provider"type =" Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.1.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

    I built my project (which is just a windows DLL class library to simplify things.

    Now, I try to add a model EF, the two code first and first data.  Both tell me that I don't have a compatible library.

    I then delete the Dll 2s above and try versions Unmanaged of them.

    Still does not work, but now at least it will give me the opportunity to return to 5 EF.  I'd rather go with EF 6.

    I restarted not less than 20 times today.


    I give up.  What I am doing wrong.

    This seems to be the same problem as found here:

    Visual Studio 2013 Update 3

    The key is that VS 2013 update 3 and the ODAC beta version have a bug. For now, the recommendation is to go back to 2 update if you are using the beta version of ODAC. We are working on a fix for the ODAC, so that it can be used with update 3.

  • After the update of Sierra: not to Disable Trackpad with Magic Mouse connected

    Hello

    After that I updated to macOS Sierra on my MacBook Pro the Trackpad is not disable mouse connected with Magic.

    Feature: MacBook Pro retina 15 inches (end of 2014) on macOS Sierra.

    Since the update, I noticed that my stays compatible with my Magic Mouse connected after built-in trackpad window connection.

    In system-> accessibility-> mouse and Trackpad preferences, I have not "ignore the built-in trackpad when mouse or trackpad wireless is present". If I switch it off and on again once again, the parameter will be.

    However, once I lock the device (user name right-> connection... window) and reconnect, the trackpad works. You must pass the parameter each time.

    Is this a bug of Mac OS Sierra (can't find anything) or am I missing something? I am aware that the trackpad is reactivated at the login window, but before it will deactivate after logging in.

    I don't use Magic Mouse, but I have USB Wired mouse and I have the same problem since installing Sierra.

    I have the box ticked, but I must go and clear the check box and then save.

    I have to use a mouse all the time because my trackpad goes haywire and I wasn't able to find a solution for this. It moves its own and open stuff on its own.

  • Recovery of the factory from 32 bit to 64 bit with the note system performance

    Recovery of the factory from 32 bit to 64 bit with the note forever system performance, it's about associated wire
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=50433
    which is closed/locked, and had no correct answer.

    I just bought a Toshiba L750. After learning of the default Windows 7 installed is Windows 32 bit, I decided to go Recovery Wizard from Toshiba upgrade to 64 - bit. However, the process is stuck to the system performance of note, that repeated several times for 2 hours.

    Given that I guessed that screen performance of system just note one full screen of a normal process of Windows, so I pressed the button Windows start to display the taskbar which showed a component of Adobe installation process has failed. In any case, I clicked on the install Adobe on the taskbar button and close the window.

    The note system performance then continued with about 10 steps ahead after 15 minutes. All well done.

    So the trick is to close a window of the installation components that get stuck. Hope this helps some Toshiba laptop users out so hard.

    A suggestion from bits to the team of Toshiba laptop:
    The full screen of the Recovery Wizard is good to hide technical details from users. However, if hang in some components, like the Adobe component I've seen, this will be confusing and advises current defects if the end-user following some in the thread above, legacy because of some missing components and the wrong configuration. It is preferable that the wizard of recovery to exit full screen at a given time, or the wizard handles error scenarios better.

    > So the trick is to close a window of the installation components that get stuck. Hope this helps some Toshiba laptop users out so hard.

    Thanks for sharing this with us!

  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

Maybe you are looking for

  • Unable to receive mail after installation of El Capitan

    I run a Mac Pro 2012 model and since the passage of Lion in El Capitan, I am unable to receive emails. I can send emails OK. I checked all the preferences of mail several times and they are correct. Internet connection is fine and everything else see

  • Satellite A50-110 wireless standards

    I had this little question: what are the wireless standards does support Satellite A50-110?

  • .wav files do not play in firefox 3.6.13

    I wrote index.html file and coded the following and the .wav file is also in the same folder where the HTML file is saved, < title > wav files < / title > < bgsound loop = "5" src = "hello.wav" > < / bgsound >

  • Printer scanner

    Photosmart c4100 series:Please help if you can. I don't know how to use the scanner. I can scan a photo for the reprint function, but want to be able to scan a picture on a memory stick. Is this possible? The only option that comes closest to my requ

  • BSOD, BCCode f9, caused by ntoskrnl.exe, could you please help me with this?

    I get the BSOD with f9 code and I do not understand what is? Could you please advice what may cause this? I'm not sure,It happen when I stop or restart (15 minutes with him saying to stop) followed by BSOD (pilot State power failure).Once I'm back I