<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hello,<br>
    <br>
    Working with documents in standalone (floating windows) can be a
    little tricky because all the clickable actions (menu or toolbar)
    are attached to the main window.<br>
    <br>
    If the keyboard focus for the main Oxygen window (the place where
    the text cursor blinks) is within a document from that window (it
    usually is), <b>whenever you try to invoke a menu or toolbar action
      for a document from another window, you are also inadvertently
      switching the current document to the one from the main window.</b>
    As a result the action or view you want to use either becomes
    unavailable, if a different type of document gets selected, or you
    may accidentally apply it to the document from the main window
    instead.<br>
    <br>
    <b>You can check which is the current document in the title bar of
      the main Oxygen window. If that changes when you try to use a menu
      action, that explains the problem.</b><br>
    <br>
    Workarounds for this problem:<br>
    * set the focus (click once) for the main Oxygen window in a view
    (e.g. Scratch Buffer or Outline). You always have to check that the
    focus does not remain in a document from the main window.<br>
    or<br>
    * close (or detach) all documents from the main Oxygen window.<br>
    <br>
    <br>
    I'm not sure how we can improve this without disrupting other use
    cases. When you give focus to the main window (e.g. by clicking the
    toolbar or menu), Oxygen restores the focus to the region (document
    or view) where it was previously for that window. If the focus was
    left in a document, this also causes the current document (the one
    for which subsequent actions get applied) to be changed.<br>
    <br>
    Regards,<br>
    Adrian<br>
    <pre class="moz-signature" cols="72">Adrian Buza
oXygen XML Editor and Author Support</pre>
    <div class="moz-cite-prefix">On 13.09.2021 18:53, Karl Stubsjoen
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHL+Fe2XL_Oks2jJizi+Lr61rE9mm+DG3ejWNUsYZ_XF4tqtOQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I have been struggling with this for years.
        <div><br>
        </div>
        <div>When you drag any document into a new window, dialogs and
          menu options are no longer available.  For example, if I drag
          an Xml document from the main Oxygen window into a new
          standalone window and then try to use the menu option:
          DOCUMENT | SCHEMA | GENERATE/CONVERT SCHEMA; is not available.</div>
        <div><br>
        </div>
        <div>Also, things like the Outline view, the Quick Search,
          Transformation Scenarios, etc.. all of a sudden are not
          available for any document that is hosted in a standalone
          window.</div>
        <div><br>
        </div>
        <div>It becomes very difficult (to impossible) to use the app
          when you spread windows across your desktops.</div>
        <div><br>
        </div>
        <div>Is this a known issue and can this be fixed?  I'm a Windows
          user.</div>
        <div><br>
        </div>
        <div> <br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div style="font-family:arial;font-size:small">Karl
                  Stubsjoen<br>
                </div>
                <div style="font-family:arial;font-size:small"><span
                    title="Call with Google Voice"><span title="Call
                      with Google Voice"><a value="+16028450006"
                        style="color:rgb(17,85,204)"
                        moz-do-not-send="true">(602) 845-0006</a></span></span></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>