Closing Application - Headstart bug?

This mail was originally posted on the ODTUG maillist.
I am using Headstart Qms 5.0 and we are having problems with closing the
application window using the Windows Close button[x]. Detailed description
follows:
When window is closed by pressing the 'x' found at the right topmost part of
the screen, a message appears confirming whether to commit, not commit or
cancel changes. Once cancel button is pressed, it creates infinite loop or
sometimes shows the same message several times.
The temporary workaround was to comment out the before code added by QMS in
the key-exit trigger: qms$event_form('KEY-EXIT');
/* CGAP$TES_SEQUENCE_BEFORE */
/*begin
qms$event_form('KEY-EXIT');
end; */
/* CGNV$CLOSE_ALL_WINDOWS */
BEGIN
CGNV$.nav_enter_query := FALSE;
IF (:SYSTEM.MODE = 'ENTER-QUERY') THEN
exit_form;
ELSE
CGNV$.CLOSE_ALL_WINDOWS;
END IF;
END;
/* CGAP$TES_SEQUENCE_AFTER */
begin
qms$event_form('KEY-EXIT','AFTER');
end;
Although this solves the problem of infinite loop, this needs to be further
investigated because the code is actually handling the case where system
mode is 'ENTER-QUERY':
procedure close_current is
-- Purpose: Exit form, regardless of form mode
begin
-- Cancel query mode when running in query mode, and then
-- perform do_key('exit_form') as OFG generates code in KEY-EXIT trigger
to close
-- child forms when preference NAVCCF is set to Yes
do_key('cancel_query');
if name_in('system.mode') = 'ENTER-QUERY'
then
copy('10','system.message_level');
exit_form;
copy('0','system.message_level');
end if;
g_closing_current := true;
do_key('exit_form');
exception
when form_trigger_failure then raise;
when others then
qms$errors.unhandled_exception('qms$form.close_current');
end close_current;
Looks like a Qms bug to me. Is anyone familiar with this? All help highly
appreciated.
Rgds,
Siggi

This reply was originally posted on the ODTUG maillist.
I ran into this problem. It was a Forms 5.x bug. It was definitely fixed
in 6.0. I can't remember the patch set in 5.0 that fixed it. It was not a
Headstart problem, but rather a Forms bug.
Mari Cobb
Oracle Certified Professional
Independent Consultant
Sacramento, California www.ms-mari.com
null

