View Issue Details

IDProjectCategoryView StatusLast Update
0000670madVRbugpublic2021-07-05 12:12
Reporterkasper93 Assigned To 
Status newResolutionopen 
Summary0000670: Zoom Control breaks DVD menu overlay placement

When DVD menu is cropped by zoom control both button placement and button highlight are not aligned with video. There are two issues, they are related to the same things that crop info is not passed through, but since the behavior is different, lets mention both:

A) Button area (clickable area) is offset by the amount of pixels that were cropped. It it quite understandable it the cropped area is not take into account. The button area and position is scaled with the player window.

B) Button highlight (shadow that is drawn on hover or whatever other effect) is drawn with unscaled size and position from top left corner. So if the player window is enlarged highlights are not scaled, positioned accordingly.

Both issues are resolved when zoom control is disabled.

TagsNo tags attached.
madVR Versionv0.92.17
Media Player (with version info)MPC-HC
Splitter (with version info)LAV
Decoder (with version info)LAV
Deinterlacingnone (progressive)
DXVA2 Scaling Activeno
Aero / Desktop CompositionOn
Problem occurs with modewindowed mode
GPU ManufacturerAMD
GPU Model5700xt
GPU Driver Version21.5.2



2021-07-05 08:49

administrator   ~0002813

It has been many many years since I looked into DVD menus. From what I recall there are 2 different DirectShow interfaces I can use for things like this (I don't remember what they were called). I'm still using the "older" one, which I think it also used by VMR7. But I think EVR uses the newer one. I think the newer one would work better with zoom control, but switching to the newer one would be a *LOT* of work. So unfortunatetely, I fear there's no easy fix for this problem atm...


2021-07-05 12:12

reporter   ~0002814

Sure, I understand it is not a high priority issue. I just wanted to document it somewhere, because in fact I recall seeing the same issue for years.

One question tho, I understand that cropping might be tricky depending on how it works with DVD menus. But at least the overlay could be resized? Because it works without zoom control, but when cropping is done it stays unscaled. I mean alignment would still be wrong because of cropped pixels in video that offsets things, but maybe it is just single call to set target size correctly?

Anyhow, I get it would take time to investigate. Maybe as a workaround just disable zoom control if in DVD menu? This should be rather easy and would be better user experience :)

Issue History

Date Modified Username Field Change
2021-07-05 02:27 kasper93 New Issue
2021-07-05 08:49 madshi Note Added: 0002813
2021-07-05 12:12 kasper93 Note Added: 0002814