mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 23:35:58 +03:00
[PR #269] [MERGED] Remote Desktop Fix #1068
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#1068
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/quasar/Quasar/pull/269
Author: @yankejustin
Created: 6/20/2015
Status: ✅ Merged
Merged: 6/20/2015
Merged by: @MaxXor
Base:
master← Head:RemoteDesktopFix📝 Commits (2)
0613e34Merge pull request #25 from MaxXor/master615c9dbClone Bitmap on FrmRemoteDesktop📊 Changes
2 files changed (+11 additions, -4 deletions)
View changed files
📝
Server/Core/Commands/SurveillanceHandler.cs(+2 -2)📝
Server/Forms/FrmRemoteDesktop.cs(+9 -2)📄 Description
Issue
The Remote Desktop feature was having issues. When I tried using the feature, it only gave me a black screen for both of my monitors. I noticed that, when the Form was closed and re-opened, it also gave me no monitors to use.
Changes
I have added an additional parameter to the Remote Desktop Form's
UpdateImagemethod. This new parameter is optional (defaulted tofalse). This parameter is used to decide if the Bitmap provided in the first parameter should be cloned or not.Reasoning
It should be the responsibility of the Remote Desktop Form's
UpdateImageto decide whether it should clone the Bitmap anyways. This fix works because it places the cloning and the casting to a Bitmap back in a try-catch block as it was before.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.