View Issue Details
|0000670: 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.
|No tags attached.
|Media Player (with version info)
|Splitter (with version info)
|Decoder (with version info)
|DXVA2 Scaling Active
|Aero / Desktop Composition
|Problem occurs with mode
|GPU Driver Version
|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...
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 :)