Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tribler window cannot restore fullscreen mode after reopening #7458

Closed
nullptr-deref opened this issue Jun 3, 2023 · 9 comments
Closed

Tribler window cannot restore fullscreen mode after reopening #7458

nullptr-deref opened this issue Jun 3, 2023 · 9 comments

Comments

@nullptr-deref
Copy link

Description
After setting Tribler window to fullscreen mode and reopening it, it opens strangely resized instead of being opened fullscreen again.

Reproduction

  1. Open Tribler.
  2. Enter fullscreen mode (click 2nd button on the top right side of the Windows window).
  3. Exit Tribler entirely and reopen it.
  4. Window appears non-fullscreen but resized awkwardly to fit entire screen.

Expected behavior
Window should appear in a fullscreen mode.

Screenshots
This is how Tribler window looks like right before closing it (as you can see, it fits available screen space properly)...
How Tribler window looks like right before closing

...And this is how it looks like after reopening (pay attention that desktop background is visible on the left side of the screen, between taskbar and actual Tribler window).
Tribler window after reopening

As you can see, it's translated somehow inappropriately and with fullscreen mode disabled.

Desktop (please complete the following information):

  • OS: Windows 10 Pro 22H2
  • Tribler's version: 7.12.1 stable

Additional context
As far as I've understood, Tribler window remembers its size and position and writes it to GUI settings. I suppose additional field remembering whether it was closed while being opened fullscreen or not should fix the problem.

@xoriole xoriole added this to the 7.14.0 milestone Jun 5, 2023
@drew2a
Copy link
Contributor

drew2a commented Sep 5, 2023

I can not reproduce it on macOS (tried both 7.12 and 7.13)

@nullptr-deref
Copy link
Author

Seems like this issue appears only under Windows. Will try to install Tribler under Arch Linux and see what'll happen.

@nullptr-deref
Copy link
Author

Btw, is there any way to install Tribler under Arch Linux properly? Couldn't manage to do it 'cause pacman repos don't have anything near to python[3]-libtorrent so script makedist_debian.sh fails with the following message:

ERROR: Could not find a version that satisfies the requirement libtorrent==1.2.15 (from versions: none)
ERROR: No matching distribution found for libtorrent==1.2.15

My system is Arch Linux x86_64, kernel: 6.4.3-arch1-1.

@drew2a
Copy link
Contributor

drew2a commented Nov 13, 2023

Btw, is there any way to install Tribler under Arch Linux properly?

We don't support Arch Linux (see supported distributions here), but you can try to build libtorrent from source: https://github.com/arvidn/libtorrent/blob/RC_2_0/docs/building.rst

@nullptr-deref
Copy link
Author

Ah, I see. Will try in a couple of days.

Copy link

This issue has not seen activity for 60 days. It is now marked as stale. Please provide additional information or this issue may be closed in the future. We value your contribution and would love to hear more!

@heldersepu
Copy link
Contributor

Just tested on Ubuntu & is working as expected

@nullptr-deref What if you manually resize the window to a fullscreen size then exit and reopen...

I get a feeling that this issue is windows been weird and not reporting a the resize when clicking the , then tribler does not update the size in the gui_settings, also can you check the value of size in your ~/.config/nl.tudelft.tribler.conf

you should see something like:

family_filter=true
first_discover=true
last_reported_version=7.13.3
minimize_to_tray=false
pos=@Point(578 644)
size=@Size(2149 1119)
translation=@Invalid()
use_monochrome_icon=true

pos and size are the interesting values there from your side

Copy link

github-actions bot commented Aug 4, 2024

This issue has not seen activity for 60 days. It is now marked as stale. Please provide additional information or this issue may be closed in the future. We value your contribution and would love to hear more!

@qstokkink
Copy link
Contributor

Tribler now has a web-based front end and this issue is no longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants