Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Broken context menu when osr mode

Post Reply
Student
Posts: 72
Joined: Tue Aug 07, 2018 9:20 am

Broken context menu when osr mode

Post by Student »

Hi Salvadordf, after update to version 108, in OSR mode, context menu always show in top left corner.

I also noticed that high dpi is now forced to activate under the scale of the system, tried these ways do not help disable high dpi for my application

Code: Select all

GlobalCEFApp.EnableHighDPISupport := false;
GlobalCEFApp.AddCustomCommandLine('force-device-scale-factor', '1');
I think high-dpi is at the level of the core chromium already is enabled.
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Broken context menu when osr mode

Post by salvadordf »

Hi,

Thanks for reporting this!

I just tested the official CEF sample application and it shows the same problem. The TChromium.OnGetScreenPoint event has normal values for viewX and viewY but the context menu ignores the values in screenX and screenY.

I just created an issue in the CEF project:
https://bitbucket.org/chromiumembedded/cef/issues/3433/windows-context-menu-fixed-at-0-0-in-osr
Post Reply