EA1 - Script output loses focus

Hello out there,
when starting a query in script mode and then trying to copy a word into the clipboard via doubleclick and CTRL-C, not the word I clicked on is copied but something form the worksheet above.
When I just left click into the script output, the focus jumps back into the worksheet.
Marking some text with the mouse lets stay the focus in the script output though...
I'm using SQL Developer 4.0.0.12.27 with JDK 1.7.0_25 64bit on Windows 7 64bit. (With german localization for both SQLD and Windows, if that matters)
Regards,
dhalek

It's a bug! Thanks for reporting this.

Similar Messages

  • EA3/EA2/EA1 - Script output when creating/altering objects

    Another picky post :)
    I noticed something odd with the script output when altering objects as part of running a script (F5). When running an alter command with more than a two separating characters (ie space, tab or new line) between any of the alter, object type or object name, the object name is not reported in the script output. However, when there is only a single separating character, the object name is reported in the script output. If I have three separating characters between the alter and the object type, the object type isn't reported in the script output either.
    For example:
    alter view  my_view compile;
    alter  view my_view compile;
    alter view my_view compile;
    alter   view my_view compile;Generates the following in script output:
    alter view  succeeded.
    alter  view succeeded.
    alter view my_view succeeded.
    alter   succeeded.When running the first three of these as a statement (F9), the status line shows "alter view Statement Processed". When running the last one, we only get "alter Statement Processed".

    Also noticed that there is a similar problem with create statements, for example:
    create or replace force view my_view as select * from dual;
    create  or replace force view my_view as select * from dual;
    create or  replace force view my_view as select * from dual;
    create or replace  force view my_view as select * from dual;
    create or replace force  view my_view as select * from dual;
    create or replace view my_view as select * from dual;
    create  or replace view my_view as select * from dual;
    create or  replace view my_view as select * from dual;
    create or replace  view my_view as select * from dual;Generates the following script output:
    create or replace force succeeded.
    create  succeeded.
    create or succeeded.
    create or replace  succeeded.
    create or replace force succeeded.
    create or replace view succeeded.
    create  succeeded.
    create or succeeded.
    create or replace  succeeded.Note that in this case the feedback on the status line when running each of these as a statement matches the script output (except succeeded is replaced by Statement Processed).

  • Bug? 4.0 EA1 Can't select all in Script Output window

    This seems to be a small bug. Open a worksheet and enter any query. Run as a script (F5) and the output appears in the Script Output window. Click in the Script Output window to give it focus and type Ctrl-A to select all the output. The text selected is actually the contents of the worksheet, not the output. Right-clicking in the Script Output window also has no effect. It looks like the Script Output window can't actually gain focus?
    This is a bit trivial, but was annoying when I was trying to move some data over to Excel using a /*csv*/ type query.

    for tracking this is logged as bug 17164225
    B

  • EA1 - DBMS_OUTPUT prints to Script Output window

    All,
    I saw another post about the window switching from the DBMS Output window to the script window after a script is executed (I don't like that either), but this is different.
    My DBMS Output is being output to the Script Output window.
    Example:
    begin
       dbms_output.put_line('Hello World');
    end;Yields (in Script Output):
    anonymous block completed
    Hello WorldDan
    Modified Subject
    Message was edited by:
    dmcghan

    This is definitely a change from 1.2.1.31.12, where even running as a script the DBMS Output was displayed on the DBMS Output tab.
    However, while this makes DBMS Output inconsistent (where it appears depends on how you run it) it does make scripts that produce DBMS Output and other output consistent (all output goes to script output).
    For example, if you were writing scripts like the following (assuming the PL/SQL generates DBMS Output), the output will now be consistent:
    select count('x') records from my_interface;
    begin
    process_my_interface;
    end;
    select count('x') records from my_interface;
    With the way the DBMS Output and Script Output tabs are set up now, either DBMS Output or Script Output has to be inconsistent when in comes to displaying DBMS Output. I think that the way 1.5 EA1 works is inconsistent in a more manageable way (largely because reconstructing a single stream of output from more complex cases of the example above would be difficult).

  • JS CS3: ScriptUI - window and panel loses focus on Mac

    Hi,
    Have made a script to export selected textframes as text files.
    When the script runs on a PC the script window stays in front of the document as intended.
    Much to my surprise this is not the case on Mac, On Mac the script loses focus and goes behind the document.
    Is this a bug or is there a workaround?
    Using the folowing to create/start the UI.
    var win = new Window( "window", "Text Exporter" );
    win.myPanel = win.add("panel");
    with(win){
        win.Pnl = add('panel', undefined, 'Textframes for export');
        win.Pnl.orientation = 'column';

    Something is wrong.
    That's not the behavior that I see using palettes.
    The only way I can get a palette to become inactive is by switching to 
    a different document window. Even when it becomes inactive (greyed 
    out), it does not require extra clicks...
    If you want to activate it programatically, it's win.active = true.
    Harbs

  • When does a selection in a text field in a Finder window lose focus?

    Hello,
    this problem has emerged on account of an Applescript file that needs to access a text selection (portion of a filename highlighted) in an open Finder window.
    The bare minimum code to demonstrate the problem is this:
    *tell application "System Events"*
    * *tell process "Finder"*
    * *set selText to value of attribute "AXSelectedText" of text field 1*
    * *end tell*
    *end tell*
    other variants also exist, using "keystroke" but that does not work either. I am not asking help with Applescript here, it is here only to give a sense of the problem.
    My conclusion thus far is that the selection lose focus before the script process can access it. In the best case I get the full filename by using "attribute" and copy of the alias onto the clipboard by using "keystroke".
    So my problem is this:
    It seems that the focus stays alive when one clicks on a menubar item, any click on any other item on the desktop, including windows of irrelevant applications, changes the focus from the selection within the text field corresponding to a filename, to the filename itself.
    And my question is this:
    Is there a changeable setting within the OS that has to do with how long the focus stays alive on a selection within a text field corresponding to a filename? If yes, how do I change it?
    Thanks

    baltwo wrote:
    Thanks for clarifying. Never heard it called a text field, just a label. So, exactly what are you trying to accomplish? Is it that you want AS to select the file, highlight its label so you can edit/change it with some other text? If so, have you checked out the Finder scripts installed on the machine, especially the Finder script *Add to Finder Names*?
    UI Element Inspector calls the activated/editable filename a text field.
    Actually I want to modify one of the stock Finder scripts. I want to be able to select part of the file name in the active text field of the Finder window, then activate the script, *have the script pick up the selection* as a text string then use it internally.
    The bolded step is the one in question.
    Every attempt fails on the fact that the focus is lost from the "text field" and it reverts to the label for the filename, if I may use this distinction, (or to "FinderItem" in the parlance of UIEI) as soon as another process begins, it seems. So when the script becomes active, but before any of the commands is executed, the selection disappears.
    My guess is that it is not some absolute necessity but a setting that perhaps can be changed somehow.

  • Xkbmap option gets reset everytime X loses focus

    Hello,
    Since my last update (2015/02/05), the xkb option
    caps:swapescape
    gets removed everytime X server loses focus. By "lose focus", I mean switching to virtual console, triggering sleep, triggering suspend, etc.
    EDIT: This situation changed. Suspend and sleep no longer drops swapescape. Only virtual console drops it.
    Here is the output of setxkbmap -query before and after jumping to virtual console (ctrl+alt+f2):
    [22:52:57 ~]$ setxkbmap -query
    rules: evdev
    model: pc104
    layout: ca,us
    variant: multi,
    options: caps:swapescape,numpad:microsoft
    [22:53:00 ~]$ setxkbmap -query
    rules: evdev
    model: pc104
    layout: ca,us
    variant: multi,
    options: numpad:microsoft
    [22:53:05 ~]$
    The swapescape option got dropped. Another option I tried was to run:
    [22:53:05 ~]$ cat .speedswapper
    ! Swap caps lock and escape
    remove Lock = Caps_Lock
    keysym Escape = Caps_Lock
    keysym Caps_Lock = Escape
    add Lock = Caps_Lock
    [22:53:05 ~]$ xmodmap ~/.speedswapper
    While this successfully swaps esc and caps,  it does not stick (switching to console reverts the change)
    I'm not exactly sure how I could fix that. Is there a way I can execute some code every time X unhangs? Is there a way to punch in the esc <-> caps flip in the XKB layout map?
    Extra info:
    this is my .xinitrc file:
    setxkbmap -layout ca -variant multi -option caps:swapescape -option numpad:microsoft
    After boot, the caps:swapescape is not enables. A quick
    setxkbmap -option caps:swapescape
    applies the option.
    EDIT: This situation changed. Suspend and sleep no longer drops swapescape. Only going to virtual console drops it.
    Last edited by morphheus (2015-02-06 21:03:39)

    No success with the X config file: the appropriate keyboard loads, but not the swapescape option.
    I use an X config file to swap ctrl and caps. Are you sure you're doing it right?
    $ ls /etc/X11/xorg.conf.d/
    00-keyboard.conf 20-nouveau.conf 30-fonts.conf
    $ cat /etc/X11/xorg.conf.d/00-keyboard.conf
    # Read and parsed by systemd-localed. It's probably wise not to edit this file
    # manually too freely.
    Section "InputClass"
    Identifier "system-keyboard"
    Driver "evdev"
    Option "XkbLayout" "carpalx"
    Option "XkbOptions" "ctrl:swapcaps"
    EndSection
    The swapescape still gets cleared on switching to Virtual console.
    Presumably you're falling back to however you were doing it before, so it's no surprise it still gets cleared right?
    As to workarounds, I think your best option is to figure out why the right solution is not working. 1) may be more complicated than you expect; 2) definitely won't work; 3) a lot of time & effort for little reward.

  • Long lines corupt script output

    When SQL run as Script (F5) produces too long lines any Script Output gets blank. Text is there in tab Script Output and I can copy and past it but I can't see it.
    What setting could affect this?
    --This SQL is working fine
    select rpad('Test1',4000), rpad(' ',996) from dual;
    --and this sql output is white on white:
    select rpad('Test2',4000), rpad(' ',997) from dual;
    Adam Dziurda
    PS. Affected version Oracle SQL Developer Version 4.0.0.12.27 (aka 4.0 EA1)

    Yes, I see that. I've logged bug 17218146 for it.
    Thanks
    Barry

  • Bug? InDesign CC/CC2014 loses focus when closing ScriptUI dialog window

    When closing a "dialog" type window, created using ScriptUI from Extendscript, InDesign will lose focus as "active application" in Windows (7/8) and instead switch to another application in Windows altogether. This behavior does not occur on previous versions of InDesign (CS6 and earlier). I can easily reproduce the problem at my company on various machines (both on Windows 7 and Windows 8). The Mac OS version of InDesign does not seem to have this problem. Also, the problem does not seem to occur when using "palette" or "window" type ScriptUI windows.

    That's in itself an interesting observation, but I have the focus problem 
    also with scripts that don't use ScriptUI at all.
    Peter
    On Mon, 13 Oct 2014 08:38:27 +0100, DirkEBM <[email protected]>

  • While Printing using Print Button on Crysal Report Loses focus.

    Hi all,
    I am using CR XI along with VS2003 for developing my application.
    My application uses a Treeview to list all the available reports, once user select one of the report. I am using another dll, which contain all the rpt files as Embedded Resource, for showing the report in Crystal report viewer.
    Once report get loaded, I am using Print Button from Crystal report viewer to print the report.
    report get printed properly..
    However a strange behavior occurring, Form with Crystal report viewer control placed loses focus and immediate below window coming into focus (some other opened window get activated and bring to front and hiding my application).
    Any suggestion would be appreciated.
    Thank you
    Riju K K

    Hi Brian,
    Thanks for you are reply.
    I think I am not creating a separate process,
    From my application, I am creating an instance of form (which is in another DLL) which is hosting Crystal report viewer.
    If click "Print" button on the Crystal report viewer, I am getting a Printer selection form.
    If I cancel from there ,my Crystal report viewer form get focus back.
    If select a printer and click "OK". my Crystal report viewer form lost focus and some of the other window opened (word, ie, etc) before get focus.
    My assumption is Crystal Report viewer's "Print" button may be using a separate thread for Printing.
    that may creating this focus issue.
    what you think?

  • Firefox 3.6.8 does not recognize subsequent mouseclicks - window loses focus

    After updating to firefox 3.6.8 on my macbook pro (OS X 10.4.11) Firefox fails to recognize subsequent mouse clicks. You can access the page initially, but then it seems to lose focus and become unresponsive to mouse clicks until you do something to break the cycle (clicking on desktop, minimizing and resizing window, etc). I reinstalled Adobe Flash update using full installer, since others have suggested that as a possible cause, but no joy. The browser window still does not recognize mouseclicks after an initially successful page load. You can tab to the next window (for example, if you want to enter something in search) but you cannot CLICK to enter the search window, nor can you click on links on the page, etc. It is totally unresponsive.
    == This happened ==
    Every time Firefox opened
    == I updated Firefox to the version just before 3.6.8 -- then I updated to 3.6.8 to see if that fixed it -- it's still broken

    This started happening to me yesterday. All plugins are disabled, didn't help. All plugins uninstalled, didn't help. Downgraded to SP3, didn't help. I've also noticed this happen in Thunderbird, though it seems OK now.
    Sadly I've had to start using IE8 :(

  • Using web.show_document the first time makes new browser window lose focus

    Hi,
    In our application we use show_document(url, '_blank') to open our reports (as pdf) in a new window.
    Our environment is Application Server 10g Release 2 with Forms 10g Release 2 and jinitiator 1.3.1.22.
    The first time I call a report, the new browser window containing the pdf is shown but loses focus after about 1 second. The focus is then returned to the applet window. When calling a report again it always keeps the focus.
    After closing the applet window and restarting the application, the same thing happens: first report called loses focus, all others keep the focus.
    Does anyone have any idea why this is happening? We want the focus to stay on the new browser window every time...

    Hi Jeroen,
    I m also facing a problem something similar to yours. If you got any solution please let me know.
    Problem-
    Currently my application is running on Forms 9.0.4.2 and my form calls another third party which displays the image in image viewer in new browser. When user clicks on the button to display image, then I m using the following Code -
    -- Method: displayDocuments ([Ljava/lang/String;)Ljava/lang/String;
    FUNCTION displayDocuments(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JARRAY) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'com/hli/imaging/adapter/LK_FormsImagingAdapter', 'displayDocuments', '([Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Image is displaying fine but the focus is staying on the newly opened browser. I want it to get back the focus to the forms window.Is this possible ???
    Thanks in advance
    Sai                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Changes are not reflected in Script output

    Hi All,
    i am facing a problem in SAPscript.
    I have made a Zscript by copying standard script F110_FR_CHEQUE. I have made the changes in the script as per requirement in development client and transported it to testing client to test (As i dont have any data in development client). But, surprisingly, when i run the program and check the output, the changes are not reflected in the script output.
    First i thought that my script was not triggered thats whay i m not getting any change, but later i changed the dimension of one of the window, in which some hard coded text is written, the differece i found was that, window size is changed, but the text written in that window is still same (what was in standard script.) .
    I am using standard texts for hard coding in script. Standard texts have been transported in testing client also.
    please help me in this regard.

    Hi,
    Could you plese Check NACE whether your script is confiugring or not.
    If it is configured well then Check Standard Text is available or not in Test client by open it in SO10.
    Check all the paragrah formats applied to Standard text are transferred to Test client which are in SE72.
    IF it is available in SO10 then debug the print program for that windows any standard conditions are calling to print the text.

  • Aperture loses focus, even in other programs

    I developed a new problem over the past week or so. I'll be typing along in any program when it suddenly loses focus. I can click to re-establish but, once it starts. it happens every 10-15 seconds. I think I've isolated the issue to Aperture. Once I quit Aperture, the problem seems to stop. When I'm using Aperture, it's begun acting strangely: multiple clicks required to select photos, shift-click to get a range doesn't always work, right-click menus pop up then disappear or don't contain all items expected (e.g., Export only shows "Project as new library" as a sub).
    I'm up to date on Yosemite (10.10.1) and Aperture (3.6 500021000000000.3 RAW 6.02/Build 768.6), and I'm struggling to key the start of this phenomenon to any particular update (assuming Aperture is winding down and Photos will come soon?) I haven't tried to reinstall Aperture, although I did have a repair situation a couple of weeks ago when I had a white screen of death in OS X.
    Has anyone experienced this? Any suggestions beyond repair/rebuild? I've been exporting originals for a while with the expectation of changes ahead and will continue with that as best I can...

    So, I had some time (and accumulated frustration) to check on this further, with no positive results.
    I thought I might need to repair or rebuild my Aperture database. I tried following the instructions in the Help file (Control-Command-Click on Aperture database in Finder) but that did not yield the dialog to repair/rebuild, just launched Aperture.
    I used Activity Monitor to try to see what was running, and I seem to get a process called "ReportCrash" that cycles into the CPU use column every time the focus changes. But, I haven't gotten the typical "Program has crashed. Do you want to send a report?" dialog. It happens every 3-10 seconds, and only happens when Aperture is open. I haven't tried reinstalling Aperture yet because I haven't had a chance to dig out installation disk stuff.
    I may try to cross-post this to a Yosemite forum to see if it's just coincidence that it happens when Aperture is running.
    Maybe it's just life telling me to ante up for LightRoom...

  • Convert Script output data to Text(.txt) file & send mail with attachment.

    Hi All,
    Requirement: I shulb be able to conver th Script output data to Text(.text) file & send a maill with attachment with this text file. Formant of text file should be like output of Print priview.
    Plese sugget with Function modules to cover as Text file.
    I am able to converting the Script output data to PDF and sending mail with attachment. So I don't want PDF file now.
    Thanks in advance.

    Hi, Thanks for responst.
    We can convert the Scirpt output to PDF file by using OTF function module and the PDF file looks like Print Privew output.
    Same like this I want Script out in NOTEPAD (.txt). Is that possible, Plz sugget with relavent Function Modules.
    Thanks.

Maybe you are looking for