View Bug Details

IDProjectCategoryView StatusLast Update
0002641DCP-o-maticBugspublic2024-02-16 09:00
Reportercarl Assigned Tocarl  
PriorityhighSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
Target Version2.16.x 
Summary0002641: Picture is stretched/squashed when changing the preview window size on macOS
Description

Only in OpenGL mode. The size of the preview is totally messed up.

Tagsemail
Branchmetal
Estimated weeks required
Estimated work requiredMajor

Activities

carl

2023-10-28 22:00

administrator   ~0006051

Not sure if they meant the player or the main DoM.

carl

2023-10-29 00:10

administrator   ~0006052

In the main application.

carl

2023-10-29 22:27

administrator   ~0006054

Seems OK on Linux.

carl

2023-10-29 22:50

administrator   ~0006055

On macOS the inter_size etc. in GLVideoView::set_image look right but on screen the image is the right width but not high enough (683x252 when it should be 684x370).

carl

2023-10-30 01:20

administrator   ~0006056

Tried with wxWidgets 3.2.3 and it makes no difference to this bug.

carl

2023-10-30 23:59

administrator   ~0006058

Player does the same thing.

carl

2023-11-01 00:47

administrator   ~0006059

No idea what is going on here. Maybe try to check with no texture, to see if that's somehow the problem.

carl

2023-11-06 00:07

administrator   ~0006061

After making the DoM player more and more like the working "cube" sample it seems that the bug can be fixed by replacing WXGLSetCurrentContext(_context->GetWXGLContext()) with _context->SetCurrent(*_canvas).

But doing the same fix with the separate render thread causes a lot of problems. Maybe this thread is related: https://forums.wxwidgets.org/viewtopic.php?t=48301

Perhaps the only solutions are to a) single-thread the GL viewer (so make it work like the simple one) or b) use Metal (maybe?)

carl

2024-01-03 17:17

administrator   ~0006188

Dropping priority since it's a lot of work and fairly edge-casey.

carl

2024-02-04 20:20

administrator   ~0006308

Looking at metal backend on metal branch while I have a new mac.

Bug History

Date Modified Username Field Change
2023-10-28 21:59 carl New Bug
2023-10-28 21:59 carl Assigned To => carl
2023-10-28 21:59 carl Status new => acknowledged
2023-10-28 22:00 carl Status acknowledged => feedback
2023-10-28 22:00 carl Note Added: 0006051
2023-10-29 00:10 carl Note Added: 0006052
2023-10-29 00:10 carl Status feedback => acknowledged
2023-10-29 21:12 carl Severity major => block
2023-10-29 21:12 carl Status acknowledged => confirmed
2023-10-29 21:12 carl Description Updated
2023-10-29 21:12 carl Estimated work required => Undecided
2023-10-29 21:12 carl Reproducibility have not tried => always
2023-10-29 22:27 carl Note Added: 0006054
2023-10-29 22:50 carl Note Added: 0006055
2023-10-30 01:20 carl Note Added: 0006056
2023-10-30 23:59 carl Note Added: 0006058
2023-11-01 00:47 carl Note Added: 0006059
2023-11-06 00:07 carl Note Added: 0006061
2023-11-18 20:42 carl Estimated work required Undecided => Major
2023-11-19 21:35 carl Severity block => major
2023-11-19 21:38 carl Target Version 2.16.67 => 2.16.68
2023-11-24 12:24 carl Target Version 2.16.68 => 2.16.69
2023-11-27 21:30 carl Target Version 2.16.69 => 2.16.70
2023-11-27 23:37 carl Tag Attached: email
2023-12-02 19:58 carl Target Version 2.16.70 => 2.16.71
2023-12-31 19:37 carl Target Version 2.16.71 => 2.16.x
2024-01-03 17:17 carl Priority urgent => high
2024-01-03 17:17 carl Note Added: 0006188
2024-02-04 20:19 carl Branch => metal
2024-02-04 20:20 carl Note Added: 0006308
2024-02-16 08:59 carl Tag Attached: player
2024-02-16 09:00 carl Tag Detached: player