facebook

Focus switches to Matisse form tab when saving in other tab

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #353921 Reply

    rzc1
    Participant

    Hi everyone,

    we are experiencing the following issue with MyEclipse 2015 Stable 1.0.

    Several tabs are open. One of them is a Matisse form designer tab. The currently opened tab is a Java Editor tab. When pressing Ctrl-S to save in the Java Editor tab the focus is switched to the Matisse tab.

    – we have already seen this with MyEclipse 2014
    – we see this for different workspaces
    – we see this on all our developement machines

    Does anyone has seen this behavior to?
    Does anyone have a solution for this? (discarding Matisse is not an option)

    Best regards
    Stefan

    #353933 Reply

    support-swapna
    Moderator

    Stefan,

    Sorry that you are seeing this issue. We could not replicate the issue at our end.

    Can you please give us some more information ?

    1. Is the Java tab, the regular Java Editor tab or is it another Matisse editor with the Source (java) tab focused ? What happens if the Matisse editor java tab is open instead of the design tab?

    2. Do you see the issue if you press the Save icon instead of Ctrl+S ?

    3. Does the issue occur when there is one Java editor and one Matisse editor open? Please close all other tabs and check.

    4. Please send us a screenshot of the IDE when the issue occurs, to help us get a visual.

    5. Please try editing the Matisse form in another window and/or by dragging the Matisse editor tab to the desktop and check if you see any issues.

    Let us know how it works for you.

    #353977 Reply

    rzc1
    Participant

    Hello Swapna,

    thank you for your reply. It took us some time to find a reliable way to reproduce the problem. Here is how you can do it.

    1) you need a project under version control – here we use SVN with Subversion 1.10 plugin

    2) create a form in the project and add some controls to it

    3) create a simle java class (pojo) with some attributes, constructors, getters/setters

    4) save form and pojo and add it to version control

    5) modify the pojo (eg. add a new attribute)

    6) close all opened tabs

    7) open the form (in visual view)

    8) right click on the pojo in the project eplorer view and choose Team>Synchronize with repository

    => A tab with the sync result opens *but* the tab with the form gets the focus

    Sure there 8 steps necessary to reproduce the problem. But on a days work we usally do all these steps as they are very common.

    This is not a way to reproduce the problem when saving a pojo in the Java Editor with Ctrl-S but is has the same effect. We are still looking for a reliable way to reproduce the Ctrl-S problem.

    Best regards
    Stefan

    #354001 Reply

    support-swapna
    Moderator

    Stefan,

    Thank you for posting the detailed steps. We are investigating the issue at our end. We will get back to you soon.

    #394929 Reply

    rzc1
    Participant

    Hello Swapna,

    did you find out anything yet?

    We finally found a way to reliable reproduce the problem. Here are the steps:

    * create a new Java project
    * create a new Pojo “Pojo1.java”
    * create a new JPanel-Form “Form1.form/java” with the Matisse Wizard
    * create a new JPanel-Form “Form2.form/java” with the Matisse Wizard
    * close all open tabs
    * goto “MyEclipse Enterprise Perspective”
    * open “Form1.form” from MyEclipse Explorer => switches to Matisse perspective
    * goto “MyEclipse Enterprise Perspective”
    * open “Pojo1.java” from MyEclipse Explorer (FOCUS MAY ALREADY JUMP TO “Form1.form”)
    * edit “Pojo1.java” and press CTRL-S to save (FOCUS JUMPS TO “Form1.form” on every save)

    Best regards
    Stefan

    Done with:
    MyEclipse Enterprise Workbench

    Version: 2015 Stable 2.0
    Build id: 13.0.0-20150518

    #394988 Reply

    support-swapna
    Moderator

    Stefan,

    Thank you for the steps. I have raised a bug for the dev team. I am afraid I cannot give you a timeline for the fix right now. I will keep you posted about the fix.

    Sorry for inconvenience caused.

    –Swapna
    MyEclipse Support

    #396279 Reply

    Brian Fernandes
    Moderator

    Stefan,

    This has been targeted as a high priority for CI 14, due next month. Again, thank you for your steps.

    #397874 Reply

    support-swapna
    Moderator

    Stefan,

    The fix for this issue is out with our latest release MyEclipse 2015 CI 14.

    –Swapna
    MyEclipse Support

    #398257 Reply

    Lofi
    Participant

    There are still focus problems. I didn’t have troubles with the saving with CI14, but it seems to me that it’s the same issue. When you e. g. are in a matisse class (java source and design tabs open in myeclipse/swing matisse view), you edit in source, press F3 to go to the source of another class, then a new tab opens with that class, the tab gets the focus and immediately after that the focus jumps back to the matisse form. It’s very annoying!

    • This reply was modified 9 years, 3 months ago by Lofi.
    #398265 Reply

    support-tony
    Keymaster

    Lofi,

    Many apologies for the incomplete fix. I’ve raised the problem again with development.

    I note that the problem doesn’t occur if there is already an open editor on the referenced class or if one opens the referenced class when in the Matisse perspective. Would it be possible for you you use the Matisse perspective when editing forms, to avoid the annoying focus change?

    #398338 Reply

    Lofi
    Participant

    Thank you Tony. This has been bothering everyone of our developers already in MyEclipse 2014. It’s very annoying to first have to think of things like “I have to this first, then that because the development environment has a bug” or “Damn, I opened it the wrong way, I have to close it all and open it again in a way the devenv understands it and navigate to where I’ve just been”, etc. It’s just a waste of everyones time and money. So a proper fix would be really appreciated. Thank you very much.

    #398339 Reply

    support-tony
    Keymaster

    I quite understand, Lofi. I guess we concentrated on the scenario that you’d outlined earlier, without trying other scenarios when testing the fix. If so, that was unacceptable, though it’s difficult to always figure out all of the scenarios as there are often so many ways to accomplish something.

    Sorry again for the inconvenience. I’ll be making sure this gets up the priority list for the next release.

    #452508 Reply

    Lofi
    Participant

    Is there an ETA on that fix? I’ve had to use Matisse quite a lot recently to train new members of our team and this bug is totally annoying and embarrassing to work with. That being said, is it also possible to have it fixed in ME2014?

    #452509 Reply

    support-tony
    Keymaster

    Lofi,

    It looks like that fix will be in the next CI release. Dates are always uncertain but it’s probably going to be the end of Sept/beginning of Oct.

    As for a 2014 fix, that doesn’t seem likely at this stage, I’m afraid.

    Sorry that this has been so protracted and for not providing a full fix last time.

    #452513 Reply

    Lofi
    Participant

    Better late and working 100% than sooner and not working. Thank you for the quick reply.

Viewing 15 posts - 1 through 15 (of 19 total)
Reply To: Focus switches to Matisse form tab when saving in other tab

You must be logged in to post in the forum log in