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.

Similar Messages

  • SSL communication issue with JDK 1.6.0_19

    Hi,
    I am facing issue with JDK 1.6.0_19. I have a Java client which communicate with the Server in SSL communication.so, It is able to communicate properly with the JDK <=1.6.0_18 version.But I got handling exception: javax.net.ssl.SSLException: HelloRequest followed by an unexpected  handshake message exception when the client is trying to communicate with the server in JDK 1.6.0_19.
    We are using mutual authentication.The client and the server both have the signed certificate.The client certificate has to be validated by the server to establish the connection.
    I have seen in forum that it is a renegotiation issue.So, if I enable the renegotiation flag by -Dsun.security.ssl.allowUnsafeRenegotiation=true it's working fine.But enabling renegotiation itself is a vulnerability.So, I can't enable renegotiation.
    I am using httpclient 4.0 and JSSE in client side and IIS in the server side for this SSL connection.
    I am not sure which side client or server initiating the renegotiation?
    Please help me out.
    I have tried Openssl command from console.
    The command is : openssl s_client -connect X.X.X:443 -CAfile "xxxxx" -cert "xxxxxxxx" -key "xxxxxxxxxx" -state -verify 20 here is the output:
    Loading 'screen' into random state - done
    CONNECTED(00000748)
    SSL_connect:before/connect initialization
    SSL_connect:SSLv2/v3 write client hello A
    SSL_connect:SSLv3 read server hello A
    xxxxxxxxxxx.................
    verify return:1
    xxxxxxxxxxx.................
    verify return:1
    SSL_connect:SSLv3 read server certificate A
    SSL_connect:SSLv3 read server done A
    SSL_connect:SSLv3 write client key exchange A
    SSL_connect:SSLv3 write change cipher spec A
    SSL_connect:SSLv3 write finished A
    SSL_connect:SSLv3 flush data
    SSL_connect:SSLv3 read finished A
    Certificate chain
    xxxxxxxxxxx.................
    Server certificate
    -----BEGIN CERTIFICATE-----
    xxxxxxxxxxx.................
    -----END CERTIFICATE-----
    xxxxxxxxxxx.................
    No client certificate CA names sent
    SSL handshake has read 1839 bytes and written 392 bytes
    New, TLSv1/SSLv3, Cipher is RC4-MD5
    Server public key is 1024 bit
    Secure Renegotiation IS NOT supported
    Compression: NONE
    Expansion: NONE
    SSL-Session:
        Protocol  : TLSv1
        Cipher    : RC4-MD5
        Session-ID: xxxxxxxxxxx
        Session-ID-ctx:
        Master-Key: xxxxxxxxxxx
        Key-Arg   : None
        PSK identity: None
        PSK identity hint: None
        Start Time: 1275564626
        Timeout   : 300 (sec)
        Verify return code: 0 (ok)
    read:errno=10054If you see the console output you can see that two statement is missing those are :
    SSL_connect:SSLv3 read server certificate request A
    SSL_connect:SSLv3 write client certificate ASo, I like to know if this is any clue which is asking for renegotiation.

    Thank you for your response.
    Yes I have set the particular proerty SSLAlwaysNegoClientCert to True and it is able to establish the ssl conneciton without initiating renegotiation from IIS server side.The property has to be set the metabase.xml file.
    Thank you very much once again.
    Edited by: arpitak on Jun 23, 2010 2:10 AM

  • 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

  • BC4J temporary focus problem with JDK 1.4.2

    Hello all,
    we have got a tricky problem with BC4J (Oracle JDeveloper 9.0.3.2)
    using the JDK 1.4.2 (Sun):
    There is a JFrame with a JMenuBar, containing a BC4J data panel with the controls on it.
    Now if one enters a value in a control and now directy clicks on the JMenuBar, the control
    gets a focusLost event but is not validated through BC4J and not set to the model.
    If a commit would be called from the menue the entered data is lost !
    In case of the JDK 1.3.1_02, which comes with the JDeveloper, everything works fine: after
    the focusLost event, the data is validated and set to the model.
    We have investigated the problem more deeper. The difference between
    the 1.4 and 1.3 is, that the 1.4 creates a temporary FocusEvent and the 1.3 not.
    We stepped up the stack into the Method oracle.jbo.uicli.jui.JUSVUpdateableFocusAdapter.focusLost:
    the temporary focusEvent causes this method to return and to do nothing:
    * Performs a setAttribute() on the control binding to save the changes made by
    * the control to the attribute value.
    public void focusLost(FocusEvent e)
    if (e.isTemporary())
    return;
    JUCtrlAttrsBinding binding = (JUCtrlAttrsBinding)mAttrBinding;
    I think it is a general problem with 1.4, because many things dealing with focus
    have been expaned and changed.
    Is this a bug or should BC4J not be used with 1.4 ?
    Greetings

    9.0.3.2 is not tested with JDK 1.4, so issues like this are not a surprise.
    However we will test this with our current development branch (which is being tested on JDK 1.4x) and verify if the behavior is reproducible.

  • 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.

  • Class loading issue with JDK 1.5

    I have recently loaded JDK 1.5 on a laptop that previously had version 1.3. The java code I need to run stopped working and I getget a java.lang.NoClassDefFoundError. I am logging the classpath and I see the jar file with the offending class is there.
    I checked my pathing even, since I know java will have a problem with slashes at the beginning of the path when it is called via command line. But all my pathing is absolute.
    In the code, I am using C to start up the JVM and then use JNI to communicate between java and C. Because of this complexity, I have searched the forums for problems with JNI and JDK 1.5. I found a case where turning off the JIT compilation kept the JVM from crashing for some users having issues with 1.5, but this approach did not work for me. Not too surprising, though, since this is really a classloading issue.
    Where do I go next? Anyone else having this problem?

    [http://java.sun.com/javase/6/docs/technotes/guides/security/SunProviders.html]
    Reminder: Cryptographic implementations in the Sun JDK are distributed through several different providers
    ("Sun", "SunJSSE", "SunJCE", "SunRsaSign")
    for both historical reasons and by the types of services provided.
    General purpose applications SHOULD NOT request cryptographic services from specific providers. That is:
        getInstance("...", "SunJCE");  // not recommended
         vs.
        getInstance("...");            // recommended
    Otherwise, applications are tied to specific providers which may not be available on other Java implementations.
    They also might not be able to take advantage of available optimized providers (for example, hardware
    accelerators via PKCS11 or native OS implementations such as Microsoft's MSCAPI) that have a
    higher preference order than the specific requested provider.

  • Compatibility issues with JDK 1.6 Beta2

    I have a program that stores objects in JE. We are currently using JDK1.5.0_07 and works quite well for our purpose. Using JDK 1.6 Beta2 resulted in silent incompatibilities. Though items are committed into the database, 0000000.jdb never grow more than 2KB in size (we have about 1000 records, usually taking up to 450KB in size). Closing the environment causes exceptions. Has anyone tested with JDK 6 yet?

    We know of one Java 1.6 Beta issue resulting from a change in TreeSet, but it didn't cause the sort of problem you describe. We heard the following report from several users a few months ago about a new, transient exception seen from the log cleaner when running against 1.6. Although we added a simple check for nullness to JE to avoid the problem, I believe the TreeSet behavior was backed out of Java 1.6.
    We haven't done extensive testing with Java 1.6, but we did run some tests sometime in the spring, and didn't notice any issues then. We know that some folks are at least trying 1.6 -- hopefully they can speak of their experience?
    Here's the TreeSet issue as reported to us, and which we fixed in our current code line ...
    In JDK1.6, the behavior of TreeSet changed slightly. Calling
    TreeSet.remove(null) now throws a NullPointerException. When running
    BDB-JE 3.0.12 and JDK 1.6 build 90, the cleaner logs these errors:
    <Cleaner name="Cleaner-1"/> caught exception: java.lang.NullPointerException java.lang.NullPointerException
    at java.util.TreeMap.getEntry(TreeMap.java:324)
    at java.util.TreeMap.remove(TreeMap.java:580)
    at java.util.TreeSet.remove(TreeSet.java:259)
    at com.sleepycat.je.cleaner.FileSelector.selectFileForCleaning(FileSelector.java:236)
    at
    com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:201)
    at
    com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:143)
    at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:189)
    at java.lang.Thread.run(Thread.java:619)
    Continuing
    Here is the bug report requesting the change to TreeSet:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147
    Is there the possibility that your application is hiding some exceptions? You say you see exceptions at Environment.close() time -- what are they? You may want to try the com.sleepycat.je.util.DbPrintLog utility (on a small log file) to see if there are any exception messages stored at the end of the log.
    Regards,
    Linda

  • 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

  • Java Core Dump Issue with jdk 1.4.1

    I have an application which is run as a batch process. it handles data ranging from 100 thousand to 3 million. This process was running without any problem with jdk1.3 , but with 1.4.1 i am not able to finish this process , it generates core dump every time and the process stops. The process is asyncronus , it spons two threads to do the processing. Is there any way to handle this ?

    JDK 1.4.1 is not supported anymore by Sun. See also http://java.sun.com/products/archive/
    "... These products are down-revision products that may have various bugs, Y2000, and possibly security issues associated with them. Sun in no way recommends these products be used in a live, production environment ..."
    Try the latest 1.4.2 release. Go to http://java.sun.com/j2se/1.4.2/download.html or even better, try 5.0 at http://java.sun.com/j2se/1.5.0/download.jsp
    -jonelo

  • 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?

  • 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 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.

  • 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

Maybe you are looking for