Similar Messages

  • Closing application

    i see that if i want to closing application i must do that
    To close an app completely : from the home screen (i.e. not with the app  that you want to close 'open' on-screen) double-click the home button  to bring up the taskbar, then press and hold any of the apps on the  taskbar for a couple of seconds or so until they start shaking, then  press the '-' in the top left of the app to close it, and touch any part  of the screen above the taskbar so as to stop the shaking and close the  taskbar.
    my question is there an easy way instead of that method to closing application i think that my cause soon the home key crash cause of many press on it when closing every application hope you give me a solution

    You really do not need to close previously used apps completely. When you leave an app and go to the Home screen or another app, the previous app quits running.
    There are a few exceptions to this like in Mail where the app will finish a task like sending or receiving email.
    But most apps just stop working and have there state saved. Then when you go to that app again you go back to where it was and it starts running again.
    The only time I close or quit an app by double clicking the Home button is when an app freezes or misbehaves.

  • How do I remove an "orphaned" window from a closed application?

    Hi,
    Every now and then, I end up with an "orphaned" window on my desktop, left over from a closed application. Currently, I have a login window from the Screen Sharing application that's been spinning the spoked progress wheel next to "Connecting..." for an hour or so. I've already closed the Screen Sharing app, so it's not a straightforward thing to go into Activity Monitor and kill the process. I know that I can reboot the machine to fix this, but I'm wondering if someone might know how to fix this sort of thing without a reboot. Is there some app that I can use that can tell me what process is the "owner" of this window? Since the progress wheel is spinning and I can drag the window around, it would seem that some process has control of it, but I just don't know which one.
    Thanks,
    Ken

    Hi Carolyn,
    Thanks for the information, but maybe I didn't clearly explain what happened. I had the Screen Sharing app open, and then I properly closed it down by quitting the application. But one of its windows remained on the desktop. I went into Activity monitor, and the Screen Sharing app wasn't listed in the process list at all. So I'm guessing that this window isn't owned by the Screen Sharing app itself, but from some other process that was spawned by the Screen Sharing app that didn't close when I shut down the Screen Sharing app. Granted, this situation doesn't come up very often, but I've also seen it happen with Norton Antivirus, if I dismount a volume while there's a popup window doing a "scan on mount", with the result that the "scan on mount" window doesn't go away. So given that the process with the "friendly" app name no longer appears in Activity monitor, can you suggest any way to determine which of the running processes "owns" the still-present window?
    Thanks,
    Ken

  • My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    thanks for your response roaminggnome. I changed my password immediately after it happened and I have contacted i tunes to let them know of this dillemma.
    The I-tunes credit was a promotional thing by Apple to buy their laptop. So I didn't pay for the i-tunes credit in the first place. Do you think my bank will be able to reinburse Itunes credit then? I will ask support when they get back to me.

  • Catch a closing application

    Hello everyone,
    I have a question about closing application. I have a console application that a user can always close by typing Ctrl+c or closing the command prompt.
    I would like to catch this action in order the application to execute some small code just before closing. Is it possible ? How can I do this ?
    I hope that someone can help me,
    Regards,
    David Mayor

    Ok good but where do I have to put it ? in the main method ? outside the main method ? If I put it outside, it does not compile, and if I put it inside, I have an error on compilation telling that:
    run() in cannot implement run() in java.lang.Runnable; overridden method does not throw java.lang.Exception public void run() throws Exception {
    Can you help me ? Thank you a lot.
    David

  • Closing Applications with red X prevents restarting of applications

    Hi,
    first of all, I switched from PC to Mac just 2 days ago, so forgive my lack of common iKnownledge of macLingo.
    My system is OS X 10.5.6 running on the latest MacBook (standard model).
    I performed the software update.
    As former windows user (and every other OS user, btw.) I assumed that clicking on the red X button closes the application, which it apparently doesn't. I found out the pressing the button with the swirly symbol + Q is the way to go.
    Anyway, sometimes I just want to close an application with a click, so I push the X button and restart the closed application later, although - as I understand it - the application is still loaded (which is indicated by the small white dot in the dock). Just to be clear: Closing e.g. Safari with the red X closes the window but doesn't minimize it to the dock.
    However, every so often a red-X-closed application remains white-dot-active but can't be restarted or maximised again, unless I first go to the dock and close it manually by use of the context menu.
    This is an eminently stupid behaviour of OS-X if that was intended.
    So, ist there a fix for this ? Or a way to tell the red X to close an application for good ?
    What's the use of three colored window control buttons anyway, if two of them just basically minimize an application ?
    Thanks for the help.
    PS: Maybe I should mention that this behaviour is not reliably reproducable. Sometimes it works, sometimes it doesn't. It happens way too often to ignore, though.
    Message was edited by: arotto

    I was hoping you'd say that. It is as it's supposed to do in that particular case at least.
    Now just so you know, (though I suspect you already have some idea). That red cross will as a general rule close just that window. In some cases, (usually where the app only ever has that one window), clicking the X will close the app down, otherwise the app will still run in the background. This is normal. To close the program down you need to Quit it, ⌘Q.
    You are right that it can't be maximised again, +that's because you didn't minimize the window you closed it.+ To minimize you need to press ⌘M, or click the minus symbol.
    Strictly speaking the buttons do not both minimise, one maximises.
    I think the minus button is there to put the window in the dock.
    I think the plus button is there to alternate between minimum and maximum window sizes while that particular window is active on the desktop.
    I think once you understand how it works you should find it consistent. Give it a shot and let us know.
    Message was edited by: gumsie

  • N96 Closing Applications

    I have recently recieved a insurance replacement and restored my data from the memory card, ever since this everytime I opperate the slider it comes up with 'closing applications' and obviously it closes them, this is driving me insane. according to the file manager there's about 38mb free, the only applicaion that I have running constantly is the nokia push email client.
    Any ideas?
    Cheers

    next time don't restore settings because this causes problems. the problems a backup restore causes can be solved by resetting the phone. try a soft or a hard reset.
    Factory settings reset. Type *#7780# and the phone's lock code (Nokia's default lock code is 12345). This reset restores the phone's original settings.
    Soft reset. Type *#7370# and the phone's lock code.
    Warning!Soft reset deletes all the phone's data (C drive).
    Hard reset. Switch the phone off. Press and hold three keys together, the green key, the * key and the number '3'. While you are holding these keys, switch the phone on. Don't release these three keys before you see the Nokia hands logo.
    Warning! Hard reset (as soft reset) wipes the C (phone memory) drive.
    If you want to thank someone, just click on the blue star at the bottom of their post

  • MBP not closing applications upon shutdown

    I was very happy with Lion, until I noticed that my applications are not closed on shutdown. When my computer restarts every application that I do not force quit prior to shutdown opens.
    Any help would be appreciated.

    This is not a bug, it is a feature !  From Apple's description of Lion:
    Now apps you close will reopen right where you left off, so you never have to start from scratch again. And when you install software updates, you no longer need to save your work, close your apps, and spend valuable time setting everything up again. With Resume, you can restart your Mac and return to what you were doing — with all your apps in the places where you left them.
    In the System Preferences --> General pane, there is an option you can unclick that says "Restore windows when quitting and re-opening apps".  That may help.

  • Macbook crashing when closing applications

    Hey all,
    I'm having a major issue with my Macbook. In the last 3 days its crashed 5 times. It always seems to happen when I close an application but theres been no link between the app being closed and it crashing.
    any ideas anyone?
    Cheers

    Sat Oct 24 14:22:40 2009
    panic(cpu 1 caller 0x001AB0FE): Kernel trap at 0x04399b8d, type 13=general protection, registers:
    CR0: 0x8001003b, CR2: 0xb03e2c58, CR3: 0x00d3d000, CR4: 0x00000660
    EAX: 0x054bbe98, EBX: 0x04907600, ECX: 0x050c4048, EDX: 0x3582bfa6
    CR2: 0xb03e2c58, EBP: 0x35243ec8, ESI: 0x358435f0, EDI: 0x35832c4a
    EFL: 0x00010a92, EIP: 0x04399b8d, CS: 0x00000008, DS: 0x00000010
    Error code: 0x00000420
    Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
    0x35243cc8 : 0x12b4c6 (0x45f91c 0x35243cfc 0x13355c 0x0)
    0x35243d18 : 0x1ab0fe (0x469a98 0x4399b8d 0xd 0x469234)
    0x35243df8 : 0x1a1713 (0x35243e10 0x8ec7c7c 0x35243ec8 0x4399b8d)
    0x35243e08 : 0x4399b8d (0xe 0x48 0x50c0010 0x20340010)
    0x35243ec8 : 0x3582bfc1 (0x4907600 0x358435f0 0x0 0x8ec7ba0)
    0x35243f08 : 0x35832c80 (0x4907600 0x358436b0 0x35243f24 0x381f6c)
    0x35243f28 : 0x4293b4 (0x4689000 0x43dc980 0x35243f78 0x381fff)
    0x35243f78 : 0x13ebde (0x43dc980 0x40c569f 0x8b8ea44 0x0)
    0x35243fc8 : 0x1a14fc (0x522b60 0x0 0x1a40b5 0x58a1ba0)
    Backtrace terminated-invalid frame pointer 0
    Kernel loadable modules in backtrace (with dependencies):
    com.maudio.usb.conectiv.driver(1.7)@0x35828000->0x35843fff
    dependency: com.apple.driver.AppleUSBMergeNub(3.4.6)@0x35366000
    dependency: com.apple.iokit.IOAudioFamily(1.6.9fc5)@0x2e414000
    dependency: com.apple.iokit.IOUSBFamily(3.4.9)@0x345bd000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    9L30
    Kernel version:
    Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
    System model name: MacBook2,1 (Mac-F4208CAA)
    System uptime in nanoseconds: 66115270312337
    unloaded kexts:
    com.TASCAM.iokit.FW1082 1.6.0f1 - last unloaded 63568087575047
    loaded kexts:
    com.maudio.usb.conectiv.driver 1.7 - last loaded 65233612635838
    com.TASCAM.iokit.FW1082 1.6.0f1
    com.paceap.kext.pacesupport.leopard 5.6.1
    com.digidesign.iokit.DigiIO 7.4.2f1
    com.digidesign.iokit.DigiDal 7.4.2f1
    com.apple.driver.AppleUSBAudio 2.6.4b17
    com.apple.driver.iPodSBCDriver 1.1.2
    com.apple.filesystems.afpfs 9.0.2
    com.apple.nke.asp_tcp 4.7.1
    com.apple.filesystems.msdosfs 1.5.5
    com.apple.iokit.IOUSBMassStorageClass 2.0.8
    com.apple.filesystems.cddafs 2.3.0
    com.apple.iokit.IOBluetoothSerialManager 2.1.8f2
    com.apple.filesystems.autofs 2.0.2
    com.apple.driver.DiskImages 199
    com.apple.DontSteal_Mac_OSX 6.0.3
    com.apple.driver.IOBluetoothBNEPDriver 2.1.8f2
    com.apple.driver.AppleUpstreamUserClient 2.7.5
    com.apple.driver.AppleIntelGMA950 5.4.8
    com.apple.driver.AppleHDA 1.7.1a2
    com.apple.driver.AppleIntelIntegratedFramebuffer 5.4.8
    com.apple.iokit.AppleYukon2 3.1.13b2
    com.apple.driver.AirPort.Atheros 320.16.2
    com.apple.driver.AppleHDAController 1.7.1a2
    com.apple.driver.SMCMotionSensor 2.1.1d2
    com.apple.iokit.IOFireWireIP 1.7.7
    com.apple.driver.AudioIPCDriver 1.0.6
    com.apple.driver.AppleIRController 113
    com.apple.driver.ACPISMCPlatformPlugin 3.4.0a17
    com.apple.driver.AppleLPC 1.3.1
    com.apple.driver.AppleBacklight 1.6.0
    com.apple.driver.CSRUSBBluetoothHCIController 2.1.8f2
    com.apple.driver.AppleUSBTrackpad 1.7.4f1
    com.apple.driver.AppleUSBTCKeyEventDriver 1.7.4f1
    com.apple.driver.AppleUSBTCKeyboard 1.7.4f1
    com.apple.driver.AppleUSBMergeNub 3.4.6
    com.apple.iokit.SCSITaskUserClient 2.1.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.1.1
    com.apple.driver.XsanFilter 2.7.91
    com.apple.iokit.IOATAPIProtocolTransport 1.5.3
    com.apple.driver.AppleUSBHub 3.4.9
    com.apple.iokit.IOUSBUserClient 3.4.9
    com.apple.iokit.IOAHCIBlockStorage 1.2.2
    com.apple.driver.AppleUSBEHCI 3.4.6
    com.apple.driver.AppleAHCIPort 1.7.0
    com.apple.driver.AppleIntelPIIXATA 2.0.1
    com.apple.driver.AppleFWOHCI 3.9.7
    com.apple.driver.AppleEFINVRAM 1.2.0
    com.apple.driver.AppleUSBUHCI 3.3.5
    com.apple.driver.AppleRTC 1.2.3
    com.apple.driver.AppleHPET 1.4
    com.apple.driver.AppleSmartBatteryManager 158.10.5
    com.apple.driver.AppleACPIPCI 1.2.5
    com.apple.driver.AppleACPIButtons 1.2.5
    com.apple.driver.AppleSMBIOS 1.4
    com.apple.driver.AppleACPIEC 1.2.5
    com.apple.driver.AppleAPIC 1.4
    com.apple.security.seatbelt 107.12
    com.apple.nke.applicationfirewall 1.6.77
    com.apple.security.TMSafetyNet 3
    com.apple.driver.AppleIntelCPUPowerManagement 76.2.0
    com.apple.BootCache 30.4
    com.apple.iokit.IOSerialFamily 9.4
    com.apple.driver.DspFuncLib 1.7.1a2
    com.apple.iokit.IO80211Family 216.1
    com.apple.iokit.IOHDAFamily 1.7.1a2
    com.apple.iokit.IONetworkingFamily 1.6.1
    com.apple.iokit.IOAudioFamily 1.6.9fc5
    com.apple.kext.OSvKernDSPLib 1.1
    com.apple.driver.IOPlatformPluginFamily 3.4.0a17
    com.apple.driver.AppleSMC 2.3.1d1
    com.apple.iokit.IONDRVSupport 1.7.3
    com.apple.iokit.IOGraphicsFamily 1.7.3
    com.apple.driver.AppleUSBBluetoothHCIController 2.1.8f2
    com.apple.iokit.IOBluetoothFamily 2.1.8f2
    com.apple.iokit.IOUSBHIDDriver 3.4.6
    com.apple.driver.AppleUSBComposite 3.2.0
    com.apple.iokit.IOBDStorageFamily 1.5
    com.apple.iokit.IOSCSIBlockCommandsDevice 2.1.1
    com.apple.iokit.IODVDStorageFamily 1.5
    com.apple.iokit.IOCDStorageFamily 1.5
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.1.1
    com.apple.iokit.IOStorageFamily 1.5.6
    com.apple.iokit.IOAHCIFamily 1.5.0
    com.apple.iokit.IOATAFamily 2.0.1
    com.apple.iokit.IOFireWireFamily 3.4.9
    com.apple.driver.AppleEFIRuntime 1.2.0
    com.apple.iokit.IOUSBFamily 3.4.9
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.iokit.IOHIDFamily 1.5.5
    com.apple.driver.AppleACPIPlatform 1.2.5
    com.apple.iokit.IOACPIFamily 1.2.0
    com.apple.iokit.IOPCIFamily 2.6
    Anything wrong???

  • Application Builder Bug?

    I created a Calendar region in an application on htmldb.oracle.com (version 2.0.0.00.49), resulting in the creation of 3 region buttons: "Previous", "Today" and "Next", displayed on the page definition screen in this order but all with sequence number 30.
    In the Application Builder>Application>Page Definition>Edit Page Buttons screen, I made a change to the "Previous" button and then clicked the [>] button to move to the next button definition. This displayed the Edit Page Buttons screen for the "Today" button, but the [>] button was not available to move to the "Next" button. Similarly, in the "Next" button definition, the [<] button isn't available to move to the preceding "Today" button.
    Not a massive issue, but a bit awkward.

    Hi Oliver,
    comment attributes do normally only save up to 4000 characters. I will file a bug to restrict the textarea to 4000 chars.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • White cloud when entering and closing applications

    Is anyone else getting a white cloud on the side of their screen when they get into an app or close an app? (defult and purchased apps)
    I have an iPhone 5s with iOS 7.1.1, it is a fairly new phone (purchased in January) and I have only just recenty noticed this probolem. I have never dropped my phone, it is in perfect condition so I have no idea what is wrong with it.
    I noticed something white in the top left corner of my screen yesterday as i got into the camera app, at first i though i was just seeing things because it was there for less than a second and it was about the size of a finger nail (rather small) so it was easy to assume i was just seeing things...  but the little white cloud on the screen is betting bigger (it is now taking up the whole left half of the screen) and staying for longer (about 2 or 3 seconds). It only appears when i am opening or closing an app, so when the screen is switching from the app to the home screen (or other way around).
    Can someone please tell me if this is a common bug with the new update or if I need to get my phone repaired (or does anyone have any solutions)
    THANKYOU

    I have a very similar issue on an iPhone 4s iOS 7.1.1. My 'white cloud' appears in the top right corner when an app is launching, for about 3 seconds and then goes away. This issue only started after I updated to iOS 7. I have tried to 'reset, restart, restore', but nothing changed. I am pretty sure this must be a iOS problem as I also have not dropped or damaged my phone in any way and if you do a google search, many other users are experiencing similar problems on other forums.
    If anyone has an alternative solution it would be very much appreciated.
    Thanks

  • Portal slowing down after import of application (New bug in 3.0.8 ??!!!!)

    We have two complete IAS installation (Portal 3.0.8+DB 8.1.7.0 EE) based on NT4.0. One is development, second production. Before moving application, clean prod machine is running forms very fast (least than 1 sec to show complete form). After importing application into the same schema (moved exp/imp db utility), performance is slowing down 1000%. The same form appear in 3~4 minutes.
    What's wrong with my portal.
    Does anybody move successfully from dev to prod on NT environment?
    I'll appreciate for any comments.
    Marcin

    Regarding the performance issue..
    There is a workaround provided at: Thanks for this - helped 100%
    Marcin
    PS.
    Now I complete give up. We bought IAS1.0.2, which appear rather like beta version (more 20 registered bugs found just by us). Than oracle support concern that ver. 3.0.8 of Portal will be cure for any previous bugs. Then I lost two weeks of my work trying to install new version and fighting with low performance.
    Small piece of history:
    Portal 3.0.8 for NT was available since 12 april 2001.
    31 may 2001. Now Oracle is saying that 3.0.9 will be bug free. Maybe you should sit down for a while and develop some ver 3.x.x.x test and after you don't find anything release it.
    Don't test your software on the customers.
    We bought sw, get the knowledge and want to start our project. But how we couldn't do it on platform which is changing every three weeks?!!!!!!
    It's smells like Microsoft.
    NT4.0, srvpack1, srvpack2 (dangerous),srvpack3 forget,srvpack4, srvpack5 - Y2K, . . ... .. .
    #$@$%%@!!!%%%^^
    null

  • Jasper Report closing application also what to do

    Hello friends,
    i can able to open the jasper report in jasper viewer
    from my application(developed in Swings).
    But when i am closing the jasper report itz also closing my application window .
    Please give your valuable advise
    thanking you in advance
    regards
    shashi

    I think yor preview window is using "EXIT_ON_CLOSE".
    I have te same exact problem and I remember I saw the solution on a forum when i was starting with jasper. However i dont remember where. When i find it i'll reply again

  • Application Builder (Bug)- Edit Region Comment getting ORA-01461

    When i edit a Region and saving it with a long comment (5366 chars) iam getting this error
    Fehler beim Verarbeiten von Zeile.
    ORA-01461: Ein LONG-Wert kann nur zur Einfügung in eine LONG-Spalte gebunden werden
    We are using Application Express 4.1.0.00.32 in that specific project.
    On apex.oracle.com in Version Application Express 4.2.0.00.27 this error occurs also.

    Hi Oliver,
    comment attributes do normally only save up to 4000 characters. I will file a bug to restrict the textarea to 4000 chars.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • LR 3.6 exported images can't be read by other application (annoying BUG!)

    Hi,
    I am working with M.Objects which is a very neat and comfortable picture show application.
    Images that are exported under LR 3.6 can't be imported there. M.Objects is a Windows application.
    So I threw 3.6 into trash, and installed LR 3.5 again.
    Now it works again properly!!
    Please, remove this annoying bug!
    Cheers, Hans

    Hi, I am sorry for posting in the wrong user-forum!
    But I try to explain my problem: I'm working with LR 3.6 on an iMac (OSX 10.6.8). My picture files are on an iOmega hard drive. After LR-work the images are exported to a FAT-formatted LaCie hard drive. My slide/picture show application only runs on a Windows 7 partition on my iMac. So I copy the images from the LaCie hard drive to the Windows pc.
    With 3.5 everything worked really fine. But with 3.6 my show application M.Objects (http://www.mobjects.de/) says „can't read the files“. The Windows preview app. can open the image files.
    But now I've found out that I can export the images to a Vosonic hard drive, and M.Objects can read and import my images. So my problem is solved. I don't know why on two different FAT hard drives files are stored in ways that on one hand it works but doesn't on the other hand.
    Thank you,
    Hans

Maybe you are looking for