Bug 246281

Summary: Geometry issues - content larger than background
Product: [Unmaintained] plasma4 Reporter: Elias Probst <mail>
Component: widget-weatherAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: arojas, cyberbeat, heri+kde, pfeiffer, Ronny.Standtke, shawn.starr
Priority: NOR    
Version First Reported In: 4.8.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot showing the geometry issues of the weather applet
screenshot with dejavu font
screenshot with liberation font

Description Elias Probst 2010-07-30 16:11:53 UTC
Created attachment 49682 [details]
Screenshot showing the geometry issues of the weather applet

Version:           unspecified (using KDE 4.4.95) 
OS:                Linux

The weather applet has some rendering/geometry issues.
The content overlaps at the right border and the background isn't resized accordingly.

Reproducible: Always

Steps to Reproduce:
1.) Add the weather applet to your desktop
2.) Open the configuration dialog
3.) Use 'stuttgart' as search term
4.) Apply the settings

Actual Results:  
See attached screenshot.

Expected Results:  
The background is resized accordingly to the larger content or the content is rendered in a way that it fits the size of the background box.
Comment 1 Ronny Standtke 2010-08-03 14:27:17 UTC
Same problem here. Probably triggered by the unnecessary long credits line "Mit freundlicher Unterstützung ..." at the bottom of the plasmoid.
Comment 2 Aaron J. Seigo 2010-09-07 07:32:37 UTC
*** Bug 250368 has been marked as a duplicate of this bug. ***
Comment 3 Antonio Rojas 2010-10-06 10:47:38 UTC
I'm seeing this with the dejavu font. When using the narrower liberation or droid fonts it displays fine. Seems like it's not considering the font metrics correctly when computing the width
Comment 4 Antonio Rojas 2010-10-06 10:48:32 UTC
Created attachment 52262 [details]
screenshot with dejavu font
Comment 5 Antonio Rojas 2010-10-06 10:49:08 UTC
Created attachment 52263 [details]
screenshot with liberation font
Comment 6 Thijs 2012-01-20 17:21:50 UTC
*** Bug 255788 has been marked as a duplicate of this bug. ***
Comment 7 Dennis Schridde 2012-01-20 22:45:39 UTC
I can confirm this on one of my machines, where the weather plasmoid is part of a newspaper activity.
Comment 8 Myriam Schweingruber 2012-05-17 11:44:35 UTC
Dennis: which version can you confirm that with?
Comment 9 Dennis Schridde 2012-05-18 10:06:21 UTC
At that time I was at Ubuntu 11.10, which means it was KDE 4.7. I am currently at Ubuntu 12.04 and KDE 4.8.2 and do not see the issue at the moment. Will reopen if the issue reappears.
Comment 10 Myriam Schweingruber 2012-05-19 22:10:21 UTC
Thank you for the fast feedback.