Bug 317337 - tooltips are not working in KWin declarative scripts
Summary: tooltips are not working in KWin declarative scripts
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: scripting (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 16:21 UTC by Michail Vourlakos
Modified: 2021-12-07 04:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2013-03-25 16:21:08 UTC
When I tried to enable the tooltips for the WorkFlow kwin script then the script because almost unusable. I dont know if this should work on not.

Reproducible: Always
Comment 1 Thomas Lübking 2013-03-25 16:27:24 UTC
"then the script because almost unusable."

This severely a verb ;-P

Please kinda elaborate on
a) what you trigger
b) what is the result

Maybe post a snippet from your script (or a pointer to the code)
Comment 2 Martin Flöser 2013-03-25 18:52:48 UTC
c) was that when you indirectly loaded kwindowsystem?
Comment 3 Michail Vourlakos 2013-03-25 20:16:17 UTC
I will provide feedback around this the next days.

Martin yes,
c) it was before disabling the kwindowsystem signals
Comment 4 Martin Flöser 2013-03-25 20:29:32 UTC
ok, then please try again :-)
Comment 5 Michail Vourlakos 2013-03-26 16:26:27 UTC
Well an update here... The problem remains....
an example code:
------------------------------------------
                MouseArea{
                    id:mouseArea
                    anchors.fill:parent
                    hoverEnabled: true

                    onClicked:{
                        ...................
                    }
               }

           PlasmaCore.ToolTip{
                mainText:  i18n("Unlock Activities") 
                subText: i18n("Unlock Activities to enable editing.") 
                target: lockerToolBtnMouseArea
            }
---------------------
Behavior:
The tooltip is not appearing at all and the "mouseArea" does not work anymore,
for example onClicked is not triggered. If I add onEntered or onExited for the "mouseArea"
then these are not triggered either. In the plasmoid this behavior does not exist.
Comment 6 Martin Flöser 2013-03-26 16:52:21 UTC
ah a Plasma ToolTip. They won't work, they are managed so they are stacked underneath the script window. Also probably they don't work at all because KWin cannot manage its own windows.

I thought you meant a "normal" tooltip, which is unmanaged and should work.
Comment 7 Andrew Crouthamel 2018-11-10 03:12:47 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-11-20 04:00:17 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 9 kde.org 2021-11-07 00:41:41 UTC
This issue report is quite old. Can you please confirm, that it still persists with Plasma 5.23?
Comment 10 Bug Janitor Service 2021-11-22 04:38:35 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 11 Bug Janitor Service 2021-12-07 04:36:15 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!