Search

Borderless Silverlight Out Of Browser App - Maximize on Second Monitor Issue by Lee_Oades

Active

15
0
Sign in
to vote
Type: Bug
ID: 718460
Opened: 1/13/2012 8:39:45 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
11
User(s) can reproduce this bug
I am trying to fix this problem in an application and haven't been able to find a work around. I have created a brand new app which exhibits the same problem so it isn't our app.

Basically, we have borderless out-of-browser app that when you move to a second monitor and maximize, maximizes off the screen (so the app disappears).

You can go to the Windows taskbar and right click on the running app and choose move, press an arrow key and then move the mouse to get it back - so simply choose restore. The app is running fine, it's just positioned itself incorrectly.

Has anyone fixed this issue or found a workaround?

ADDITIONAL: It happens on the Silverlight 5 Runtime only.
Details (expand)

Visual Studio/Silverlight/Tooling version

Silverlight 5

Steps to reproduce

Running on SL5 runtime.

Create A Silverlight App - version 4 or 5.
Enable running application out of the browser - checked

Out-of-Browser Settings...
Require elevated trust when running outside the browser - checked
Window Style - No Border or Borderless Round Corners

Move app to second monitor
- you'll need to provide a way to move the window e.g. add a button that increments window.Left until it's on the next monitor.

Maximize
- have another button that calls command to set WindowState to WindowState.Maximized.

App disappears off screen.

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

App disappears off screen.

Expected results

App maximizes on second monitor
File Attachments
0 attachments
Sign in to post a comment.
Posted by _keith on 4/4/2012 at 1:43 AM
To recreate this download the out of browser sample from this blog post: http://blogs.msdn.com/b/silverlight_sdk/archive/2010/05/24/creating-a-custom-out-of-browser-window-in-silverlight-4.aspx. Run the sample on a multi monitor machine, drag the windows to another screen and click the maximize button. You'll see the window maximized to another monitor or off all monitors, i.e. not the current monitor.
Posted by _keith on 4/3/2012 at 5:55 AM
Bump, any update on this?
Posted by MS-Moderator10 [Feedback Moderator] on 1/15/2012 at 8:03 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 1/13/2012 at 9:44 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.