Bug 365287 - Desktop notes: allow overlap or don't use tiny compact representation
Summary: Desktop notes: allow overlap or don't use tiny compact representation
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: 5.6.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-09 14:53 UTC by stefanprobst
Modified: 2020-01-22 20:49 UTC (History)
5 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 stefanprobst 2016-07-09 14:53:22 UTC
When middle-click pasting a note on the desktop near another note, the note is extremely small and collapsed (maybe because notes cannot overlap anymore like in older plasma versions?)

Reproducible: Always

Steps to Reproduce:
1. Select text with left mouse button.
2. Middle click on desktop to add a note.
3. Middle click again on the desktop *to the left or above* but near the previously added note.

Actual Results:  
Second note is very small and collapsed. See: http://imgur.com/5keak5N

Expected Results:  
Allow notes to overlap.
Comment 1 stefanprobst 2016-12-12 09:39:24 UTC
Since this has not received much attention for some time I am trying to rephrase the problem.

I know that disallowing overlap for desktop widgets was a conscious design decision for plasma5, but this produces problems when trying to middle-click paste notes on the desktop: when pasting a note near another one, the note (most of the time) gets collapsed to its compact representation, which can be veeery tiny.

If overlapping notes are not allowed, it would be great if at least the added note gets moved to a position where its expanded representation can be used, or maybe set a minimum size for the collapsed state that is at least clickable without having to use a magnifying glass;)
Comment 2 Kai Uwe Broulik 2017-01-04 12:58:10 UTC
The layouting engine for desktop widgets could surely use some love, the algorithm it uses to find a free space is quite bad. I'll mark this as confirmed for further reference but the actual bug is not really in the notes widget but the Desktop containment.
Comment 3 Alexander Mentyu 2017-12-07 15:37:44 UTC
Can confirm this bug is still present in:

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.4
Frameworks: 5.41.0
Qt: 5.9.3
Kernel 4.10.0-40-generic
Type: 64-bit

After pasting multiple times - subsequent notes widgets get reasonable amount of height but a very low width
Comment 4 Nate Graham 2020-01-22 20:49:41 UTC
This doesn't seem to be happening anymore. The notes I paste next to other widgets seem to find enough space for themselves without collapsing into their compact representations.