Summary: | [Reproduceable] Infinite loop in panel for configuring dashboard due to increased font size or more words | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Gérard Talbot (no longer involved) <browserbugs2> |
Component: | panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | carlosdgtorres |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Graphical area of panel for configuring dashboard
Graphical area of panel for configuring dashboard in French and with a font-size of 10 |
Description
Gérard Talbot (no longer involved)
2011-08-12 01:45:50 UTC
Created attachment 62886 [details]
Graphical area of panel for configuring dashboard
The rectangular area with a bright green border is the panel which I am referring to in this bug report.
The semi-circular area with a bright green border on the right side is the cashew nut icon/image which, once clicked, pops up the panel and creates the high CPU activity and the horizontal oscillation of the inside panel.
Notice the cpu %tage activity of 69.5% in the screenshot: I had Sans Serif set to a font-size of 11 when the screenshot was taken!
regards, Gérard
I am able to reproduce this on KDE 4.7.4 on Fedora 16. The reporter is referring to the Panel Settings bar that appears when clicking on the cashew on the panel. The font size may have to be set to as much as 32 to trigger the bug. Changing to Component panel. Juan Carlos Torres,
Thank you for confirming this bug.
There are words or expressions which, once translated into a non-English language, are going to be using more, sometimes many more words. "Add a spacer" (12 characters including blank white spaces) is exactly one: "Ajouter un élément séparateur" (29 characters including blank white spaces) and this contributes to the problem.
Look at attachment 62886 [details]
"Add Widgets..." (11 characters)
is translated in French as
"Ajouter des composants graphiques ..." (33 characters)
in KDE 4.7.3 and in Kubuntu 11.10
Because French translation uses more characters, I am able to trigger this bug when setting font-size to 11.
Created attachment 66346 [details]
Graphical area of panel for configuring dashboard
in French and with a font-size of 10
As you can see in this importantissimo screenshot, the number of characters describing the customization features in the panel are at least 2 to 3 times (200% - 300%) greater than the English version and that is a contributing factor in the infinite reflow loop that I get.
This screenshot is using a font-size of 10. For french, anything above 10 will trigger such infinite reflow loop.
"Ajouter des composants graphiques..." is 36 characters, not 33 characters unless you exclude the ellipsis "...". Git commit 1c8a8958528bd15422162aec8a2e6f731b240236 by Marco Martin. Committed on 16/12/2011 at 14:18. Pushed by mart into branch 'master'. use font metrics to decide if the text is enabled using the kayout size hint causes a loop because the hint will be smaller when the text is off BUG:279935 M +14 -1 plasma/desktop/shell/panelcontroller.cpp http://commits.kde.org/kde-workspace/1c8a8958528bd15422162aec8a2e6f731b240236 Marco, You resolved this bug report as fixed 5 weeks ago. I am now using KDE 4.8.0 and I can still reproduce the bug. Can you update the "Version fixed in" field please? Thanks! Gérard Marco, I installed some new plasma-widgets-addons and plasma-widget-kimpanel packages a few min. ago and rebooted and the bug has been fixed. Thank you! The words describing the actions in the panel have been iconographized, logographized, pictographized: eg Add a widget has been replaced by a bright green "+" sign (and it does not have any tooltip text describing it). From an usability stand point, I am not sure this is a wise choice, a good decision, especially for beginners on KDE. Marking as VERIFIED Hello! Plasma 4 was replaced by Plasma 5 four years ago by the KDE community. In that time we have made great strides in stability and functionality. We are closing all Plasma 4 bugs as most of them are no longer applicable to the new frameworks Plasma 5 is built upon. If you could, please re-test with the latest version of Plasma 5, and submit a new bug to "plasmashell" if you continue to have an issue. Thank you! |