Hi
I'm creating a panel in the center of the screen that is toggled on/off by a button
in the taskbar. The following code works properly:
function panel_toggle {
test -z "$1" && echo missing panel id && exit 1
test ! -z "`echo $1 | sed s/[0-9]*//g`" && echo bad panel id && exit 1
CHANNEL=xfce4-panel
PANELID=$1
PROP=/panels/panel-$PANELID/autohide
if `xfconf-query -c $CHANNEL -p $PROP >/dev/null 2>&1`; then
xfconf-query -c $CHANNEL -T -p $PROP
else
xfconf-query -c $CHANNEL -n -p $PROP -t bool -s false
fi
}
BUT there is a thin line remaining in the center of the screen after the
panel is hidden. Is there any workaround to hide this artifact?
=====================
Well , determined there probably is no solution. Even when the artifact is
made invisible it is still there and when the mouse moves over it the window
pops up. When booting in the desktop has the lines showing and it
seeps through.
Thanks
Murray
[Solved] Panel artifact remains after hiding
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Panel artifact remains after hiding
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 6
- Posts: 1491
- Joined: Fri Feb 22, 2013 5:18 pm
- Location: United States
Re: Panel artifact remains after hiding
You could make it 100% transparent when it is not in use. It'll still be there, you just won't see it.
Regards,
MDM
Regards,
MDM
Mint 18 Xfce 4.12.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
Re: Panel artifact remains after hiding
Thanks for the reply.
That's the kind of response I was looking for.
It seems you need compiz for that, want to stick with
xfwm as it is lightweight.
Thanks for the suggestion though.
Murray
That's the kind of response I was looking for.
It seems you need compiz for that, want to stick with
xfwm as it is lightweight.
Thanks for the suggestion though.
Murray
-
- Level 6
- Posts: 1491
- Joined: Fri Feb 22, 2013 5:18 pm
- Location: United States
Re: Panel artifact remains after hiding
Hmm...zargon12 wrote:It seems you need compiz for that
My three panels are translucent (50% opacity). Right-click on a panel, choose "Panel Preferences," select the panel you wish to modify, select the "Appearance" tab, and adjust either or both Opacity sliders (Enter and Leave) to suit.
At least that's how I did it. I do NOT have compiz installed; I use Xfce's native one.
Regards,
MDM
Mint 18 Xfce 4.12.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
Re: Panel artifact remains after hiding
Thanks
My Appearance settings for transparency are greyed out . Says at the bottom:
Enable compositing for transparency settings.
Murray
My Appearance settings for transparency are greyed out . Says at the bottom:
Enable compositing for transparency settings.
Murray
-
- Level 6
- Posts: 1491
- Joined: Fri Feb 22, 2013 5:18 pm
- Location: United States
Re: Panel artifact remains after hiding
Right. You do that here: {Menu} / Settings / Window Manager Tweaks, the tab on the far right.zargon12 wrote:My Appearance settings for transparency are greyed out . Says at the bottom:
Enable compositing for transparency settings.
Regards,
MDM
Mint 18 Xfce 4.12.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
Re: Panel artifact remains after hiding
Thanks again,
OK, this can work. Followed your instructions and I can
now manually change to transparent mode. It then leaves no
artifact. The next and last issue is how to set/reset
transparency programmatically in bash.
Thanks kindly
Murray
OK, this can work. Followed your instructions and I can
now manually change to transparent mode. It then leaves no
artifact. The next and last issue is how to set/reset
transparency programmatically in bash.
Thanks kindly
Murray
Re: Panel artifact remains after hiding
Ok
Have a solution. Discovered there is an Xfce Form. They had the last piece of the jigsaw.
ceate a file ~\.gtkrc-2.0 and place the following code in
style "xfce-panel-window-style"
{
# Time in miliseconds before the panel will unhide on an enter event
XfcePanelWindow::popup-delay = 100
# Time in miliseconds before the panel will hide on a leave event
XfcePanelWindow::popdown-delay = 50
# Size of autohide window in pixels
XfcePanelWindow::autohide-size = 1
}
class "XfcePanelWindow" style "xfce-panel-window-style"
Setting the authide-size to 1 did the trick.
You can also adjust the delay for window display and leave times.
You must logout for these changes to take effect.
In panel preferences you must have 'none use system style'
Happy camper, Xfce is wonderful. Hope this still works in the
next release of Xfce due in a week.
Thanks for the assistance, learned a lot.
Murray
Have a solution. Discovered there is an Xfce Form. They had the last piece of the jigsaw.
ceate a file ~\.gtkrc-2.0 and place the following code in
style "xfce-panel-window-style"
{
# Time in miliseconds before the panel will unhide on an enter event
XfcePanelWindow::popup-delay = 100
# Time in miliseconds before the panel will hide on a leave event
XfcePanelWindow::popdown-delay = 50
# Size of autohide window in pixels
XfcePanelWindow::autohide-size = 1
}
class "XfcePanelWindow" style "xfce-panel-window-style"
Setting the authide-size to 1 did the trick.
You can also adjust the delay for window display and leave times.
You must logout for these changes to take effect.
In panel preferences you must have 'none use system style'
Happy camper, Xfce is wonderful. Hope this still works in the
next release of Xfce due in a week.
Thanks for the assistance, learned a lot.
Murray
Re: Panel artifact remains after hiding
Hi
After further examination it seems the best one can do is to get rid of the
lines at the screen border by setting Appearance/Leave (Opacity) to 0.
Looks a lot cleaner.
Marking this as solved, no real solution.
Thanks
Murray
After further examination it seems the best one can do is to get rid of the
lines at the screen border by setting Appearance/Leave (Opacity) to 0.
Looks a lot cleaner.
Marking this as solved, no real solution.
Thanks
Murray