the touchEvent acting weird

OK, this is really strange. I have a screen, in which I have a few managers. In the account manager, which locates in the middle of the screen, there is a table with a table header (i.e. not focusable) and with a couple of RowManagers (which are focusable), containing some LabelFields. The header and the class RowManager extend VerticalFieldManager.

Now I have these lines focusable and when I double click on a line, I want to do something. I overrided the touchEvent method in the RowManager, it looks like this:

protected boolean touchEvent (TouchEvent message) {}
{Switch (message.getEvent ())}
case TouchEvent.GESTURE: {}
Gesture TouchGesture = message.getGesture ();
If (Gesture.getEvent () == TouchGesture.CLICK_REPEAT) {}
If (Gesture.getClickRepeatCount () == 2) {}
fieldChangeNotify (1); This brings up only a Dialog.alert in the main screen.
Returns true;
}
}
} default: return super.touchEvent (message);
}
}

Now when I run the application, the strange thing: using tapping (left mouse button) works fine, but when I click (not double click) on the table, the menu (which is supposed to be shown using only the Menu device key) suddenly appears as a popup on my cursor. Therefore, it is impossible to do a double click, because the first click, menu popup appears and the second made the choice on the shortcut menu or actually disappear. I do not use any menu of context in my application (at least I'm not aware of it), so it's really strange for me... Here are some screenshots:

Someone has an idea of what the problem may be? I'm doing something wrong?

I have solved, the problem is, that the click was not consumed. And since it is a field, not a ButtonField, the ButtonField.CONSUME_CLICK would not work, so I overrided the navigationClick method:

protected boolean navigationClick(int status, int time) {
  return true;
}

The menu no longer appears.

Tags: BlackBerry Developers

Similar Questions

  • Clone tool of the photoshop2015 acting weird

    Hi, I have a problem with my clone tool stand in the latest version of photoshop.

    It seems that there is a kind of the flow setting out there that makes meet weird. When I am trying to clone areas, its too intense and unpredictable in how paint in the area.

    the tool has changed in the latest version? What can I do to make it react more as it did in earlier versions of photoshop?

    Hello

    In fact, I don't have what goes wrong.

    You can try this

    To reset a tool, you must first have the selected tool. Then Ctrl-click (Windows users: right click) the button tool preset in the Tool Options bar.

    When you click this button, you will see a small menu and you can select Tool Reset to reset the current tool to its default value or reset all tools to deliver all the tools to its default value. Once selected, the tool will act as the first time you have used it.

    Using this simple method to reset your tool with a single click, you can quickly remedy any situation where the tool does not correctly and to maintain the flow of creativity going.

    If this is useful is fine, otherwise it would really help if you can please share a screenshot of the same thing.

    Concerning

    Jitendra

  • My iphone more than 6 s has acted weird since lately I have droped my phone there extremely overheating amd battery was fast draining. Not even in 5 min my battery goes

    My iphone more than 6 s has acted weird since lately I have droped my phone there extremely overheating amd battery was fast draining. Not even in 5 min my battery goes from 100% to 95%

    Take it to an Apple Retail Store for diagnosis.

  • Why do I have the error, Act on the request, has encountered a problem and needs to close

    I have a program called law tax preparation on.  When I go to print a return, the window opens and bed the Enforcement Act"DEMAND" has encountered a problem and needs to close.  The choice to send error report to Microsoft to cancel.  I sent it to Microsoft several times and no answer on how to fix.  Also, have sent e-mail to act on the on the problem.

    Hi VickiSpittler,
     

    Try the steps listed in the following article and check if this can help:

    Help topic: error on Page / Script Error / error occurred

    If it does not, contact support act.

  • iPhone 5 s acting weird from the hotmail interface has changed

    Hello

    My 5's mail app iPhone acted as weird as the hotmail Web site interface has changed a few weeks ago. The Junk folder disappeared and now, when I get an email, the phone rings and vibrates as before, but it is there no preview on the lock screen, or the notification Center.

    What is happening to someone else? How can I fix it?

    Thank you

    Hello

    It can help to check your email notification settings:

    • Go to settings > Notifications > mail > select an account to check the notification settings.

    You can also update your iPhone to the latest version of the software (your post indicates that it is not up-to-date):

  • mouse acts weird on Windows 10 when it is connected to the monitor extern

    Hello

    I have a weird problem, when I connect my macbook pro to an external monitor. I am running Windows 10 Pro. The problem only occurs when I close the lid of the laptop. The mouse starts to act up, it applies random clicks. Have more strange is that it stops after 5 minutes or so do. However, if the cover is open and I'm working on two screens, then it is normally.

    Do you have an idea where to start go if I want to solve this problem?

    Thank you!

    You should probably ask at the Microsoft support site.

  • What happened to the version patches-new organ is acting weird bug

    IMAC 2.66 GHz Intel Core 2 Duo 4 GB. Recently updated to OS 10.11.6 and Logic Pro X version 10.2.4. Have had all kinds of strange things going on acting buggy. Is to assign a piece for organ, but impossible to find patches of organ in what were before upgrade. I downloaded all the sounds of the relevant library. What is going on. We will have to wait for another upgrade? should I go to backup and reinstall the older versions?

    Thank you

    IN the Inspector - watch the channel bandwidth and make sure that the blue triangle is up next to the insert for the instrument. If it's not - click to the left of the insertion to move there. This sets the context of what the library shows.

  • The ripple for BB10 acting weird (Chrome).

    Weather, I try with my simple application (grid image list: 1 row, two images) or with samples of bbui.js, the rendering of the ripple is really weird. Sometimes I can view only the background, sometimes the grid makes. No matter how many times, I hit the Refresh button (or re - submit the URL) or the fact that I clean the cache. I had some relative success by changing the buttons on the right top ("cross domain" & options 'theme'), but this isn't a viable solution (and my alpha is brick... ).

    Config:

    W7 ultimate update

    Chrome 19.0.1084.56 m

    Java JRE: Version 6 Update 31

    Latest Webworks BB10 and ripple (UI 0.9.6 / build & deploy 0.9.5).)
    Oh: Regional FRENCH (May this interference?), pages below are encoded in UTF - 8.

    Since this is also with original samples, I have not this is my simple application that is the cause... but in case of...

    Config.Xml

    
        http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0.0" rim:header="MorfGPS">
        MorfGPS
        GPS and utilities App
        
        
    
        
            
        
        
    
        
        
        
        
        
    
    
    

    index.htm

    
    
    
        Golf de xxx
        
        
        
        
    
    
    
    

    Http://www.sigling.is/IMO/imofishing/home.htm

    
    

    Also, an inspection running, I noticed that divs are hidden... Would this average ripple cannot detect Alpha & WW 10 settings (which are properlu in the upper left area)?

    Here are also ripple in Chrome on the platform says:

    Version: 1.0.0.0
    Platform: BlackBerry 10 WebWorks
    Device: BlackBerry 10 Dev Alpha
    OS: BlackBerry 10.0.4.178
    Manufacturer: Research In Motion
    Screen: 768x1280
    Density: 355 PPI
    Browser(s): Webkit
    User Agent:
    Mozilla/5.0 (BlackBerry) AppleWebKit/536.2+ (KHTML, like Gecko) Version/10.0.4.182 Mobile Safari/536.2+
    

    OK, thanks for the track Tim.
    Once I saw the double alert, I thought that it might be iframes. There is!

    So if you have the same problem: right-click in the Simulator screen, then select "refresh the FRAMEWORK.

    Accuracy 100% for me. (then; script alert is "Mozilla/5.0 (BlackBerry) AppleWebKit / 536.2 + (KHTML, like Gecko) Safari Mobile of Version/10.0.4.182 / + 536.2 ' IE: the proper browser - I guess - detection devices).

    Back to dev!

  • Gradient fades started acting weird. Each new fade removes the previous. VERY FRUSTRATED! Help, please!

    Hello

    I have been using CS5 for about 2 years now and all of a sudden it began to act up. I do a lot of fading gradient on the photos of the band, that is to say their fading into one another. I am a novice at best, but I have a working knowledge of the program. A few weeks ago my gradients started acting goofy. Normally, I could take a picture, melted the transparent edges multiple times on the same mask. IE I could open a layer mask, all fades I wanted and then move to the next photo. Now, I'm doing a fade, then when I try to do a second, it removes the first.

    This same thing happened to me a few months ago, but I don't remember how I fixed it. I scoured google and went on an endless search of people having this problem and told to use other tools, other methods, etc. I know what I'm doing (and have done successfully for 2 years) for whatever reason something is twisted, or change a setting that allow me to I reset gradients, followed by the preferences button Reset procedure and even completely uninstalled the program of my rig and re-installed. Nothing did.

    Help, please!

    I suspect that you used to have degraded Foreground Transparent value option, and that you now put in the foreground to the background.

  • I used the backup and restore of the backup C on pc. Then tried to open saved files with IE and started acting weird.

    zip files

    I used the backup and restore of the backup C on pc.  Then tried to open the files saved with IE.  IE went into free fall.  ???

    I have no idea what opened the backup files when you have double-clicked, or if you will not quote you took after doing this...  However, the official way to 'Browse' the content of the backup...

    You can view the contents of your backup by opening the wizard to restore files.

    1. Open backup and restore by clicking on the button start , clicking Control Panel, clicking system and Maintenance and then click Backup and restore.

    2. Do one of the following:

      • To view your files, click Restore my files.

      • To display files all the, click on restore files for all users. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Do one of the following:

      • To browse the contents of the backup, click Browse for files or click Browse for folders.

        When you browse folders, you will not be able to see the files in a folder. To view individual files, use her browse for files option.

      • To search the contents of the backup, click search, type all or part of a file name, and then click search.

    If you back up to the top PC (VHD) integer then you mifght consider this trick:
    http://www.Petri.co.il/mounting-Vista-backups-using-Windows-complete-PC-Backup.htm

    According to the edition of Windows Vista that you have (and how useful, you will find the possibility to look at old versions of a given file and possibly restore), this could be useful to you:
    http://www.ShadowExplorer.com/
    (not a replacement of relief.)

    With regard to the rate of success vs. failure rate of backup - it is difficult to measure.  Indeed most of the people backs up incorrectly.  It's really * not * enough to set a backup and forget about it.  If you test ever that your backups work/glance to see if you are backing up the good thing - it's just not wise.  Although most people expect that it is essential that the backups were working properly (not a test, a real emergency) to be discovered.  Most individuals who report failures, unfortunately, fall into this category "when my aircraft crashed and I went to my backups - it turns out _ backup _ does not and never told me...» ».

    A question... If you manually create a ZIP file (not a backup) - can you still Explorer in it as a folder?

    To test... Create a folder on your desktop.  Copy some files into it - of different types.  I say COPY and not MOVE on the goal here - because you can just blow this folder and all that results from this folder later if it was all fair copies of things.

    Make a right click on this folder and choose "send to" and "compress (ZIP) file and give a name to the new 'folder '.  (It's really a file.)  On your desktop, you should have the original folder you created and copied some stuff in, and a new "folder" with the name you just gave.  If you open the 'new' folder - you should see the name of the folder that is still on the desktop and go to this folder, you should see the files.  You literally use Windows Vista to the 'discovery' inside a ZIP file as if it were a folder.

  • Trolling, laptop screen drivers acting weird, Windows start very slowly

    The screen of my laptop had finally died recently, so I took it into the store of the computer down hence my apartment is. Real easy, just put in a new screen. I have my laptop back and the screen is fine now, but since I found, he acted very strange. Any time I did scroll upwards or downwards, or move a window, that it is delayed and there is this weird wave effect. That I can't plug my laptop go back to my TV via HDMI, and now I can't play Lord of the Rings Online. I tried to install a video driver via Steam for the GeForce Go 7400, and now it takes about 10 minutes for my computer starts after scoring in windows. I'm not really sure to know how to find the specs and everything, but if someone could help me I would be very happy.

    Hello.

    Check the site of laptop manufacturers with regard to the specifications of the machine you.  Look at what graphic chipset provider is. He must check if it is nvidia.  Go to their site and download the latest drivers.  They have a program online to find the best driver for your system.  Download it, and if all goes well, this should you solve graphical errors and restore your HDMI.  NVidia will direct you ensures the latest driver package and complete for your machine.

  • Blue/green lines acting weird

    Until recently in AE my blue and not green lines acted as they would normally and it raises all sorts of frustration for me.  At first, I thought it was just my new project, but then I started to open old projects allowing to behave normally, and now they are weird acting just the similar new is clearly a problem that happens throughout my AE software not just my project.

    I'll open a project the RAM Preview button click and it takes about 4-5 minutes to load the green line for a film which is 4 minutes and does virtually no animation inside or effects, then the movie will begin playing automatically as it is supposed to when it ends the caching for ram, but THEN! I look forward and noticed that the green line is only at half way through the film so it really only cached in the first half of the film. So, I put paused and then click ram preview again and all executives who have been just cached to ram disappeared (there is no more green line where I waited just 4-5 minutes to get cached) and the green line, which was all throughout the first half don't not turns blue when I try to see it go in the same place It disappears completely.  THUS, it acts as if it is no longer chached RAM or even the drive!  Just the fact that it stops at half way through and behaves as if it cached the entire film (starting in the RAM Preview) is also just weird and proof that something is wrong.  This will happen again and again in different forms or another.  Basically, it's just unpredictable and I can't find a model in the problem then it makes it even more impossible to deal with.

    Any ideas on the issue?

    P.S. I noticed when I changed the RAM Preview FPS in a project, he changed the FPS in RAM Preview for each of them. Is there a way to make sure this does not happen and there just specific to this project?

    You can create presets for animated in After Effects text effects and use them in first with customizable text in FIRST! This is a nice new addition to the Creative cloud software and looks that would be perfect for someone in your position. How to create patterns of text for Premiere Pro | Tutorials Adobe after effects CC

    The majority of your video clip of work would be done first.

    First works such as iMovie did because they have two video editors (or NLE - non-linear editors). They work with a video stream. This is different from how AE, Nuke and other software compositing - located on full frame, without compression information in pixels. There is a long explanation why you probably don't care, but hope this short helps. The Adobe team is working on this repetition how AE works that will make the preview to be a little more faster/better in the future, but it won't always be like a NLE.

    Now, lyrical videos would probably do for most in AE. But the good thing is that you don't really have much in AE - just a small piece at a time to listen to samples. Set your work area and create a RAM Preview (half brothers, probably). In addition, an important tip in AE, you can press on the. on your keypad and AE will play an audio overview. During the preview audio playing, press on * on the numeric keypad to set markers. If a layer is selected, it will be a layer marker. If no layer is selected, it will be a composition marker. This is a convenient way to appear outside of the audio timing to the AE.

    For each workflow, can help at this page: optimize for performance: Adobe Premiere Pro and After Effects

    And, if you are fairly new to AE, I highly recommend to get a solid base here: getting started with After Effects you'll probably know some of what these links, but I bet there will be many times where you'll be, like, 'OH MY GOSH; I do it the hard way all this time! »

  • Login screen of the MacBook is weird.

    Hello! Login screen of my computer is weird. The colors are darker and the cursor moves more slowly than usual. Everything started after I updated my MacBook (retina, 12 inch, early 2015) to OS X El Capitan 10.11.6. Everyone knows about this problem? Is it possible to fix it?

    If that had happened to me, I would try Safe Mode boot because that passes through a few additional system checks.

    Try safe mode if your Mac does not end commissioning - Apple Support

  • Finder of freezing and acting weird

    Hi I had a couple issues Finder weird recently any help would be much appreciated!

    The finder drawing seems to freeze - can I open a folder or a new window of finder and sometimes it will be fine, but then it will be half freeze - the content of the window is not displayed - it will just be white or the background (desktop etc) is drawn in the finder window. I screen shotted because it's a little hard to describe...

    It seems to go there I kill finder / restart for 2-5 minutes... then the problem comes back.

    I deleted finder prefs, doesn't seem to help. I did a reboot in recovery mode and ran the repair disc utilities and which seem to help for a few days, but now back!

    I can close the windows in the finder and open new, and the question seems to come and go a little... Any ideas?

    Thank you

    Stuart

    Hello

    Start Safe Mode removes the system caches that can help.

    Follow these steps to start in safe mode.

    1. Start or restart your Mac.
    2. As soon as you hear the startup tone, hold down the SHIFT key.
    3. Release the SHIFT key when you see the logo Apple appears on the screen.

    After the Apple logo appears, this may take longer than usual to reach the login screen or your office. This is because your Mac performs a check of directory of your drive to boot in safe mode.

    To leave safe mode, restart your computer without pressing any keys during startup.

    Then, try the Finder.

  • The sound is weird, please help.

    I'm on a call with a friend and he can hear everything I'm listening through my headphones. I am that it was because my microphone is too close to the speakers, so for testing purposes, I moved my long arm of my headset microphone, but he could still hear everything, so my helmet was a little like a microphone, only he doesn't have one, because they are the Dr. Dre Beats headphones.

    How can I stop it so my helmet stop acting as a microphone?

    Nevermind, I know not why, I got my headphones plugged on my microphone not the mic socket. Thanks for research but not for letting me know that I myself made it look like a fool.

Maybe you are looking for