Bug 395520

Summary: Konsole KPart blur does not work/incorrect warning message
Product: [Applications] konsole Reporter: RaitaroH <RaitaroHikami>
Component: kpartAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dashonwwIII, hector.acosta, kitts.mailinglists, muesli, nate, nickbryda, null, p3dimaria, per.wigren, warbeaver
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The warning

Description RaitaroH 2018-06-17 10:28:49 UTC
Created attachment 113386 [details]
The warning

So if I go to "Edit current profile", "Appearance", edit "Breeze" and choose the blur effect to be used I get the warning attached.

I keep the same profile for konsole instances too. The blur works in the konsole but does not work in yakuake. It does not matter if I open a new tab or I restart yakuake.
Comment 1 Eike Hein 2018-06-18 10:24:42 UTC
The Konsole Kpart doesn't have support for blur.
Comment 2 Patrick Silva 2018-06-18 12:26:43 UTC
*** Bug 395547 has been marked as a duplicate of this bug. ***
Comment 3 Kurt Hindenburg 2018-07-05 14:47:55 UTC
18.04+ has a call apps can make to determine if the profile has blur enabled.  As I understand it, the app is responsible for enabling blur in its code (mainwindow), not konsole kpart.

The "warning" message is an error in the konsole kpart code.
Comment 4 Christian Muehlhaeuser 2018-07-05 15:51:14 UTC
If that's the case, why is there a "Blur" setting in the profile setting? Shouldn't it be an application setting then?
Comment 5 Kurt Hindenburg 2018-07-06 23:49:11 UTC
No, each Konsole profile can enable blur or not.
Comment 6 Christian Muehlhaeuser 2018-07-06 23:52:44 UTC
So this needs another report for Yakuake because it's not correctly enabling blur even though it's enabled in the konsole kpart?
Comment 7 Kurt Hindenburg 2018-07-07 00:14:18 UTC
yes, each app using Konsole KPart needs to check if the current profile has blur enabled.
I'll add the check to the tests/demo_konsolepart code

    QMetaObject::invokeMethod(_terminalPart, "isBlurEnabled",
                              Qt::DirectConnection,
                              Q_RETURN_ARG(bool, blurEnabled));
    KWindowEffects::enableBlurBehind(winId(), blurEnabled);


The incorrect error message needs fixed in Konsole.
Comment 8 Kurt Hindenburg 2018-07-07 00:17:25 UTC
Git commit 1b49c1ab40d223e6029879d31d50a0086eb73d06 by Kurt Hindenburg.
Committed on 07/07/2018 at 00:15.
Pushed by hindenburg into branch 'master'.

For demo_konsolepart, enable blur from the profile's settings

Actually use the profile's blur setting instead of just echoing it.
Note that a restart is currently needed after changing the blur setting.

M  +2    -1    src/tests/demo_konsolepart/src/demo_konsolepart.cpp

https://commits.kde.org/konsole/1b49c1ab40d223e6029879d31d50a0086eb73d06
Comment 9 Nate Graham 2018-07-13 17:06:47 UTC
*** Bug 396473 has been marked as a duplicate of this bug. ***
Comment 10 Christian Muehlhaeuser 2018-07-13 17:13:10 UTC
Nate: Is this really a dupe? Unless I misunderstood Kurt, I think he was pointing out that those are indeed two separate issues?
Comment 11 Warbeaver 2020-04-13 10:28:39 UTC
Same behavior on Plasma 5.18.3, but only with Yakuake and the Konsole tab of Dolphin, not the "regular" Konsole.
Comment 12 Nicolas Fella 2022-06-29 23:17:53 UTC
Git commit 06cfa1b77374bb3dff5116eeca5a173640caf916 by Nicolas Fella.
Committed on 29/06/2022 at 23:15.
Pushed by nicolasfella into branch 'master'.

Enable Window blur when Konsole profile has blur

Read whether or not to blur from the part

If any terminal in any session wants blur enable it on the window

This obsoletes the manual and hidden config option for this
Related: bug 418354

M  +0    -5    app/config/yakuake.kcfg
M  +2    -1    app/mainwindow.cpp
M  +12   -0    app/session.cpp
M  +3    -0    app/session.h
M  +13   -0    app/sessionstack.cpp
M  +4    -0    app/sessionstack.h
M  +2    -0    app/terminal.cpp
M  +6    -0    app/terminal.h

https://invent.kde.org/utilities/yakuake/commit/06cfa1b77374bb3dff5116eeca5a173640caf916
Comment 13 Kurt Hindenburg 2024-03-24 02:35:56 UTC
Let us know if you still have this issue on recent version.
Comment 14 Christian Muehlhaeuser 2024-03-24 05:52:34 UTC
The blur technically works now, but still shows a warning message in Yakuake's "Edit Profiile" dialog:

"Konsole was started before desktop effects were enabled. You need to restart Konsole to see transparent background."
Comment 15 Bug Janitor Service 2024-04-08 03:47:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2024-04-23 03:47:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!