You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
The function below doesn't release the drawing context it uses to get the Device Capabilities which could lead to instability -- Windows will allocate memory for new ones (unless you change the CEF Window class to use a shared DC).
Even though this is only called once per Window, each new Debugger Window, Popup window (PSDLens Cloud Login), or using Debug > New Brackets Window will create a new window and eventually Brackets will run out of handles.
UINTcef_window::GetDPIScalingX() const
{
HDCdc=GetDC();
floatlpx=dc ? GetDeviceCaps(dc,LOGPIXELSX):DEFAULT_WINDOWS_DPI ;
//scale factor as it would look in a default(96dpi) screen. the default will be always 96 logical DPI when scaling is applied in windows.//see. https://msdn.microsoft.com/en-us/library/ms701681(v=vs.85).aspx return (lpx/DEFAULT_WINDOWS_DPI)*100;
}
The text was updated successfully, but these errors were encountered:
@abose Can you look into this for 1.3? (Looks like this code is yours)
Lowering priority to Medium though, since opening new windows is a fairly uncommon workflow in Brackets currently, making the impact of this likely to be rare in practice.
adobe/brackets/issues/10707:
The function doesn't release the drawing context it uses to get the
Device Capabilities which could lead to instability -- Windows will
allocate memory for new ones (unless you change the CEF Window class to
use a shared DC).
Even though this is only called once per Window, each new Debugger
Window, Popup window (PSDLens Cloud Login), or using Debug > New
Brackets Window will create a new window and eventually Brackets will
run out of handles.
adobe/brackets/issues/10707:
The function doesn't release the drawing context it uses to get the
Device Capabilities which could lead to instability -- Windows will
allocate memory for new ones (unless you change the CEF Window class to
use a shared DC).
Even though this is only called once per Window, each new Debugger
Window, Popup window (PSDLens Cloud Login), or using Debug > New
Brackets Window will create a new window and eventually Brackets will
run out of handles.
The function below doesn't release the drawing context it uses to get the Device Capabilities which could lead to instability -- Windows will allocate memory for new ones (unless you change the CEF Window class to use a shared DC).
Even though this is only called once per Window, each new Debugger Window, Popup window (PSDLens Cloud Login), or using
Debug > New Brackets Window
will create a new window and eventually Brackets will run out of handles.The text was updated successfully, but these errors were encountered: