Bug 183696 - Singleton classes (e.g. Plasma::ToolTipManager) do not work in ruby kde bindings
Summary: Singleton classes (e.g. Plasma::ToolTipManager) do not work in ruby kde bindings
Status: RESOLVED WORKSFORME
Alias: None
Product: bindings
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-08 16:47 UTC by Adam Cigánek
Modified: 2023-01-05 05:27 UTC (History)
0 users

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 Adam Cigánek 2009-02-08 16:47:46 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unlisted Binary Package

I'm writing a plasma widget in ruby. I want to use a tooltip, so i access tooltip manager like this:

Plasma::ToolTipManager.self

But the object returned by this call does not respond to any method it is suposed to (setContent, registerWidget, ...). I've found also this post which seems to describe the same problem:

http://mail.kde.org/pipermail/plasma-devel/2009-January/003444.html

the guy says the problem is fixed, but it still doesn't work for me. I'm attaching a minimal plasma applet code that exposes this bug:


require 'plasma_applet'

module PlasmaAppletMinimal
  class Main < PlasmaScripting::Applet
    def init
      tool_tip = Plasma::ToolTipContent.new
      tool_tip.main_text = 'Whatever...'

      Plasma::ToolTipManager.self.set_content(self, tool_tip)
    end
  end
end


The applet fails with "undefined method set_content for Plasma::ToolTipManager"
Comment 1 Andrew Crouthamel 2018-11-02 04:25:08 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 2 Andrew Crouthamel 2018-11-16 02:40:14 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?

Thank you for helping us make KDE software even better for everyone!
Comment 3 Justin Zobel 2022-12-06 00:57:01 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-12-21 05:18:20 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 5 Bug Janitor Service 2023-01-05 05:27:29 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!