Bug 349942 - Incomplete clipping of Browser-Widget, if rotated
Summary: Incomplete clipping of Browser-Widget, if rotated
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Unmaintained
Component: Web Browser (other bugs)
Version First Reported In: 5.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 351580 377093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-05 22:44 UTC by Florian
Modified: 2020-01-13 03:29 UTC (History)
5 users (show)

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


Attachments
Looks fixed (373.95 KB, image/png)
2020-01-13 03:29 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian 2015-07-05 22:44:32 UTC
The webbrowser-desktop-widget has its inner drawing area not clipped correctly, if rotated:
The upper half of the Drawing area is clipped by the border of the visible, rotated widget, but the lowe half is clipped by the outer, invisible border (which sourrounds the widget, if rotated).

The drawing area expands partly into the desktop.

Reproducible: Always

Steps to Reproduce:
1. Place the webbrowser widget at the Desktop
2. Load a site (any site - or the std. kde.org startpage would do the job)
3. Rotate the widget to ~45° of any quadrant you may want to. (nothing precise)

Actual Results:  
The drawing area expands partly into the desktop, over the should-have-size.

Expected Results:  
The drawing area should stay within the rectangle of the widget, even if the rotation angle differs from 0°, 90°, 180°, 270°, ...

It seems, that there are the clipping-borders for the HTML-area inconsistent: At the top correct, but at the bottom + left are they confused with the dynamic, invisible widget window, wich enables the "rotation-feature".
Comment 1 Kai Uwe Broulik 2015-07-09 20:00:20 UTC
That looks hilarious. I can confirm, when it's not a right angle, the WebView does strange things. Enabling clipping does not work. Interestingly enough, when adding rotation on the WebView it rotates confined to the ScrollView but the applet rotation breaks it.
Comment 2 Kai Uwe Broulik 2015-08-21 18:30:10 UTC
*** Bug 351580 has been marked as a duplicate of this bug. ***
Comment 3 Kai Uwe Broulik 2017-07-08 13:56:03 UTC
*** Bug 377093 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2020-01-13 03:29:22 UTC
Created attachment 125081 [details]
Looks fixed

That does sound hilarious! This seems to work fine today though.