Upgrade message pop in Upsolver - upsolver

Sometimes we see a upgrade message on the UI screen. What does this mean and what happens on click of Upgrade vs Close? Is there any downtime during upgrade?

These updates are only for UI cosmetic updates. If you click Upgrade button, it allows user to move to new UI version right away in current session. If you Close, it won't bring updated UI until user refreshes screen or closes and reopens. If user was not on the UI when update got pushed, user won't even see this message and would get the new version when the open the UI.
There is no real downtime for the UI update for reasons explained above. Even when there are backend changes, or changes to engine or API, those changes will have no real downtime. The deployment will happen outside business hours, plus we deploy to a new instance first and then transition to the new instance. So compute tasks etc won't get impacted.

Related

When Using Firefox, Zoom Launches Invalid Meeting ID

The title pretty much describes it. At seemingly random times while I am browsing in Firefox my Zoom desktop application will start and show the message
Invalid meeting ID
Please check and try again.
Simultaneously, a new tab will automatically open to my organization's authentication web page. Something seems to be trying to start a non-existent Zoom meeting, but I have no idea what or why. I am not signed into Zoom, Zoom was not running in the background, I have the setting "Start Zoom when I start Windows" unchecked, and I have no scheduled upcoming meetings at the moment.
I have googled every combination of terms I can think of, but the only potentially relevant item I found was a question from 2017 on Mozilla's support site:
JimWilliams
11/28/17, 6:15 AM
Every time I open Firefox it opens a nonexistent Zoom Meeting where it tells me the host has not joined the meeting -- takes too much time. Help!
There is no reason I can find that a Zoom Meeting window opens every time I open Firefox -- I even signed up for Zoom so I could make sure it didn't show I had any meetings scheduled recurring or otherwise. But having done that and rebooted -- a Zoom Meeting window opens asking me to join a nonexistent recurring meeting where it indicates it is waiting for the host to initiate the meeting. Takes forever (it seems). How can I end this problem?
[...several unhelpful replies hidden...]
jscher2000 - Support Volunteer | Top 10 Contributor
11/30/17, 9:23 PM
In Firefox 56 and earlier, with the old "new tab page," sometimes a tile from history would trigger an odd behavior such a message that Firefox wanted to launch a different application. The approach to that was to remove any tiles that might trigger the unwanted behavior. I don't know if that is an issue with the new "Activity Stream" page, or whether you have that page as your home page.
Example old thread: Why does another application launch when I open a new tab? Plug-in is in Firefox and I can't get ride of it.
This question seems to match my own, but the reply blames an old version of Firefox (I am using Firefox 102.0.1) and the new-tab page (which I don't think I had open when this problem occurred). However, based on the thread's suggestion, I deleted every page from my browser history containing the term "zoom" and I'll wait to see if doing so resolved the bug.
(P.S. I apologize to the mods for the zoom-sdk tag. I can't find an existing tag relating to general Zoom questions. Please feel free to edit if you have better tag ideas.)
So far, removing any Zoom-related tiles on the new tab page and deleting any page from browser history mentioning "zoom" seems to have worked. The only question that remains is why this is still a bug in Firefox after so many updates.

Fast Switching Windows Phone(7.8)

I am a little bit confused if I need to really do anything for fast switching. It seems like if I am not using media element, camera and sockets I get this "fast switching" for free.
I am not sure how to test it though. I see a couple videos where
Hit the Windows Icon(Start Icon)
Hit the back button
or
Hold down the back button till you get the screen view
Go to some other app
Come back to your app.
These both seem to load up fast again but how about if.
Load up app
Hit windows icon
click on tile app
Should fast switching happen at this point or does it load a new instance of your app up killing your old one?
There is different concept involved here:
-the first thing is Fast App resume which is a new feature of windows phone 8 that you can enable so that when you press the application tile it don't restart your app but keep the same instance (by default it will just kill the app and just recreate a new instance exactly as if the app was never opened). You can find more information about that here.
-the second concept is Fast App Switch and Tombstoning. You can find more information about the application life-cycle here. Basically what happen is when you press the windows button or navigate to another app your app will go in dormant state. In this state the application is not running but is still in memory. When you go back since everything is still in memory everything should as it was left off. The main case to handle in case of fast app switch is the fact that when your app is deactivated all the network connection are killed so you should make sure that when you go back you don't display any web error message dialog and that you redo any failed web request.
The second possible state of your application is that after the app is in dormant state you open a couple of app and the device don't have enough memory, then it will choose to tombstone your app. In that state your app is removed from memory so anything you have not saved will be lost. When you go back to your app it will go back to the page where the user previously was and recreate it.
That mean that to handle this case before the app deactivate you should have :
save any context specific data that you might not have been passing by navigation parameter.
maybe save what the user have been currently doing (for example if he is currently entering a long text, it might be better to save it so that the user don't have to reenter it from scratch)
saving the current scroll position or thing like selected items could be a plus
Also when the app resume you have to make sure that you re-query all information that you need. An example of something which would break would be if you load some Data (from a web server for example) in OnNavigatedTo of the main page and then just reuse the data on the detail page without re-querying it. If you are on the detail page press the start button and then do some other and the app tombstonne, when you go back to the app than the data will not be available (since the memory has been "cleared" and onNavigatedTo of the main page is not called since it will navigate back directly to the detail page).
You can use the page state and application state to save whatever information you need to handle properly the tombstoning case. Basically there are dictionary to which you can add some object which will be serialize (so you need to make sure that whatever object you try to save is serialisable) automatically when the app is deactivated.
To test the Tombtonning case easily, what you can do is in the project properties, in the Debug Tab check the check box "Tombstone upon deactivation while debugging". Like this it will always tombstonne the app when you debug and press the windows button or go to another app. To check that it is really tombstonning, when you go back you should see your app showing a resuming screen for a few second (while in the tombstonning case it's almost instantaneous.
So this is a bit confusing. It took me forever to figure out what they really mean by this.
What fast switching references is for more complicated apps. Apps that take advantage of something that requires a saved state.
For example if you are creating a navigation app. You are navigating then you leave the app. When you go back to that app it should show the "Resuming..." indicator and then bring your app back to its previous state.
Here is a Channel 9 video on FAS
http://channel9.msdn.com/events/MIX/MIX11/DVC09
Also here is the MSDN article about it
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967547(v=vs.105).aspx
Should fast switching happen at this point or does it load a new instance of your app up killing your old one?
In that case, new instance of your would be launched.
Actually, its a bit confusing, but not that much.
App can be either closed (by Windows key or pressing BAck key for a while) or exited (by pressing Back key in the main menu). Next, app comes to dormant state, it holds everything in memory. ApplicationDeactivated would be risen.
So, if you would just re-activate it (by pressing Back and selecting your app, or by pressing Back only, if you have nothing else in the stack), it would be resumed. ApplicationActivated event would be risen with e.IsApplicationInstancePreserved = true
If you would use lots of other apps (device would run out of memory), your app would go to tombstoned state. Then, you'd be needed to restore all data. e.IsApplicationInstancePreserved would be false.
If you would re-launch your app (by clicking on tile), new instance would be launched, and ApplicationLaunching would be risen.
Fast switching isn't something that really concerns you as a developer. What you need to worry about is "tombstoning" - when someone switches away from your app, you need to save the state: when the user switches back to it, you as the developer have to assume that your app was actually restarted from scratch and needs to reload that saved state. That's the difference between Application_Launching and Application_Activated (user started your app anew from the start screen, vs. app was suspended and is now being resumed, but from scratch).
At some earlier point this was the only way app switching worked. Fast App Switching was added later on and simply changed the contract such that sometimes your app would be resumed where it left off without being tombstoned. It depends on memory, etc, but it is simply a benefit to the user who will, in many cases, no longer need to wait for the app to reload its tombstoned state. You as the developer still have to assume you'll be tombstoned.

Is it possible to detect in an app the opening/ending of the dashboard?

In the app I'm working on, a custom cursor is displayed using an image, and the system cursor is hidden (at least when it's over the app). The main system notifications are used to hide/display the system cursor, and it works fine, except with the dashboard: when the dashboard is launched (using fn+F12), the system cursor appears (the app is still running behind the dashboard), and when the dashboard is exited, well... the system cursor is still here (since we did not send a specific message to hide it again).
Would somebody know how to detect those changes? I thought about getting the keys to know when the dashboard is launched, but the problem is that there are several ways to close it, and what is more the app can be launched as the dashboard is opened...

EmailComposeTask / SmsComposeTask loses my app state

I'm developing my first Windows Phone 7 app. I don't yet have access to an actual device, so I am relying on the emulator that ships with the SDK.
In my app, I use the EmailComposeTask and SmsComposeTask where required. When debugging my app in the emulator, I click a button which runs one of these tasks, and it works. But when I then push the back button to get out of the task and back to my app, the app state is lost - it's as if I am launching it fresh all over again.
But, where it gets weird, is that on occasion this doesn't happen. I have gone back from one of the Tasks more than once to find my app state exactly how I left it.
And so, my questions:
Is this just a bug with the emulator?
If not, why is not consistent, and how should I be "saving" my app state prior to call the Email or SMS task?
Thanks.
Your page is being tombstoned which is why it seems like your application has restarted. This basically means that your app is still stored on the stack, ready to be called, but pages state and other data information is lost. To fix this, you need to handle the serialization of any data you want to keep.
For transient data, like page state things (e.g. textboxes, checkbox etc..), you can use PhoneApplicationPage.State. I believe the limit is 2mb. If you need to store more, you should store it in Isolated Storage (unlikely, unless you need to save an image). You can read about the process here. To understand the process of Tombstoning, you should read this MSDN page. To save time, you can use Tombstone Helper which handles all the lower level storage details for you, but it's a good idea to understand the process of Tombstoning anyway so you know what's going on.
The reason your app doesn't always get tombstoned is because EmailComposeTask doesn't cause a tombstone straight away. From this MSDN blog post:
Below is the list of native
experiences that, when invoked, do not
trigger an automatic tombstone in the
calling application:
PhotoChooserTask
CameraCaptureTask
MediaPlayerLauncher
EmailAddressChooserTask
PhoneNumberChooserTask
There are three scenarios in which an
application in the background will
immediately be tombstoned:
User forward navigates away from an application [for example, user
presses the Start key]
Application invokes launchers or choosers not listed above
System requires more resources to carry out a foreground activity
As you can see, that's not to say EmailComposeTask will never cause a tombstone, so you should still handle it, but it explains why your page state is sometimes kept automatically.

Issues in "WP7" Sudden Tombstoning

I am facing some issues in WP7 tombstoning. My issue is application hangs when i try for a sudden tombstone and come back. ie, After loading the page i press device menu button and with in seconds i pressed back button( Pressed Back button before the actual page disappeared) In that time the page loads but the application hangs / its back key press is not working. and if we try for a slow thombstone it is working perfectly. And the pretty interesting thing is that, while tombstoning the loaded and unloaded events of APP working perfectly. Please any one help me to solve this issue.
It sounds like your App has been deactivated, but not tombstoned. This results in neither the App or Page contrusctor being called, causing your app to act in unexpected ways. I highly recommend reading the Windows Phone Silverlight Application Life Cycle document. The relevant extract for said article:
This case can occur if the user
presses the Start and Back buttons on
the phone in quick succession. In this
case, the application received a
Deactivate event and the system was
starting to save the state of the
application to perform an application
tombstone. Before this operation is
completed, the app Activated event is
received. The system knows that the
application was not removed from
memory, so the flow of execution is
different. Specifically:
• The app constructor is not called.
• The page constructor is not called.
The only way for the application to determine
if this condition has occurred is to
set a flag to indicate if the page
constructor has been called. If you
notice in the above section, this flag
was set in the page constructor, and
cleared in the OnNavigateFrom event.
In this case, we will receive the
OnNavigatedTo event, but we will see
that the page constructor was not
called. This tells us that our
application was not tombstoned.

Resources