Focus issues with Qt on MacOSX

Hi
I'm developing a plugin which targets CS3, 4, 5 and 6. I choose Qt because of the deprecation of ADM. This plugin works well on Windows for each version of Illustrator. Now I"m testing it on MacOS X, I have some focus issues with all version of Illustrator.
For CS3, 4 and 5 I use the Carbon version of Qt and for CS6 I use the Cocoa version.
My main problem is when a widget (Qt GUI element) has the focus and if I press the backspace of the keyboard  to replace the current value, the current selected object in the document is deleted.
Moreover if I try to change the location of an object using the Controls tool bar of Illustrator, the value of the widget changes.
Did anyone encounter this kind of problems and solve them ?

Note that "AI Servo" focus has difference from "One Shot" focus mode with respect to what it does when you press the shutter button.
In "One Shot" mode, the camera uses "Focus Priority".  This means the camera will NOT take a shot if the lens is in auto-focus mode UNTIL it can confirm that it was able to achieve focus on your selected AF point (or on one AF point if you allow it to auto-select the AF point.)  In short:  achieving focus is more important than taking the shot at the exact moment you press the button.  Hence "focus priority"
In "AI Servo" mode, the camera uses "Release Priority".  This means that when you completely press the shutter button, the camera WILL take the shot immediately and it will do this whether it has had enough time to achieve focus... or not.    In short: capturing the shot at the exact moment you press the shutter button is more important than achieving focus.   Hence "release priority."
If you quickly press the shutter button to get a shot, the camera is going to shoot first and worry about focus later.  You've got to half-press the shutter to let the camera achieve focus before you fully-press the button.
Tim Campbell
5D II, 5D III, 60Da

