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

toggle_titlebar causes the window to vanish #1057

Open
cmaspi opened this issue Apr 13, 2024 · 8 comments
Open

toggle_titlebar causes the window to vanish #1057

cmaspi opened this issue Apr 13, 2024 · 8 comments

Comments

@cmaspi
Copy link

cmaspi commented Apr 13, 2024

When I use toggle_titlebar the following happens
image

I'm using the latest release from flatpak.

@ahrm
Copy link
Owner

ahrm commented Apr 13, 2024

I don't think I can fix this on sioyek's end (probably it is a window-manager specific thing), this probably should be fixed in Qt side.

@Aman9das
Copy link

Try this release: https://github.com/Aman9das/com.github.ahrm.sioyek/actions/runs/8679761337

And tell if the issue persists

@cmaspi
Copy link
Author

cmaspi commented Apr 16, 2024

@Aman9das it persists

@Aman9das
Copy link

Aman9das commented Apr 16, 2024

Are you on Wayland? Try Xorg n check .

I have tried to reproduce, but unable to. kindly re-install and disable extensions..

@Aman9das
Copy link

Aman9das commented Apr 17, 2024

Since wayland mandates Client side decoration. The toggle should be disabled on wayland. In my testing the titlebar isn't hidden afterall.

Regardless, @cmaspi the previous install may be causing issue, uninstall the previous install and kindly test the beta release afterwards..

@fabiooo4
Copy link

I have this problem too, but in my case this happens only if i run toggle_titlebar using the command list after opening sioyek.
If i run

$ sioyek --execute-command toggle_titlebar

or if i set toggle_titlebar as a startup command in prefs_user.config or in prefs.config everything works as expected.

@cmaspi
Copy link
Author

cmaspi commented Apr 20, 2024

@Aman9das On removing the stable version, toggle_titlebar doesn't cause the window to vanish but as you mentioned it does nothing. I'm fine with it since the beta release has a dark titlebar.

Running the command that @fabiooo4 suggested doesn't hide the titlebar for me.

I didn't check it on Xorg since I don't plan to switch to it anytime soon. Thanks for your support!

@Aman9das
Copy link

The white title bar is a result of Flatpak packaging method used, not sioyek itself. Kindly report the issue in the Flatpak manifest repo..

https://github.com/flathub/com.github.ahrm.sioyek

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

No branches or pull requests

4 participants