<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV =&gt; 4.1.1</li>
<li>Operating System / Platform =&gt; ubuntu 18.4  jetson nano xavier vx jetpack 4.4 DP[l4T 32.4.2]</li>
<li>Compiler =&gt; g++</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">The code to set the windows fullscreen is not work when in jetson nano xavier vx.<br>
And the code to freeratio the windows is also not work in this platform.<br>
It is aarch64 frame.</p>
<h5 dir="auto">Steps to reproduce</h5>
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV =&gt; 3.1</li>
<li>Operating System / Platform =&gt; Linux Ubuntu 16.04</li>
<li>Compiler =&gt; gcc</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">On GTK, calling <code class="notranslate">cv::setWindowProperty(name, WND_PROP_FULLSCREEN, WINDOW_FULLSCREEN)</code> will only enforce the window to go fullscreen <em>if</em> the current property value on that window is <code class="notranslate">WINDOW_NORMAL</code>). This is can also be observed in the highgui GTK source code <a href="https://github.com/opencv/opencv/blob/9e6ef99422d5594dff5f30e4b6f1c695e78ce67e/modules/highgui/src/window_gtk.cpp#L744">here</a>.</p>
<p dir="auto">I discovered this after trying to force a window to fullscreen with <code class="notranslate">setWindowProperty</code>, since <code class="notranslate">cv::namedWindow(name, WINDOW_FULLSCREEN)</code> was not making a fullscreen window.</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">The following lines will not produce a fullscreen window:</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="namedWindow(name, WINDOW_FULLSCREEN);
setWindowProperty(name, WND_PROP_FULLSCREEN, WINDOW_FULLSCREEN);
imshow(name, frame);"><pre class="notranslate"><span class="pl-en">namedWindow</span>(name, WINDOW_FULLSCREEN);
<span class="pl-en">setWindowProperty</span>(name, WND_PROP_FULLSCREEN, WINDOW_FULLSCREEN);
<span class="pl-en">imshow</span>(name, frame);</pre></div>
<p dir="auto">The following lines <em>will</em> produce the desired fullscreen result:</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="namedWindow(name, WINDOW_NORMAL);
setWindowProperty(name, WND_PROP_FULLSCREEN, WINDOW_FULLSCREEN);
imshow(name, frame);"><pre class="notranslate"><span class="pl-en">namedWindow</span>(name, WINDOW_NORMAL);
<span class="pl-en">setWindowProperty</span>(name, WND_PROP_FULLSCREEN, WINDOW_FULLSCREEN);
<span class="pl-en">imshow</span>(name, frame);</pre></div>