Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-11-26 03:42:01

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

[SOLVED] Show hidden window title when maximized on hover

When the option "Hide title of windows when maximized" is checked, is it possible to make the title visible again when hovering on top of it; a functionality similar to that of the panel when "Automatically hide the panel" is set to "Always"?

Last edited by ExEfSiiIi123 (2023-11-29 08:44:16)

Offline

#2 2023-11-26 03:57:18

JayGursky
Member
Registered: 2023-07-04
Posts: 19

Re: [SOLVED] Show hidden window title when maximized on hover

I don't know if there is a ready to use functionality for that, but it's probably doable with some programming.
A (somehow) similar plugin mentioned here
https://wiki.archlinux.org/title/Xfwm#Tips_&_Tricks
is xfce4-windowck-plugin
https://gitlab.xfce.org/panel-plugins/x … wck-plugin
that shows the title "of active or maximized windows on the panel".

Offline

#3 2023-11-26 05:43:27

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

Re: [SOLVED] Show hidden window title when maximized on hover

Hmm, that is interesting. However, I have my panel at the bottom and the title bar at the top, so moving the title to the bottom (or the panel to the top) would most likely mess with my workflow annoyingly. Still, thanks for the suggestion, might try it out to see how it works.

Offline

#4 2023-11-26 08:10:08

JayGursky
Member
Registered: 2023-07-04
Posts: 19

Re: [SOLVED] Show hidden window title when maximized on hover

I don't know about Linux Mint, but my XFCE allows to have up to 4 panels. So I just go to "Panel Preferences" and in the drop-down select "Panel 2" (or 3 or 4). Put it at the top, make it always hidden, set its appearance etc. and put there that plugin ("Window header - Title" and "Window header - Buttons"), and it works like you wanted.

Offline

#5 2023-11-29 08:44:05

ExEfSiiIi123
Member
Registered: 2023-11-26
Posts: 9

Re: [SOLVED] Show hidden window title when maximized on hover

Indeed it does, and it looks great! I had completely forgotten multiple panels can be placed simultaneosly, simply marvelous. Only two things hinder my complete satisfaction with it: it cannot use the theme's own minimize/maximize/close buttons and instead has its own (which seems to be a known "issue"); and my old friend Gnome/CSDs, the titlebar of which cannot be hidden with the option I mentioned in my first post and it just lingers there regardless. Other than that, I'm surprised how well it works and looks! Thanks for the help and recommendation!

Last edited by ExEfSiiIi123 (2023-11-29 08:46:52)

Offline

#6 2023-11-29 09:41:13

JayGursky
Member
Registered: 2023-07-04
Posts: 19

Re: [SOLVED] Show hidden window title when maximized on hover

There is a version "with theme support":
https://github.com/twa022/xfce4-windowck-plugin

(and just in case the package for Arch Linux):
https://aur.archlinux.org/packages/xfce … me-support

It lacks some latest updates, but generally it works well. In particular, it might need to be refreshed sometimes to show recently changed title, and it doesn't show the application's icon (only the drop-down arrow), but at least you can set any theme and the buttons will be in accordance.

Indeed it's a useful thing to have.

To have the panel appear/disappear momentarily I have set

#XfcePanelWindow {
   -XfcePanelWindow-popup-delay: 0;
   -XfcePanelWindow-popdown-delay: 0;
}

in ~/.config/gtk-3.0/gtk.css

PS. Individual settings for panels can be set in Xfconf Settings Editor or via CLI:
https://askubuntu.com/a/1407148

Last edited by JayGursky (2023-11-29 09:44:50)

Offline

#7 2023-12-06 03:10:19

chang-zhao
Member
Registered: 2023-11-20
Posts: 35

Re: [SOLVED] Show hidden window title when maximized on hover

For me that plugin is buggy. It often crashes (even though usually restarts, it's a waste of resources). Sometimes it doesn't show the title and needs to be refreshed manually. I guess it uses some ancient methods or doesn't handle some window operations like being closed or moved to another workspace.

So I made another program to show icon, title and control buttons for active window:

https://codeberg.org/chang-zhao/winbut

It's in Python so you can read and modify it easily. Extensive settings and CSS. Enjoy!

Offline

Board footer

Powered by FluxBB