MenuManager in TableViewer does not work on mobile device (tablet with Win 8)

Hi
Welcome everybody This is my first post on this forum. I really hope you can help me out with this. It is kind of strange.... Ok, so I am developing RCP/SWT application, and it has to work on mobile device with windows 8 as well (10' tablet with windows Cool. So far so good - everything work pretty nice, except one thing that is really annoying. So I have this table, and user has possibility to use right click menu (context menu) on each row. Problem is that it does not work at all on mobile device. Right click on tablet is actually defined by pressing finger for longer period of time - then after 1 or 2 second menu should appear. Problem is that it does not at all. Funny thing is that when I connect a mouse using USB port to tablet I am able to open this menu Smile - it works completely fine. Menu works also with finger action when I press on empty (e.g. table without any data) I noticed that this issue is related with constructor style option SWT.FULL_FULL_SELECTION that is used for creating table. When I remove it from the constructor, right click works fine but there is not any data (no record is selected), so I can not perform any context menu action. Menu is dynamic, so depending on what data is loaded, the contain of menu changes. Main problem is that method menuAboutToShow is not called at all!. The code looks like that:
Table table = new Table(parent, SWT.FULL_SELECTION | SWT.VIRTUAL | SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI);
table.setLinesVisible(true);
table.setLayout(myTableLayout);
createColumns(table, layout);
table.setHeaderVisible(true);
tableViewer = new TableViewer(table);
tableViewer.setContentProvider(myContentProvider);
tableViewer.setLabelProvider(myLabelProvider);
MenuManager contextMenu = new MenuManager();
contextMenu.setRemoveAllWhenShown(true);
contextMenu.addMenuListener(new IMenuListener() {
public void menuAboutToShow(IMenuManager mgr) {
contextMenu.add(new MyAction(action)); // THIS PLACE IS NEVER CALLED WITH RIGHT FINGER CLICK!
// dynamic filling context menu engine
Menu menu = contextMenu.createContextMenu(tableViewer.getControl());
tableViewer.getControl().setMenu(menu);
getSite().registerContextMenu(contextMenu, null);
Additional info: this tap-hold functionally is standard equivalent for right click on tablet device with Windows. I did not do any additional implementation for that. I think it should just work. I have several tables in my application and in all of those this problem appears. Any idea what may be wrong ?
cheers,
Pawel

I have just installed SWT Example on my tablet (from here: https://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse) and this same problem appears on the table example. I think it is general problem/bug. Should I report this as a swt eclipse bug ?

Similar Messages

  • MenuManager in TableViewer does not work on mobile device

    Hi
    Welcome everybody This is my first post on this forum. I really hope you can help me out with this. It is kind of strange.... Ok, so I am developing RCP application, and it has to work on mobile device with windows 8 as well (10' tablet with windows . So far so good - everything work pretty nice, except one thing that is really annoying. So I have this table, and user has possibility to use right click menu (context menu) on each row. Problem is that it does not work at all on mobile device. Right click on tablet is actually defined by pressing finger for longer period of time - then after 1 or 2 second menu should appear. Problem is that it does not at all. Funny thing is that when I connect a mouse using USB port to tablet I am able to open this menu - it works completely fine. Menu works also with finger action when I press on empty (e.g. table without any data) I noticed that this issue is related with constructor style option SWT.FULL_FULL_SELECTION that is used for creating table. When I remove it from the constructor, right click works fine but there is not any data (no record is selected), so I can not perform any context menu action. Menu is dynamic, so depending on what data is loaded, the contain of menu changes. Main problem is that method menuAboutToShow is not called at all!. The code looks like that:
    Table table = new Table(parent, SWT.FULL_SELECTION | SWT.VIRTUAL | SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI);
    table.setLinesVisible(true);
    table.setLayout(myTableLayout);
    createColumns(table, layout);
    table.setHeaderVisible(true);
    tableViewer = new TableViewer(table);
    tableViewer.setContentProvider(myContentProvider);
    tableViewer.setLabelProvider(myLabelProvider);
    MenuManager contextMenu = new MenuManager();
    contextMenu.setRemoveAllWhenShown(true);
    contextMenu.addMenuListener(new IMenuListener() {
    public void menuAboutToShow(IMenuManager mgr) {
    contextMenu.add(new MyAction(action)); // THIS PLACE IS NEVER CALLED WITH RIGHT FINGER CLICK!
    // dynamic filling context menu engine
    Menu menu = contextMenu.createContextMenu(tableViewer.getControl());
    tableViewer.getControl().setMenu(menu);
    getSite().registerContextMenu(contextMenu, null);
    Any idea what may be wrong ?
    cheers,
    Pawel

    Hi
    The "tap-and-hold" is not my functionality. It default SWT Table behaviour on tablet. In windows it self it works like that - to use "right click" you have to do "tap-and-hold". It is just the way it works on tablet I do not have any other application to test it, but I have several tables/tableViever in my application for presenting different results/data, and in all of those this problem appears

  • SetTimeout() not working on mobile devices

    setTimeout() does not work on mobile devices ie. Safari on iOS 7.1.2 and Android 2.2.  What is the alternative that works on mobile devices?  Thank you.

    Hi Carlos,
    MS mobile browsers are crippled. They don't support many features known from IE. I would suggest to check MSDN for Windows Mobile documentation:
    http://msdn2.microsoft.com/en-us/library/bb158486.aspx
    You might also check the blog of IEmobile Team:
    http://blogs.msdn.com/iemobile/default.aspx
    Best regards,
    Klaus

  • Hello Since yesterday evening. My itunse program does not work my mobile. Note  I update the program to ios7 Please help me Thank you

    hi
    Hello
    Since yesterday evening. My itunse program does not work my mobile.
    Note
    I update the program to ios7
    Please help me
    Thank you

    I found this strange glitch that wouldn't let me open my iTunes Store. I tried all the reset options and still iTunes would close a second after it opened. I fixed this. Instead of using the iTunes Store icon on your home page to open it. Go into music and click on store. It will say "Cannot Connect To Store". Just tap ok. Then tap on "featured" on the bottom of the screen. That will take you to the store front page. After that is loaded. Back out and the icon for iTunes Store on the home page should work just fine. Hope that helps.

  • HTML5 output is not working on mobile devices, including iPads and iPhones

    Hello,
    I posted a question about this last week but had no reply. So I'm posting it again as it presents a serious problem for anyone wanting to publish content to mobile devices from Captivate 6.
    The problem is that HTML5 quiz content runs incrediably slowly (it at all) and crashes the brower on mobile devices. I have tested this on an iPhone and 2 iPads in 2 different locations.
    This is a demo that shows the problems: http://sshls-dev.port.ac.uk/captivate_problems/
    (Running this demo on a standard laptop / PC will be fine and it will work perfectly. The problem only appears when the content is viewed on a mobile device).
    The problem is more extreem in the 'shorthand' demo. The quiz loads up the first question and then when I press submit it either freezes or closes the browser (Safari) completly. Occasionally it will progress to questions 2 or 3 but then the same happens.
    I am keen on finding an answer / workaround becuase at the moment it effectively means that Captivate cannot be used to display quizes on phones / iPads.
    I would be very grateful if anyone knows how to solve this problem to let me know.
    thanks,
    Emily

    Hi alex,
    Try it with any type of android system.
    regards
    ferry
    Op 22 feb. 2013, om 09:56 heeft Alex Pavelescu <[email protected]> het volgende geschreven:
    Re: BC menu not working on mobile devices
    created by Alex Pavelescu in Content Management and Modules - View the full discussion
    Hi Ferry,
    Just tested on an iphone 4 and it works fine. Please provide details for all the devices on which you have the issue (model type/name, os version, browser version)
    Kind Regards,
    Alex.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5093384#5093384
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5093384#5093384
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5093384#5093384. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Content Management and Modules by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • ITunes 12.0.1.26 does not recognize my mobile devices.

    iTunes 12.0.1.26 does not recognize my mobile devices.

    Hello,
    I have the same experience with my iPod Classic under 12.0.1.26 under Max OS X Yosemite 10.10.2. But on another Mac with OS X 10.7.5 and iTunes 12.0.1.26 it is recognized.
    Regards
    mhomscheidt

  • I have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    i have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    Hi guillermospain,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    OS X: Connecting a Wi-Fi printer to your Wi-Fi network
    http://support.apple.com/kb/ht3500
    OS X Mountain Lion: Set up a printer
    http://support.apple.com/kb/PH11145
    OS X Mountain Lion: Reset the printing system
    http://support.apple.com/kb/PH11143
    Cheers,
    - Judy

  • TS1538 My ipod touch will not connect to itunes. I reset the ipod touch. uninstalled itunes and installed it. Turned off firewall however the device manager still does not show Apple mobile device usb. What should i do next? I have windows 7.

    My ipod will not connect to itunes. I reset the ipod touch. uninstalled itunes and installed it. Turned off firewall however the device manager still does not show Apple mobile device usb. What should i do next? I have windows 7.

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Sprinboard screen does not work on android device

    Hi experts,
    I have a mobile application that i coded on JDEV 11.1.2.4. And i deploy via sdk android-4.3 version. I set DefaultSpringboard on adfmf-application.xml file.
    When i deploy on AndroVM or another Android VM either SDK Emulator, i can see springboard screen properly. But deploy on real devices (tried with Android 4.1.1 Tablet, Android 4.1.2 Sony experia phone, Android 2.3.5 HTC phone) could not see anything, just seen black screen with header(written as applicationName) AdfmfContainerUtilities.showNavigationBar(); does not work also.
    How can i resolve this?
    Also i tried to create completely new adf mobile application that contains only 2 feature and applied the scenerio, it fails on real device too. I think that the problem is on loading featureList. Because when i created an amx page and set as CustomSpringboard. It works
    Please help me..
    brgds
    I m adding my adfmf-application.xml file content, essentially i tried almost all different setting in it.
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfmf:application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adfmf="http://xmlns.oracle.com/adf/mf" name="MLMobilKatalog"
                       id="com.accmee.MLMobileCatalogue"
                       appControllerFolder="ApplicationController" listener-class="com.accmee.application.LifeCycleListenerImpl">
      <adfmf:featureReference id="com.accmee.Login" showOnSpringboard="false" showOnNavigationBar="false"/>
      <adfmf:featureReference id="com.accmee.productList"/>
      <adfmf:featureReference id="com.accmee.productDefinition"/>
      <adfmf:featureReference id="com.accmee.favourites"/>
      <adfmf:featureReference id="com.accmee.messages"/>
      <adfmf:featureReference id="com.accmee.categoryDef"/>
      <adfmf:featureReference id="com.accmee.exit"/>
      <adfmf:featureReference id="com.accmee.menu" showOnNavigationBar="false" showOnSpringboard="false"/>
      <adfmf:featureReference id="com.accmee.menuList" showOnNavigationBar="false" showOnSpringboard="false"/>
      <adfmf:preferences>
        <adfmf:preferenceGroup id="application">
        </adfmf:preferenceGroup>
      </adfmf:preferences>
      <adfmf:navigation>
        <adfmf:navigationBar enabled="false" displayHideShowNavigationBarControl="false"/>
        <adfmf:springboard enabled="true" showSpringboardAtStartup="false" displayGotoSpringboardControl="false" animation="none"/>
      </adfmf:navigation>
    </adfmf:application>

    Per the release notes, Wallaby only supports Chrome and Safari at this time.
    And yes, it only works with Adobe Flash Professional CS5 files. To use older Adobe Flash Professional files you can resave them in CS5 and then run them through Wallaby. This is a technology preview (not a product) and therefore has certain limitations that might not exist in a shipping product.
    You mention this doesn't work on an itouch G3. You mean an iPod touch G3, yes? What version of iOS do you have installed on your iPod touch? This may be related to incorrect serving of SVG content (if you are using apache) and so you may need to update your .htaccess file in apache per the Wallaby technical tips page.
    Michael O'Rourke
    Adobe Wallaby Team

  • What if sync with new computer does not work. logical connection to old with WindowsXP, 32 bit version of iTunes. New is Windows7 with 64bit version

    What if sync with new computer does not work?
    logical connection to old with WindowsXP, 32 bit version of iTunes.
    New is Windows7 with 64bit version

    Syncing to a new iTunes library or computer will erase your iPod. Only if you back up your iPod manually before syncing, you can restore your device from that backup again. A manual backup does not include the sync process.
    Do this:
    Disable autosync in iTunes, connect your iPod to your new computer and right click on it in the device list and choose backup. iTunes will backup your iPod without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    When you connect your phone for the first time, all media content will be erased. But you can restore your settings and app data from your manual backup afterwards.
    Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the iPod for the first time.
    Music is one way only, from the computer to your device, unless you bought the songs in iTunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread: http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0
    About backups and what's saved: http://support.apple.com/kb/HT4946
    How to back up and restore:http://support.apple.com/kb/HT1414
    How to download apps for free again:http://support.apple.com/kb/HT2519
    Saving other data is also described here. How to back up your data and set up as a new device
    If your iPod can't be recognized by Windows, try these tips: iOS: Device not recognized in iTunes for Windows

  • GPS Location does not work for external devices

    It has been posted before, but I'll post again in case anyone has found a solution.
    I am using an external device (XGPS150) to provide GPS to my Ipod Touch 4G. It worked great with iOS 5. It does not work reliably with iOS 6. I have to turn off and then turn on location services, and occasionally reboot the iPod to make it work. I have tried using iOS 6, 6.01, and 6.1 Beta 3, and the problem is present in all version. I wish Apple would fix the problem.

    These previous discussions may shed some light on the problem.
    TS1702 magellan External gps not...: Apple Support Communities
    after updating to iOS 6 gps signals are...: Apple Support Communities

  • Where do I report an application that is selling that does not work at all?  "Translator with voice" for Ipad.  I consider it shold have being filtered and not allowed to sell

    I bought an application, the Translator with voice and does not work at all. I consider that is so pooly develop that is near a fraud.  Where should I report it? Out of all imputs That I tried none was translated appropiate.

    If it's not working as described then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that app and use the 'Report a Problem' link.

  • OA Framework page (custom) does not shrink to mobile device screen size.

    Hi,
    OA Framework page (custom page) using IE6 had application disconnection problem.
    So using IE6.1 beta/IE6.5 for OA Framework page (custom page) does not shrink/fit to the mobile device screen size. Means user have to scroll to the right/bottom every time. IE is set as a Mobile device (and not the desktop).
    We have tried using following Meta Tag (with different content values) to inform the browser that this is a mobile device. But this has not worked.
    pageContext.putMetaTag("MOBILEOPTIMIZED","<META name=\"MobileOptimized\" content=\"176\">");
    How we can fix this issue?
    Thanks in advance.
    Nilesh

    Hi,
    What you are trying to do, I could not understand.
    Apps Schema has all synonyms for almost all the objects in other schema if you will not specify any schema name the it will synonyms created in apps. For not using mention like this shema_name.object_name then it will fetch data from mentioned schema.
    Regards,
    Reetesh Sharma

  • Hot Fix for Skip Logic not working on mobile devices.  Me 1 - Adobe Support 0!

    This is just a tip to anyone having the same issue.  It seems that most mobile devices cannot process Skip Logic rules tied to a dropdown menu option.  It is important to know if you never tested this on a mobile device for youself so I strongly encourage that you check this on both Android and iPhone.  The single and multi selections DO work so that is the way to get around this issue.  Here is a sample of our actual web application www.gmcloans.com/quickquote.html with the functional fields.  I created a simple sample test application https://adobeformscentral.com/?f=n8qBqcnKMxR5mRmbAPwkqQ (with QR code for quicker access if you're not on a device now) utilizing all of the selection features for you to test with other devices to help save you the time I lost.
    Pro:  It works.
    Con:
    Lost time...searching for this only forum (at least that I could find) with a solution and having rearranging your application. 
    Uniformity and compaction....If you have a long dropdown list dependent on Skip Logic rules you will have to get confortable with having a lot more information spralled across your application.  
    Adobe Support...To my frustration I had to spend two (2) 20+ minute phone calls with support about this issue only for them to tell me that they don't have a fix and never had anyone express this particular conflict issue with them. 
    I hope this helps you.
    Brian Taylor

    I am still trying to find a version of your device here. The closest I got was a HTC Inspire 4G /w Android 2.3 and the skip logic on the dropdown worked correctly. I'll get back to you once I get to try it on a HTC DNA /w Android 4.1.1.
    Meanwhile were you able to try your form on any other mobile device? I know that you want this to work on your device and we will fix this if there is a bug there... but I'm just curious if you were able on your side to see it work on a mobile device at all.
    Gen

  • Nokia Music does not work anymore... (laptop with ...

    Today I wanted to use Nokia Music for transferring and convert music files but I kept receive the above mentioned error.
    What can be wrong?
    It is installed on a Asus laptop with Vista 32 bit and I have the latest Nokia PC Suite running..
    Please advise,
    Black Nokia N97, productcode 0585162 FW V20.0.19 NL and 8Gb microSDHC A-data card

    Hello,
    I have the same issue with the following details:
    Probleemhandtekening:
      Gebeurtenisnaam van probleem: APPCRASH
      Naam van de toepassing: NokiaMusic.exe
      Versie van toepassing: 1.2.20226.1
      Tijdstempel van toepassing: 49a6c7aa
      Naam van foutmodule: KERNEL32.dll
      Versie van foutmodule: 6.0.6001.18215
      Tijdstempel van foutmodule: 49953395
      Uitzonderingscode: e0434f4d
      Uitzonderingsmarge: 000442eb
      Versie van besturingssysteem: 6.0.6001.2.1.0.768.3
      Landinstelling-id: 1043
      Aanvullende informatie 1: 05b4
      Aanvullende informatie 2: 4b6683e2477545eebcc32cd6e0e4bf5a
      Aanvullende informatie 3: 9f36
      Aanvullende informatie 4: 6b7c77f38f62f4e0995d32fde91fba84 
    It worked before but after I installed IE8 it no longer works. De-installing IE8 does not help.  Ik heb een Asus met Vista SP1, 32 bits. 
    Thanks 

Maybe you are looking for

  • HP Office jet 6600 Need to print in black ink only

    One of the color cartridges is empty and the printer won't print in Black in only which is a full cartridge.  I turned Gray scale on and enabled print black ink only but it still won't print.  Is there anything else I can do? thanks,

  • How can I circumvent this connection issue due to closed-lid mode?

    I recently purchased a new Samsung monitor and have narrowed down the deficient connectivity to the fact that the Wi-Fi antennae is located at the "MacBook Pro" area of my computer's monitor. I own a late 2009, 2.26 GHz MacBook Pro connected to a 201

  • Question about message filter

    I want to archive all email by using message filter. The filter is the following: archiveallmail: if( rcpt-to == "@mydomain\\.com") archive("backup"); So all mails will be archived to the directory "backup". I would like to seperate different users.

  • The "Other" MB Issue

    I haven't seen any questions on this topic, so I guess I'll ask right now. I have a nano chromatic (4th generation). At first, I didn't know that playing games would take up space (I ended up usin like 625 MB just from games), so I backed up my music

  • Bank Application

    My bank has an application that will allow me to make electronic deposits, the application runs 32 bit Java. I've gone into the get info window and checked the 32 bit Java enable box but I am still getting the error message stating that I am running