[Bug 158409] clicking in clock in system tray does not show a calendar anymore

David StormByte at gmail.com
Fri Mar 28 18:35:43 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158409         




------- Additional Comments From StormByte gmail com  2008-03-28 18:35 -------
Sorry for my last report, I replied to the mail I received from bugzilla instead of posting bug directly.
I've got a hint about this issue.
Since removing this applet, and readding solves this issue, I think the problem is in some initialization issues between Clock and ~Clock, maybe when system loads, something can't be initializated well, and when destroyed and recreated object, is OK.
I've been looking at the code, but since my level of C++ is not much I couldn't discover the real source. I've seen that is calls m_calendar.show() and I've been looking too at Qt documentation.

I found:
Calling setVisible(true) or show() sets the widget to visible status if all its parent widgets up to the window are visible. If an ancestor is not visible, the widget won't become visible until all its ancestors are shown. If its size or position has changed, Qt guarantees that a widget gets move and resize events just before it is shown. If the widget has not been resized yet, Qt will adjust the widget's size to a useful default using adjustSize().

As I said before, this problem can be solved by removing widget and recreating so maybe some "ancestor" is not visible (maybe because when loading all KDE stuff this widget loads before something...). Is this possible?


More information about the Panel-devel mailing list