Similar Messages

  • Focus issue with CardLayout (Java 2 SDK, Standard Edition 1.4.0_01)

    I am having an issue with focus and CardLayout with Java 2 SDK, Standard Edition 1.4.0_01. I have created a small sample application to illustrate my problem. In general, I am trying to create a "Wizard" that the user will enter information and then press a "Next" button to proceed to the next step.
    When the first card is displayed, the focus is on the first text field as expected.
    When I go to the next card by clicking "Next", the focus is not on the text field that has requested it (through the requestFocusInWindow method). The focus is on the "Cancel" button, which is the next component to receive focus after the "Next" button on that panel. I do notice that if I use my mouse to bring focus to the window the text field will gain focus.
    Similarly, when I proceed to the last card, the focus is not on the "Finish" button until the mouse moves over the window.
    Is there something I am doing wrong or is there a bug with focus and CardLayout?
    One other problem I have noticed is that the buttons no longer respond to the "Enter" key press and instead respond to the space bar. Any suggestions as to why this is the case?
    Thanks,
    S.L.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CardWindow extends JFrame implements ActionListener {
    public CardWindow() {       
    setTitle("Focus Problems with CardLayout");
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    cards = new JPanel();
    cardLayout = new CardLayout();
    cards.setLayout(cardLayout);
    cards.add(createFirstNamePanel(), "FirstNamePanel");
    cards.add(createLastNamePanel(), "LastNamePanel");
    cards.add(createFullNamePanel(), "FullNamePanel");
    getContentPane().add(cards,BorderLayout.CENTER);
    getContentPane().add(createButtonPanel(), BorderLayout.SOUTH);
    resetButtonPanel();
    pack();
    private JPanel createFirstNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your first name:");
    txtFirstName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtFirstName);
    return panel;
    private JPanel createLastNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your last name:");
    txtLastName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtLastName);
    return panel;
    private JPanel createFullNamePanel(){
    JPanel panel = new JPanel();
    lblFullName = new JLabel();
    resetTextOnFullNamePanel();
    panel.add(lblFullName);
    return panel;
    private JPanel createButtonPanel() {
    buttonPanel = new JPanel();
    btnPrevious = new JButton("< " + "Back");
    btnPrevious.setMnemonic('B');
    btnPrevious.addActionListener(this);
    btnNext = new JButton("Next" + " >");
    btnNext.setMnemonic('N');
    btnNext.addActionListener(this);
    btnCancel = new JButton("Cancel");
    btnCancel.setMnemonic('C');
    btnCancel.addActionListener(this);
    btnFinish = new JButton("Finish");
    btnFinish.setMnemonic('F');
    btnFinish.addActionListener(this);
    buttonPanel.add(btnPrevious);
    buttonPanel.add(btnNext);
    buttonPanel.add(btnCancel);
    buttonPanel.add(btnFinish);
    return buttonPanel;
    private void resetTextOnFullNamePanel(){
    lblFullName.setText("Your name is: " + getFirstName() + " " + getLastName());
    private void resetButtonPanel(){
    Component c[] = buttonPanel.getComponents();
    for(int i = 0; i < c.length; i++){
    c.setVisible(false);
    switch(iWizardStep){
    case FIRSTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case LASTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case FULLNAMEPANEL:
    btnFinish.setVisible(true);
    break;
    buttonPanel.validate();
    public void actionPerformed(ActionEvent e) {
    Object object = e.getSource();
    if (object == btnNext) {           
    btnNextPressed();
    } else if (object == btnPrevious) {           
    btnPreviousPressed();
    } else if (object == btnFinish) {
    System.exit(0);
    } else if (object == btnCancel) {
    System.exit(0);
    private void btnNextPressed() {       
    switch (iWizardStep) {
    case FIRSTNAMEPANEL:
    setFirstName(txtFirstName.getText());
    break;
    case LASTNAMEPANEL:
    setLastName(txtLastName.getText());
    resetTextOnFullNamePanel();
    break;
    iWizardStep++;
    resetButtonPanel();
    this.cardLayout.next(this.cards);
    switch (iWizardStep) {             
    case LASTNAMEPANEL:
    txtLastName.requestFocusInWindow();
    break;
    case FULLNAMEPANEL:
    btnFinish.requestFocusInWindow();
    break;
    private void btnPreviousPressed() {
    iWizardStep--;
    resetButtonPanel();
    this.cardLayout.previous(this.cards);
    public void setFirstName(String value) {
    firstName = value;
    public String getFirstName() {
    return firstName;
    public void setLastName(String value) {
    lastName = value;
    public String getLastName() {
    return lastName;
    public static void main (String[] args) {
    CardWindow c = new CardWindow();
    c.show();
    private CardLayout cardLayout;
    private JPanel cards, buttonPanel;
    private JTextField txtLastName, txtFirstName;
    private JLabel lblFullName;
    private JButton btnNext, btnPrevious, btnCancel, btnFinish;
    private String firstName = "";
    private String lastName = "";
    private int iWizardStep = 0;
    private static final int FIRSTNAMEPANEL = 0;
    private static final int LASTNAMEPANEL = 1;
    private static final int FULLNAMEPANEL = 2;

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

  • RDS Focus issue with Windows 8.1

    This is quite infuriating. I never post on here, so for me to be doing so, trust me, is basically as a last resort. I work for a s/w company, and we have two options w the app- local installation, or cloud, utilizing RDS. Our work database is (obviously)
    on the cloud, so I can firsthand feel our customers pain. 
    Once the RDS session is opened, whether its minimized or not, no matter what you are doing or where you're navigating, after so much time elapses, it steals focus, and i end up half the time inadvertantly overwriting customer info because the cursor shifts
    over, you get the idea. 
    I researched this for a LONG time. I cannot for the life of me find a fix. I changed the registry key for the foregroundlocktimeout to 30d40 hex, and still no love. Does anyone have ANY other suggestions? Its really making life difficult, but the conundrum
    is I HAVE to have it open at all times. Thoughts?

    I have exactly the same issue
    It has been the same since i installed Win 8.1. just to summarise - very simple
    When any Remote Desktop Services (RDS) is active it will assume focus every 60-90 seconds. ie
     reboot computer,
    launch browser,
    go to RDS URL an login,
    open ANY application (word, excel, Explorere, IE... any of 30 on the server) - so lets say Excel
    launch a local app - ANY - say IE, or word or explorer
    and within 1 minute while typing in Word - the RDS excel will be in focus and you will be typing into it...
    I concur with the OTownMarine above - all the basic fixes have been done, removing  KB2919355
    & KB2959977 - caused the same issue as described
    THis is not any other service or application except RDS
     - TAKING focus
    I do not want to do any more basic testing - but am happy
    to do checks or try things that are SPECIFIC to this issue as it is extremely frustrating. However having said this - it would take some one less than 15 mins to test when they apply their mind

  • Tab focus issue with 2 popups open

    Hi!
    I've just got a nasty problem with 2 popups and a tab focus.
    First poup automatically opens second popup and if you press TAB
    key focus goes to the first popup window - underneath the top one.
    As a matter of fact - if you open the second popup by
    clicking on the button in the first window - no problem. It happens
    only if the first window opens second via AS.
    I've found on the internet the following
    article:
    But my joy was premature - this piece code:
    quote:
    SystemManager.activate( popup );
    is simply uncompilable. I tried other methods, like:
    this.systemManager.activate(this);
    without any luck.
    Does anybody know the solution to this problem?
    Thanks in advance!
    Cheers,
    Dmitri.

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

  • Focus issues with tables

    I wonder if anyone can help me - I'm trying to migrate our java product from JDK 1.3 to 1.5. Everything works fine except the focus models have changed (FYI the product runs mainly on Windows).
    The most thorny problem is that a table component (we use a KLGroup JClass table version 1.3, which is Swing based, and the cell editor is also a Swing component), which gains keyboard focus quite happily in 1.3 when you click in it, now requires two mouse clicks to gain focus.
    I was also able in 1.3 to press tab and move from one cell to another, and keyboard focus would be retained, but in 1.4 and 1.5 it no longer does this.
    Can anyone give me any pointers as to where to start looking? Is there just some new focusHandling property which I need to set to true rather than false?
    Any ways forward would be greatly appreciated.
    Thanks

    Has anyone found a solution to this issue?

  • Focus issue with pdf adodbe plugin display in html page

    Hi,
    I have an iframe in my ordinary html document which load a pdf file. When I load this iframe, focus is on the pdf-document and I can scroll it.
    But I don't want the focus on the pdf-document but on my html page. When I scroll I want that my html page scrolls.
    I think that the plug-in adobe takes the focus and I can't take it after pdf file loaded. I try to take focus with javascript but it doesn't work.
    Is there anyway to put the focus on my html page ?
    Thanks for you help.
    Regards.
    Marie

    I have not tested this in IE 6, but just so you know, The
    embed tag for a pdf will work for all browsers including IE7 except
    Opera.
    Ex. for a 800px x 100px header....
    <embed src="example.pdf" width="800px"
    height="110px"></embed>
    In Acrobat 8 select file>properties (shortcut ctrl-d)
    Select initial view, then check hide menu, hide toolbars, hide
    window controls. For magnification select fit width.
    The above example will still show a small background border
    which I could not get rid of, but may still work for you.
    Silk

  • Java Dialog focus issue with Mac OS X 10.4 (Mac OS X 10.3 is fine)

    Hi,
    I am trying this sample applet on 2 different Mac OS X's
    1) Mac OS X 10.3.9
    Safari 1.3.2 (v312.6)
    JVM - 1.4.2_09
    Here whenever the Browser, running the Applet comes on Top, the
    Dialog also comes on Top i.e. if the dialog is hidden behind some window
    & I click on the browser running the applet, the Dialog(showing "Hello",
    "OK")
    also becomes uncovered/visible.
    2) Mac OS X 10.4.5
    Safari 2.0.3 (v417.8)
    JVM - 1.4.2_09
    Here clicking on the Browser doesn't make the Dialog Visible.
    As per the Java Docs, I think the Behaviour on OS X 10.3.9 is the
    correct behaviour.
    Is there a way to have that behaviour on OS X 10.4 - any workarounds,
    anything I can do so that the dialog doesn't get hidden.
    I cannot make the dialog modal.
    Given below is the Applet source.
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    public class MyTest extends Applet implements ActionListener {
    private Button b;
    private Dialog myDialog;
    public void init() {
    b = new Button("Press me");
    b.addActionListener(this);
    add(b);
    show();
    private Frame findFrame(Component c) {
    for (; c != null; c = c.getParent()) {
    if (c instanceof Frame) return (Frame) c;
    return null;
    public void actionPerformed(ActionEvent e) {
    if ( e.getSource() == b ) {
    showDlg();
    public void showDlg()
    if(myDialog == null) {
    // Set The Applet as owner
    Frame f = findFrame(this);
    if(f != null) {
    System.out.println("Found Frame");
    myDialog = new Dialog(f, false);
    myDialog.add(new Label("Hello ") , BorderLayout.NORTH);
    myDialog.add(new Button("OK"), BorderLayout.SOUTH);
    myDialog.pack();
    myDialog.show();
    Mac Mini   Mac OS X (10.4.6)  

    I used SBC DSL for a bit with my eMac on Panther without a hitch.
    It is not that the service will not work, but their bundled software will not - not that you need it anyway.

  • X11 focus issues with leopard

    I've not seen this issue on my laptop which runs 10.4, enabling or disabling spaces doesn't seem to help either. I'm pretty new to OS/X - but been using X for nearly 20 years
    I've checked that all my s/w is up to date.
    1/ remote xterm: when clicking to select text, the text selected has no relationship to where
    the mouse is pointing. This is the most serious issue as I can't think of a work-around.
    2/ clicking on an xterm often brings another one to the front, this is bizzare but one can workaround it by selecting the desired window from the status bar menu.

    I'm suspecting this is related to ForwardX11Trusted option in ssh.
    My .ssh/config had it set, but explicitly adding -X and -Y etc to ssh command seemed to make things behave better.

  • FOCUS issues with JDK 1.4

    Just developed my first application in JDK 1.3, i explicitly direct the focus of my fields to some other fields / panels etc , the application is not working as expected in 1.4.
    does everyone else have the same problem

    Just developed my first application in JDK 1.3, i
    explicitly direct the focus of my fields to some other
    fields / panels etc , the application is not working
    as expected in 1.4.
    does everyone else have the same problemNormally it shud not happen , as most of methods/code which are in 1.3
    are usually in 1.4 too .But can u be a bit more specific.

  • Is there a fix for 5d ii focus issue

    Hello,  I just purchased the 5Dii used but the owner said the camera was working perfectly. I notice that when I take photos the photos do not look sharp. I am shooting in raw and using fast enough settings that they should be sharp. I tried different lenses and a tripod still same results when viewed at 100%. So I have been reading about the 5d ii having focus issues and was wondering if there is a fix to this problem? Also, I read that with 21 mp the photos won't look sharp in the view finder or when viewed at 100% has anyone else heard this?  Any suggestions would be helpful. I am thinking I need to return the item which is a shame, I was so excited to get the 5d ii and very disappointed to be having this issue.  

    I don't suggest using the viewfinder to judge quality of photos -- it's too small.  
    There are no focus "issues" with a 5D II -- it's an excellent camera.  It doesn't have the advanced focus system of the 5D III but if the focus points on your 5D II tell you that something is correctly focused then it should be correctly focused.
    There are NUMEROUS things that can cause problems (none of which are defects.)
    1)  If you allow the camera to auto-select it's focus point, remember that the camera will always pick the focus point which can lock focus at the closest focusing distance.  Suppose you're taking a photo of someone's face, but on the side of the frame there's a bush -- and that push is in far enough that one of the focus points is on the bush.  The camera will focus on the bush and NOT on your subject's face.  Usually you will want the camera to focus on the nearest subject, but when shooting shots with distracting elements in the frame which are closer then your intended subject, you need to pick the focus point you want the camera to use rather than allow it to auto-select the point.
    2)  If focusing at a particularly low focal ratio (especially at close distances) the depth of field can get REALLY thin.  If you want focus on your subject's eyes -- you will need to carefully position the focus point and lock focus on your subject's eyes -- otherwise you may end up getting a focus lock on their nose (as an example) and the eyes will be slightly soft.
    3)  In the default "one shot" mode, the camera will focus prior to taking the shot.  When focus lock is achieved the camera will stop adjusting focus.  If either you or your subject move after that point, the camera will NOT re-adjust -- you'll get  a soft shot.  With moderate f-stops usually a small movement wont change focus distance enough to matter -- this is mostly an issue at shallow f-stops.  But if shooting action where you KNOW your subject is moving and focus distance is changing, you need to use the "AI Servo" mode which continuosly updates focus.
    4)  Your 5D II allows you to adjust the focus accuracy of a lens.  Some lenses will routinely focus just slightly in front or behind your intended focus distance.  When you detect that you have a lens that does this, the camera can compensate.  This adjustment requires that you set up an accurate focus test to determine if an adjustment is needed and how much.  Do not attempt to make an adjustment by using regular every-day shots... use a carefully controlled focus target, tripod, etc.  There's a procedure for doing this.
    5)  If you suspect inaccuracy with focus points (and you really need to be careful to use controlled circumstances before arriving at such a conclusion) you can test by switching to "live view" mode to see if you get different results.  Live view mode does not use the phase-detect auto-focus points... it uses contrast-detection focus instead.  Contrast detection is slower but in theory should be able to provide more accurate focus as long as you have a subject with some decent contrast.  If live view is consistently outperforming the standard phase-detect AF mode then you may need to perform focus adjustment on your camera (this is specific to each lens you own... this is because each lens can behave differently.)
    Lastly... your camera records which AF points were used when it takes a photo.  This data can be displayed IF you use the Canon EOS Utility (which should have come with your camera).  It'll put the familiar focus array overlaying your photo and highlight the active point(s).  Just be aware that if you did a "focus and recompose" that the camera is going to report which focus point was used to lock focus but wouldn't know you recomposed the shot.  If you're not recomposing and your subject distance wasn't changing then the utility should be accurate.
    Incidentally, Apple's "Aperture" software also allows you to view the Canon focus point data.  As far as I'm aware, this is not available in Lightroom or Photoshop.
    Tim Campbell
    5D II, 5D III, 60Da

  • Swing Applet - Internet Explorer - Focus issue - tool tips

    Hi ,
    We are using Swing applet in IE Browser , except this swing component rest of the components in the browser are HTML/DHTML components.
    and we are having issue focus issue with this swing components ,
    once immediately after launching the swing applet , the UI components are having some focus issue , if I bring the mouse on top of the swing UI components , we couldn't able to see the tooltips(flyover text) of those Swing UI components.
    However if we click some where on the Swing applet frame , we are able to see these tooltips(flyover text) .
    It looks like a kind of compatibility issue between swing and IE browser .
    I am trying to find a solution for this issue , so that once after launching the applet , tooltips will work without need to click on the applet bar.
    Can somebody share some thoughts on this issue??
    Thanks,
    Bonthu.

    As a wild guess you are mixing Swing and awt components which is a big no-no and among other things can cause repainting, refreshing issues.
    If you want more help then that you need to post some code that shows us what you are doing.

  • Camera focus issues

    Hey everyone, does any of you experience focus issues with the xperia z3c while shooting timelapse videos??? I have come across focus issues with my z3c, which causes the rendered timelapse to have a shaky or jittery effect which is really bad. I have never experienced this problem with my old xperia zr, and so i am really disappointed with this z3c in this aspect. Below is a YouTube link which shows what i am trying to emphasize. In the clip you can see the video looks very shaky and jittery because the camera is not focused properly when the photos were taken. Is this a hardware problem or can it be fixed with a software update? https://youtu.be/z9nuOWMvh8w

    @dubby
    is this the app?
    https://play.google.com/store/apps/details?id=com.sukros.timelapse&hl=en
    if it is, you will have to contact the app developer, Sukros, regarding this issue.
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • 5d mark 1 focus issues

    i am having critical focus issues with my eos 5d mark 1 in soft light without contrast.  i have the problem with all of my l series lenses.  i get a confirmation beep with the autofocus when the square i have enabled gets focus lock; however, the resluting photograph is focused at least 1-2 feet in back of where it should be.  is it possible that my mirror is out of alignment?  has anyone else had this problem?

    Have you tried using just the single center AF point in those conditions? That's the way most seem to get the best results on the forums I read. (any it applies to most Canon bodies up to the D3 / 1Dx.). I rarely shoot in low light so can't say how my cameras do, but I read a lot of messages asking for a better AF in the next  generation of whatever body they have.
    "A skill is developed through constant practice with a passion to improve, not bought."

  • 70d focus issue - admins answers please.

    Will you admit that lot of 70d suffering focus issues?
    Will you fix it by firmware update? Recall?
    It's a big shame that everybody on the net speak about it and waste 1000 dollars and you just ignore us!!
    I would like to get some answers please.
    Thank you.

    I have the same issue. It's odd, I've had the 70d since November-ish. I used to be a '2nd shooter' at weddings w/ just my olf Nikon d5100 & a 50mm 1.8 for portraits, and the kit lens for wides. Total N00b. .I started getting a grasp of things, and my wedding partner decided to double-book a bunch fo weddings. Since he was a Canon user, and I was looking for an upgrade to the 5100, I switched to canon & bought a 70D. Since then he's complained about focus issues, blaming me, and since i'm newer to this gig, took it to heart and assumed it was me. I have a steady hand, and believe to not be any kind of user error - I know how to shoot. 
    Today I discovered the 50+ pages of forum complaints on http://photography-on-the.net/forum/showthread.php?t=1354075 & the Canon forums http://forums.usa.canon.com/t5/EOS/When-will-canon-fix-the-focus-issues-with-the-70D/td-p/79330/page... - to find out that it might have been the camera all along? I just told the guy to screw off this weekend and quit because obviously I wasn't the photographer he needed... This focus problem hasn't been confirmed for me this week, but shooting w/ Tamron 17-50 2.8 & canon f4L 24-105, sure seems like theyr'e in the range of speculation here... 
    Will there be an update/recall to fix this?
    Today I stumbled across a video (from the canon forums link) showing two photographers describing their issue w/ live view vs viewfinder view, and focusins on the center focal point for lenses 1.4-4.0... this sounds a LOT like my issue and am praying I can find an answer to this without having to call canon and RMA it. 

  • Are there any known issues with focus stacking or auto align causing PS to stop responding?

    Are there any known issues with focus stacking or auto align causing PS to stop responding?

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for