termux / termux-x11

Termux X11 add-on application.
https://termux.dev
GNU General Public License v3.0
1.85k stars 290 forks source link

App window title bar #581

Closed testman42 closed 4 months ago

testman42 commented 4 months ago

On LineageOS 21 (Android 14), the app window has a titlebar on the external display or in the freeform mode. So while the "Fullscreen on device display" option in the termux-x11 settings does work fine, it makes it so that small part of the top of the X11 desktop gets hidden under the titlebar. I would take a screenshot if I knew how to take screenshots of the external display. Anyway, i went to check if there are any applications that manage to remove the titlebar on themsleves when in fullscreen. NewPipe does not manage to remove it, but it does make it transparent, so that the video content under it is still visible. VLC seems to remove it properly, making the playing video take up whole available screen.

twaik commented 4 months ago

Unfortunately I can not identify the piece of code in VLC which makes this possible.

twaik commented 4 months ago

Can you please record your screen to show what exactly you are talking about?

twaik commented 4 months ago

@testman42 Unfortunately I can not find any AVD or Virtualbox images of LineageOS 21. You should help here.

testman42 commented 4 months ago

This is how things look for me on LOS21, FP4, USB dock, HDMI monitor. Firefox (Fenix): notice the black title bar at the top NewPipe: still visible buttons, but video takes up the whole screen VLC: same video, but no titlebar however, I suspect that this is some casting wizardry, as here the video does not play inside the application window, but apparently outside of it. As application window shows can be opened on the phone screen and it shows some "casting" icon and playback controls

testman42 commented 4 months ago

Why is this important to me? because I have to use termux-x11 in a "windowed" mode if the "Fullscreen on device display" is enabled, then the tabs in desktop Firefox get hidden under Android titlebar.

twaik commented 4 months ago

Probably you should try to find some other opensource application that can do the fullscreen magic. Otherwise I will not be able to help you and will close the issue.

twaik commented 4 months ago

I am considering this as device or custom firmware quirk since other programs which are normally can use fullscreen feature fail to use fullscreen on your device. You should file a bug to LineageOS authors or XDA thread where you got this firmware. One more reason to close the issue is the lack of activity.