Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #444
Closed
Open
Issue created Mar 02, 2021 by Tushar Chaudhari@tchaudha78

The ForegroundWindow (Windows Form Host) gets Hidden and its Height gets reduced when added into a Popup Window for doing full screen.

Summary

The ForegroundWindow (Windows Form Host) gets Hidden and its Height gets reduced when added into a Popup Window for doing full screen.

Minimal project and steps to reproduce

Workflow: Add a primary Grid (x:Name="primaryGrid") and then add another Grid (x:Name="VideoGrid") with the VideoView control (x:Name="VideoView") in the Grid Add some content (Canvas for drawing) inside the VideoView Xaml node.

After clicking the full screen button at runtime remove the Grid (x:Name="VideoGrid") from the primary Grid (x:Name="primaryGrid") and add it to a new Grid (x:Name="popupContainerGrid") which is inside a Popup (x:Name="FullScreenPopup")

After this resize the Popup (x:Name="FullScreenPopup") and the Grid (x:Name="VideoGrid") to ocupy the entire screen (Full Screen)

Observed that the Video View gets resized but the content (Canvas) inside the Video View vanishes. After doing snoop observed that the ForegroundWindow (Windows Form Host) gets Hidden and its Height gets reduced.

Related WPF .net solution added to "https://github.com/tusharhub1978/VLCLIB.git" Functional steps to reproduce the behavior (if necessary):

What is the current bug behavior?

Observed that the Video View gets resized but the content (Canvas) inside the Video View vanishes. After doing snoop observed that the ForegroundWindow (Windows Form Host) gets Hidden and its Height gets reduced.

What is the expected correct behavior?

The contents (Canvas) of the VideoView mainly the ForegroundWindow (Windows Form Host) also needs to be scaled along to Video View

Does it work on other plaforms? Does it work with the official VLC apps?

did not try on other platforms

Relevant logs and/or screenshots

NA

Environment

OS: Windows 64 bit Version Win10, Win7 embeded Device: Desktop PC LibVLC version and architecture 3.0.11.0 LibVLCSharp version 3.4.9.0 LibVLCSharp.WPF 3.4.9.0

Possible fixes

Please suggest...

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance