Bug 343537 - Resize plasmoid on desktop is extremely slow and not to correct size
Summary: Resize plasmoid on desktop is extremely slow and not to correct size
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: master
Platform: Chakra Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 19:17 UTC by Weng Xuetian
Modified: 2020-01-13 05:41 UTC (History)
4 users (show)

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 Weng Xuetian 2015-01-29 19:17:24 UTC
Sometimes, resize applet on desktop is extremely slow. When this happens, the y position of applet never changes, only height changes.

Plasma 5.2
Qt 5.4

Reproducible: Sometimes

Steps to Reproduce:
1. Add note plasmoid to desktop
2. Resize with resize handle

Actual Results:  
Applet is not resized correctly, the resize handle doesn't follow mouse and resizing is slow.

Expected Results:  
Resize smoothly and correctly.
Comment 1 Weng Xuetian 2015-01-29 21:16:03 UTC
To reproduce it, try to resize it larger than the original size.
Comment 2 Marco Martin 2015-02-03 09:42:59 UTC
Whith what applet this happens?
This is a bug of an applet in particular. I've fixed the systray. Do this happens for some other applet other than thr systray?
Comment 3 Marco Martin 2015-02-03 11:12:17 UTC
Git commit 981a6018d77e471c08c7b16c59d16e122e1b7582 by Marco Martin.
Committed on 03/02/2015 at 11:10.
Pushed by mart into branch 'master'.

the applet object has own Layout

take the proper Layout attached object, that is the one of
the applet, not of the representation. that one is guaranteed to
proxy the proper one
Related: bug 343370

M  +2    -9    containments/desktop/package/contents/ui/AppletAppearance.qml
M  +2    -9    containments/folder/package/contents/ui/AppletAppearance.qml

http://commits.kde.org/plasma-desktop/981a6018d77e471c08c7b16c59d16e122e1b7582
Comment 4 Marco Martin 2015-02-03 11:31:26 UTC
Git commit b02d19a5e934a5597ea8d4dc0ffd68fde8f35c67 by Marco Martin.
Committed on 03/02/2015 at 11:28.
Pushed by mart into branch 'master'.

allow free resize on desktop
Related: bug 343370

M  +22   -2    desktoppackage/contents/applet/DefaultCompactRepresentation.qml

http://commits.kde.org/plasma-desktop/b02d19a5e934a5597ea8d4dc0ffd68fde8f35c67
Comment 5 Marco Martin 2015-02-03 11:31:44 UTC
Git commit a9aa28ca9310dbfda20666deae3bd7e5b5866a4c by Marco Martin.
Committed on 03/02/2015 at 11:28.
Pushed by mart into branch 'Plasma/5.2'.

allow free resize on desktop
Related: bug 343370

M  +22   -2    desktoppackage/contents/applet/DefaultCompactRepresentation.qml

http://commits.kde.org/plasma-desktop/a9aa28ca9310dbfda20666deae3bd7e5b5866a4c
Comment 6 Weng Xuetian 2015-02-03 23:02:39 UTC
I just randomly picked Note and Trash when I report this.

Now I tried some others (analog-clock, fuzzyclock, calculator, ...), all of them have such behavior, as long as your first action is trying to make them bigger.

I suspect the problem is in ./containments/desktop/package/contents/ui/AppletHandle.qml (Calls to LayoutManager).
Comment 7 Tony 2016-07-29 03:20:31 UTC
I get no slow downs while resizing in Plasma 5.7.2. Although some widgets (analog clock, trash) their width (x) size is proportional to their hight (y), which imo seems ok.

Eg, i can place the calculator widget on the desktop and resize it by dragging the handle all the way to the right and the icon width (x) wont change. No numbers will be shown only the operations buttons. As soon as i increase (y) the numbers and extra buttons appear.
Comment 8 Alexander Mentyu 2018-03-16 13:47:20 UTC
Can't reproduce in:

Plasma: 5.12.2
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.25-1-MANJARO
OS: Netrunner Rolling
Comment 9 Nate Graham 2020-01-13 05:41:09 UTC
Me neither. Let's call it fixed.