Fullscreen bug in AIR 2.5

We built a flash application which was packed with AIR v1.0(current
version at that time), which by default opens in full screen mode
we had added a button within the application which uses the following
code to minimise the application
This code minimises the application till AIR runtime v2.03. Once the
runtime is upgraded to V2.5 the application stops to go fullscreen in
the below scenario
After upgradation if the user clicks minimise button, and then tries
to restore the application by clicking the application tab in the
taskbar, the application fails to go fullscreen
It remains as a borderless window with a partial portion of the
application displayed
Thereafter the user has to force quit the application and relaunch
This application series is our largest seller, and we are deeply
concerned of the Windows and Macintosh versions
We would really appreciate a quick response
Sanjay
Code
/* To minimize the window- on click the minimize  method is called*/
windowChanger.minimise.
addEventListener(MouseEvent.CLICK,minimize);
private function minimize(event:MouseEvent):void
            myWindow.minimize();
            trace("minimize the window");
/* To maximize the window- onActiviate method is called*/
this.addEventListener(Event.ACTIVATE, onActivate);
public function onActivate(evt:Event) {
            stageDetails();
public function stageDetails():void {
            stage.scaleMode=StageScaleMode.NO_SCALE;
            stage.displayState = StageDisplayState.FULL_SCREEN;
            stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

For those following along, Sanjay and I have taken the discussion offline and he provided me with a couple of sample projects.  I've been able to reproduce the issue on AIR 2.5 and it has now been entered as a bug in our internal database, #2751098.
I've also proposed a workaround that appears to work on both Mac and Win.  Instead of
this.addEventListener(Event.ACTIVATE, onActivate);
public function onActivate(evt:Event):void
     stageDetails();
I've suggested using
stage.nativeWindow.addEventListener(NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE, onDisplayStateChange);
public function onDisplayStateChange(evt:NativeWindowDisplayStateEvent):void
     if (evt.afterDisplayState == NativeWindowDisplayState.NORMAL)
     stageDetails();
I hope this helps anyone else that might encounter this issue.
Thanks,
Chris

Similar Messages

  • Fullscreen bugs in Air 2 apps under client Air 2.5 runtime?

    We produce video distribution apps handling DRM in Air 2.0
    We've  encountered quite a serious bug in our Air applications' handling of  Flash when going fullscreen.
    Under Air 2.0, our apps  were fully functional. No issues.
    After the upgrade to Air 2.5,  all PC installs no onger display video content in full screen when  prompted to do so.
    We have noticed the same error  occurs in AMP 1.8 and are yet to find an example of an Air application  that does not experience this issue.
    As the bug is  isolated to PC (not present on Mac at all), is it related to either:
    a) Flash handling of the Output protection enacted with this update or
    b)  h264 hardware decoding
    We have over 30K apps deployed  and seek information regarding a resolution for this asap.
    We have  drafted a workaround, but it is not an ideal situation.
    Is  Air 2.5 being updated again (within 48hrs)?

    Hello,
    I'm sorry you've run into this fullscreen playback bug.  We found this issue with AMP after the release of 2.5 (internal bug #2732895) and it will be fixed in our next release.  Adobe announced yesterday that an update to Flash Player would occur on or before November 9th.  Typically AIR and FP releases occur in tandem.
    In our testing, we were only able to reproduce the issue with Adobe's Media Player, attempts to reproduce using AOL, BBC iPlayer, or MovieFone were unsuccessful.  Could you point me to another example where this bug occurs?  I'd like to verify it's fixed on more than one application.
    I'm going to follow up with you via the forums private message system, you can also email me at [email protected]
    Thanks,
    Chris

  • Webcam bug in Air 3.0

    Hi all,
    it's quite crazy, that this bug: https://bugbase.adobe.com/index.cfm?event=bug&id=2951115 made it all the way from Beta to RC1 to final AIR 3.0 without being fixed.
    (It was created end of August, first comment from Adobe was end of September...)
    It is a regression in the webcam parts of AIR 3.0, and we have reproduced it on Windows and OSX with all kinds of webcams and both old video codec and h.264.
    This completely negates the great enhancements h.264 brought to us for video quality by letting the video appear as if it has spasms. 
    So please speed up fixing this bug - since AIR 3.0 has come out, our customers are quite upset after we told them "with AIR 3.0 video quality will get a huge boost"...
    And btw - anyone else experiencing this issue - and might have a workaround?
    best regards,
    mrzottel

    Thank you very much for the update. It's good to hear that it has been fixed - can't wait for the next release then. Do you have any information on when it will be available? No definite date needed, but would it be more like days, weeks or month?
    Our problem is, that we delivered a working product with AIR 2.7 to our customers, and even though many where sceptic that AIR/Flash would be the right platform, we proved them wrong - But we also did announce AIR 3.0 as a major breakthrough in video quality, which it is, no doubt, if it weren't for this bug.
    I'll keep my fingers crossed that the update will be released soon
    best regards,
    mrzottel

  • Fullscreen bug with specific button on Mavericks rMBP 2013

    Hi Everyone,
    Encountered a weird bug on my GF's new rMBP with facetime.  The camera will turn itself off during face time if she fullscreens the app using the fade in fullscreen button on the top right corner of the app.  Sometimes the green light will stay off the whole time it is fullscreened, sometimes it will stay off for a second, then turn back on and the other end of the conversation may or may not see the pause icon. This doesn't happen when she uses the menu or the persistant bottom right hand corner fullscreen button.
    I don't know why it is only that particular button, but it happens.  Not a major issue, but just a weird annoyance and wonder if anyone else has seen this problem or if this is a know bug that will be addressed in the future.  I've tried to clear out the keychain, thinking it was that, but no go.
    Regards,
    Mike

    For those following along, Sanjay and I have taken the discussion offline and he provided me with a couple of sample projects.  I've been able to reproduce the issue on AIR 2.5 and it has now been entered as a bug in our internal database, #2751098.
    I've also proposed a workaround that appears to work on both Mac and Win.  Instead of
    this.addEventListener(Event.ACTIVATE, onActivate);
    public function onActivate(evt:Event):void
         stageDetails();
    I've suggested using
    stage.nativeWindow.addEventListener(NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE, onDisplayStateChange);
    public function onDisplayStateChange(evt:NativeWindowDisplayStateEvent):void
         if (evt.afterDisplayState == NativeWindowDisplayState.NORMAL)
         stageDetails();
    I hope this helps anyone else that might encounter this issue.
    Thanks,
    Chris

  • [Mac, Win] Fullscreen Bug?

    Hello!
    Sorry for the lenghty post but maybe someone can confirm the problems I am seeing:
    There seems to be a bug in both Windows and Mac versions of Photoshop CS6. The problem manifests itself MUCH clearer on a Windows machine, but is present to some degree on a Mac, too. The last version without it seems to be CS3 (OpenSth problem?).
    Steps to reproduce: Any image open, full screen mode, all pannels UNDOCKED:
    Correct behoviour: The image should not move while pressing Tab (ideally it shouldn't even redraw).
    On Windows:
    With every press of a Tab key to show/hide the panels the image jumps up several pixels (sometimes also towards the center of the screen if the image is smaller than the screen area). Also (and MUCH more annoyingly) when the image is moved off center and is at certain magnification (the most reproducible seems to be 33%) after pressing Tab it jumps ALL THE WAY to the center of the screen.
    On Mac:
    Similar things happen, but more rarely, and the image jumps by only ~1 pixel. (Easier to observe if you first zoom the image smoothly a bit by dragging with a zoom tool).
    Also as it currently is (after CS3?) pressing F produces the same outcome as pressing Shift+F - there is no way of just showing the menu in Fullscreen mode and then quickly hiding it after use - one have to go through the whole screen mode cycle. Also on Windows there is no way to access the menu when hidden with Alt + Letter speedkey (Alt + F for file menu etc.). Both these functions worked perfectly well in CS3.
    Both machines have latest Photoshop, OS updates and drivers (but old graphics cards: Win - Nvidia 9800GT, Mac Nvidia 880GT). I suspect these changes for the worse has been introduced while switching to OpenGL. Hopefully it is not necessary for it to be that way or maybe even it works as expected on newer graphics hardware - anyone care to check?
    Last time similar problems occured was, if I remember correctly, in Photoshop 7 when Status Bar has been moved into an image window :-)
    I know it may sound as if it's not important, but it certainly is annoying. It has nothing to do with not embracing change - I do find OpenWhatever to be a huge leap for Photoshop - even if I have to put up with a slower image redraw most of the time...
    So, I hope, my rumblings aren't comparable to:
    http://imgs.xkcd.com/comics/workflow.png
    Regards
    m.

    Thank you.
    Unfortunately, I don't have Navigator open (opening it doesn't make any difference). The image jumps in fullscreen mode without the menu, because when I press Tab, the menu shows anyway and the image (incorrectly) moves down to accommodate it and then up again, after another Tab press.
    The wholly unreasonable behaviour of image being centred with Tab pressing has no such explanation and is not happening on a Mac at all.
    Your suggestion to use Shift F and then F works, but since Tab shows the menu anyway - it kind of doubles that functionality.
    I just think that the old behaviour of being able to show just the menu, separately from the panels or access it with Alt + Letter keys was more convenient than current behaviour. The image always stayed exactly where it was - no need to redraw. And it NEVER jumped whole way to the center - which makes dealing with image corners extremely difficult.
    I can understand that some of that may be the a requirement of using OpenGL on Windows, but I kind of doubt it.
    Regards
    m.

  • Need support for resolving a known bug in AIR

    Hi All,
    I want a favour from all of you so that one of the known issue can be resolved from adobe.This issue is reported by me six month back and as it is treated as a lower priority item so this is not being resolved.But it is a high prority item from the end user perspective.
    The issue is related to implementation of behaviour of softkeyboard,when we are using mobile skin in the Textinput,it is not working properly.
    For resolving this you will be require to vote for that issue.Hopefully I will get full support of all of you.
    Please just click on the linke below of the same,and vote to resolve this.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3292370
    Thanks in advance,
    with Regards,
    Shardul

    Isn't this issue solely related to Flex or is it really the AIR TextField that is broken?
    Cause if the former applies, I can see that Adobe has no interest in fixing this as Flex is an Apache project now.

  • Bug Adobe Air 3.5 Beta with method "drawViewPortToBitmapData"

    Hello,
    I noticed there is a bug with the lastest build of Air 3.5 beta with the method "drawViewPortToBitmapData".
    It resizes the viewport that we want to draw smaller that the original size.
    Can you correct this bug before the release ?
    Thanks,
    Loïc L.

    This was an issue with retina iPad's prior to AIR 3.5  .. I saw this fixed as of AIR 3.5.  Altho it doesnt take a retina screen capture. It captures at 1024 x 768 and scales up to 2048 x 1536

  • [Solved] Chromium Fullscreen bug

    Hi everybody!
    Please help me to resolve chromium bug.
    After going to fullscreen by pressing F11 everything OK.
    But after returning to windowed screen by pressing F11 again chromium disappears from the screen and becomes unaccessable.
    But it still remains running in the list of precesses and its icon seen under Alt-Tab switching.
    This bug exist even in empty window with no URL connected.
    Linux 3.15.8-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
    Window manager: openbox 3.5.2-6 (lxde) [installed]
    Also idesk program for icons running.
    Last edited by roina (2014-09-17 19:05:15)

    Sam_DM, thank you for help, but it doesn't work.
    This bug takes place on 3 PC that I use, 2 of them with Intel video and the rest with Nvidia card.
    On one of Intel PC you suggestion leads to different behavior of chromium. After disappearing  it becomes possible to return browser to a visible state by another pressing F11. Ironically, even if you method worked it was useless for me, because I use chromium only for one online game which supports hardware acceleration under linux only in chromium. But my main browser is firefox.
    Also I examined chromium on the same computers under ubuntu live distribution and it worked fine.
    Therefore I conclude that something wrong in chromium package for archlinux or maybe more installed supported programs needed.
    I shall try to report a bug to chromium officials but don't have experience in that.

  • Fullscreen Bug

    Hi
    There is a big bug with fullscreen Aps
    When, for example, the Mail Application runs in Fullscreen Mode and I open Firefox (for example) on the main desktop and switch to the fullscreen app while firefox is loading, Firefox will be opened on the same desktop as the fullscreen app.
    Another Bug is: When in Fullscreen Mode some dialog boxes (like Search Text) will open on the main desktop
    Any solutions or bugfixes yet?

    well, the dock does not give me any usefull possibilities... the only solution is to close the app and reopen it.
    5 minutes ago, a message from an installer told me to close 2 application to continue the current installation (xcode).
    first i thought, the installer stopped because it did not do anything else than showing a status bar... then i looked on the fullscreen mail desktop and there was the information box

  • URLLoader bug with AIR SDK

    Environment:
    Flash Builder 4.7
    AIR SDK 3.4
    Mobile ActionScript project
    Problem severity:
    Use URLLoader class to get data from server; use URLVariables to send data containing a single field (Note, this issue happens only when you're sending only one field), as:
    var urlVariables : URLVariables = new URLVariables();
    urlVariables.contactid = "mycontactid";
    var request : URLRequest = new URLRequest();
    request.data = urlVariables;
    request.url = "https://myserver.com/flex/GetContactDocument?OpenAgent";
    var loader : Loader = new URLLoader();
    loader.addEventListener( Event.COMPLETE, onSuccess );
    loader.addEventListener( IOErrorEvent.IO_ERROR, onIOError );
    loader.load( request );
    Everytime it turns into IOErrorEvent returning stream error with the used URL path. I eventually noticed it didn't add any "&" after the URL! So what was supposed to be is this:
    https://myserver.com/flex/GetContactDocument?OpenAgent&contactid=mycontactid
    But instead URLLoader seeing this as:
    https://myserver.com/flex/GetContactDocument?OpenAgentcontactid=mycontactid
    Note, there's no & sign after OpenAgent word!
    This doesn't happens when there are more then 1 fields in URLVariables class! This is strange, and looks like a bug to me!
    Any suggestion would be appreciated. Thanks!

    Hello,
    1 . If you used more then 1 field in URLVariable, then is this ever worked for you with any of the AIR SDK version.Could you please share the use of OpenAgent here in the url.
    2.  One should not used “?” without assigning any value in the url for the specified field which is incorrect ("https://myserver.com/flex/GetContactDocument?OpenAgent") , please try to implement like (“https://myserver.com/flex/GetContactDocument?OpenAgent=”+value+””) as url schema needs “?” before the first parameter and “&” before the following ones. OR  Try to use (https://myserver.com/flex/GetContactDocument”) and then pass the url variable through which “?” and “&” is append by the request automatically.
    Please update if this will work for you.
    -Nimit

  • Problem/bug with AIR 3.0

    Hi guys,
    I'm here again. I got this error when I tried to publish my project with AIR 3.0.. Actually, I've created an application usign AIR 2.6 (default comes with CS 5.5). It was used to get published and I used to update it on regular basis. Few days back I had to copy AIRSDK3 folder to Adobe's program files' folder, where I renamed AIR2.6 to anything else and AIRSDK3 to AIR2.6... Today, when I tried to publish my same project,  I got this following error. Hope that would help adobe (as it is beta version).
    (By the way, when I renamed the folders to their original names, it worked and published).

    Steve,
    We have seen the same thing and reported it to Forte. We have not yet
    heard back with a bug report number...
    For now, we have removed all comments from our sql code.
    Derk
    >
    We have just switched from version 2.0.H.1 to version 3.0.F.2 in development,
    and have discovered a bug with comments in SQL code.
    Anywhere in a cursor definition, or within SQL code in a method, if we use the
    multi-line comment format "/* ... */" even on a single line, then the code
    compiles fine, but crashes at runtime with a "Invalid SQL Command" error. It
    looks as though Forte is including the comment as part of the SQL!
    Has anyone else seen this problem? We have not found it in the known bugs list
    for 3.0.F.2 or the fixed bugs list for 3.0.G
    This worked fine for us prior to version 2, and if we don't get it fixed in
    Forte, it means a lot of rework to change the existing comments to single-line
    "// ..." format.
    Regards,
    Steve Isaac
    Senior Consultant, Information Services Group
    Hydro Electric Corporation of Tasmania
    4 Elizabeth St, Hobart, Australia, 7000
    Phone : +61 03 6230 5161
    e-mail: [email protected]
    Check out: http://mama.indstate.edu/users/sodana/lucado.html
    *** Derk Norton ***
    *** U S WEST Communications Voice : (303) 965-8772 ***
    *** 1801 California Street FAX : (303) 896-3565 ***
    *** Denver, Colorado 80202 Email : [email protected] ***
    **********************************************************************

  • Audio Bug in AIR on IOS?

    Hi Folks,
    Thanks for taking the time to answer my question. I am developing a Starling/Away3D game for iOS and Android and for the most part it works great. I have run into one problem recently, however. When returning to the Foreground from a resource intensive app, like TempleRun2, the audio is choppy, like it is playing every other frame kind-of thing. I did some testing and it is true for all recent Air apps like Super Hexagon, and Managana.
    Older Air apps, like SnowBomber and CombOverCharlie, seem to work fine in this situation which makes be think that it is a problem with more recent versions of AIR (I am compiling with AIR 3.6.) The only other thing that I can think of is that perhaps it is related to using Stage3D - I know there have been some issues on iOS going to the background and returning.
    If you have a work around I would love to hear it. I know that it is not a CRITICAL bug, but it really sounds like crap, which seriously degrades the overall experience. I have tried manually stopping and starting the audio but it is still choppy. 
    Thanks in advance for your help. Also, thanks for making AIR so awesome on Mobile with Stage 3D. The performance is amazing. I still have a onAir Tour shirt from when Mike Chambers and the guys drove around the continent on a Bus.
    Gavin

    Sorry I didnt think about it needing to print as 3 separate pages at specific points. If you can't get the HTML printing to work then you could keep could this thought in mind. If the height of the, I presume, HTMLLoader object is the right value, you can draw the white-space of the page into the BitmapData and then it might still print at the right location. If it doesn't work immediately and you felt like putting in a little more effort, you might be able to tweak the height of the HTMLLoader objects so that each one represents a single page. Granted this approach would likely only work for one paper size format, such as 8.5x11. Sorry I don't have any easier ideas that work with what you already have done so far

  • Very strange bug with AIR and native process (Windows 7, EXE)

    Hello to everyone!
    The situation is:
    I've made an AIR Application, inside of that is running a native process - EXE file.
    I'm using Flash CC as IDE and tried to use compile that as EXE with AIR 2.6 and 3.6 - results are same.
    So I've insert inside a checking if Native Process is supported or not and the Native process is supported all the time.
    When I've just installed the application and run it - the very first attempt is good - everything is working as a must: internal EXE is called by my Application with necessary parameters as many time as I'm need.
    However if I'll close the App and then will run it again - internal EXE is not starting at all, doesn't depends on number of attempts to re-start of the App.
    So only way is to uninstall, install it back and then you'll be one more session of successful internal EXE-requests, till the next re-start of the App.
    That's it.
    I've tried to "google it" but unsuccessful. Probably the bug is very rare.
    Help me please?
    Update: at compilation with Flash CC IDE it's working all the time with no any issues.
    Update-2: when I'm running installator-EXE, there is going a notification "Same version is installed, etc." and then selected "Run Now" - there is also working with no problems.

    Well, I've found the solution and answer by myself and here is it please:
    In case with same situation as above you need to add just one line in your AS3-code
    nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;
    And you will be happy so much

  • What is the procedure for logging a Bug in AIR?

    I believe that a bug exists in AIR v1.0 when running a SWF
    created using ActionScript 2 (for FlashPlayer 8) - what is the
    process for reporting it or getting it fixed?
    This is a serious problem for my customer, as they are
    presently stuck to using AIR Beta 3 (which will expire)
    The AIR App that was working under FlexBuilder3 Beta 2 &
    Beta 3.
    In AIR v1, I now get an error during debug:
    ReferenceError: Error #1056: Cannot create property
    __OnEnterFrameBeacon on _main_mx_managers_SystemManager.
    It happens after button click in the SWF (loaded by
    SWFLoader)
    After I get this error, The SWF seems to 'lose itself', i.e.
    the screen goes a bit 'haywire'' (both running in debug and as an
    installed AIR Application). If I run the SWF without AIR it works
    fine
    Thanks,

    AIR bugs can be reported at www.adobe.com/go/wish.
    regards,
    Oliver Goldman | Adobe AIR Engineering

  • Alarming bug in AIR SDK 4.0.0.1390, -useLegacyAOT no

    I've uploaded small testcase which does some simple testing of equivalence of fractions (by parsing Numbers, Strings, etc).  The testcase SWF passes when packaged without -useLegacyAOT no, but fails when using the new halfmoon compiler.  I've filed the following bug:
    https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3694360
    This is alarming because it means the new halfmoon compiler feature has changed the logic of the testcase and breaks our app.
    I'd appreciate it if someone could download the testcase and confirm this.
    Please let me know when this is fixed.  We will not be using -useLegacyAOT no in the mean time.
    Best,
    -Jeff

    I've created a radically simplified testcase that isolates the bug.  When creating two instances of a class in a static function, those references are both set to the second instance only when using halfmoon compiler:
    https://gist.github.com/jcward/7066bc017bf92531f594
    Errant function reproduced here for discussion purposes:
      public class Foo
        public function Foo() {
        static public function something():void
          // Create two unique objects, they cannot be the same
          var A:Foo = new Foo();
          var B:Foo = new Foo();
          Main.t.text += "Created Foo, A="+A+"\n";
          Main.t.text += "Created Foo, B="+B+"\n";
          // But in halfmoon, the references are the same:
          if (A==B) {
            Main.t.text += "ERROR: reference A cannot be equal to B, wth halfmoon?"
            throw new Error("Halfmoon-induced error, A != B");
          } else {
            Main.t.text += "A-OK, two unique Foo references!"
        private var ID:int = Math.random()*0xffffff;
        public function toString():String {
          return "[Foo] " + ID;

Maybe you are looking for

  • IPhone Not Syncing to iTunes, despite re-install

    Hi, I was having problems with iTunes on a Mac recognising iPhone, iPad, etc.  Had tried all suggested fixes and eventually re-installed iTiunes (and removed various pref files, which solved the problem.  HOWEVER, a day later the problem has returned

  • Problem facing installing Solaris 10 on Dell inspiron 6400.

    Hi, I am facing problem in installing Solaris 10 on my Dell inspiron 6400. It is giving "cannot find driver for screen device /isa/motherboard@1,61" error. Please help... Thanks In Advance Saurabh

  • SPOD won't go away ... long history of problems

    I have a first generation 17" macbook pro and lately the spinning pizza of death (spod or spinning color wheel as others call it) just won't stop. Over the past 6 months, a 1 gig ram chip died and I've been through 2 hard drives. My 80 gig original d

  • Redirected network drive, iTunes, and iOS 8.0.2

    It took me two days to troubleshoot this problem.  I'm up and functioning again, but I thought I'd post this in case anyone else has the peculiar circumstances that broke my iTunes.  Systems:  Windows 8.1, iTunes 11.4.0.18, iPhone 5S 32GB.  Symptoms:

  • Wacom cintiq

    As secondary display was implemented on lightroom 2, it seems to me impossible tweaking the images with the wacom cintiq. Have I lost something about, specially the tablet?