Bug 399491 - Blur disappears when switching tabs
Summary: Blur disappears when switching tabs
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 18.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-07 17:11 UTC by alexkde
Modified: 2018-10-08 16:45 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video of Konsole tabs (3.28 MB, video/mp4)
2018-10-08 16:02 UTC, Alex Nemeth
Details
Video of the reported issue (549.94 KB, video/x-matroska)
2018-10-08 16:22 UTC, alexkde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexkde 2018-10-07 17:11:44 UTC
SUMMARY

When you open Konsole it shows a transparent and blurred background. In case you create more Konsole tabs and switch to another tab, the blurring effect vanishes for all tabs.

STEPS TO REPRODUCE
1. Enable blur for transparent windows
2. Make Konsole's background transparent
3. Open Konsole
4. Create new tabs by "Ctrl+Shift+T"
5. Switch to one another tab

OBSERVED RESULT

None of the Konsole tabs display its background blurred anymore.

EXPECTED RESULT

All backgrounds keep being blurred.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1
Comment 1 Alex Nemeth 2018-10-08 16:02:44 UTC
Created attachment 115490 [details]
Video of Konsole tabs

I don't really like saying this, but it works on my machine (see video)
Comment 2 alexkde 2018-10-08 16:22:51 UTC
Created attachment 115491 [details]
Video of the reported issue

When I recorded this video I just figured out that the blur effect also vanishes by changing the background transparency of Konsole.
Comment 3 alexkde 2018-10-08 16:25:09 UTC
> I don't really like saying this, but it works on my machine (see video)

So essentially there must be something different between our setups. :-)
Comment 4 Alex Nemeth 2018-10-08 16:33:18 UTC
(In reply to alexkde from comment #2)
> When I recorded this video I just figured out that the blur effect also
> vanishes by changing the background transparency of Konsole.
what if you enable the blur behind konsole checkbox?
Comment 5 alexkde 2018-10-08 16:39:35 UTC
> what if you enable the blur behind konsole checkbox?

This one is new to me, I have overlooked it the whole time. This indeed resolves the issue.

The now ensuing question is, why is the background blurred in the first place, if this checkbox, which controls Konsole's background transparency, is not checked by default.

This is obviously just confusing and IMHO not the correct behavior either.
Comment 6 Alex Nemeth 2018-10-08 16:42:16 UTC
(In reply to alexkde from comment #5)
> > what if you enable the blur behind konsole checkbox?
> 
> This one is new to me, I have overlooked it the whole time. This indeed
> resolves the issue.
> 
> The now ensuing question is, why is the background blurred in the first
> place, if this checkbox, which controls Konsole's background transparency,
> is not checked by default.
> 
> This is obviously just confusing and IMHO not the correct behavior either.

check your ~/.bashrc file
did you add something like this to it:


if [[ $(ps --no-header -p $PPID -o comm) =~ yakuake|konsole ]]; then
        for wid in $(xdotool search --pid $PPID); do
            xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $wid; done
fi


this is how it was done in the old days
Comment 7 alexkde 2018-10-08 16:45:21 UTC
(In reply to Alex Nemeth from comment #6)
> check your ~/.bashrc file
> did you add something like this to it:
> 
> 
> if [[ $(ps --no-header -p $PPID -o comm) =~ yakuake|konsole ]]; then
>         for wid in $(xdotool search --pid $PPID); do
>             xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set
> _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $wid; done
> fi
> 
> 
> this is how it was done in the old days

Ah! You are right again. When I move to the new system I just C&P my old .bashrc, where I enabled blur by the code you just posted.

With that everything is resolved now, thanks Alex!