Bug 385258 - Notes widget disappear if resolution has changed
Summary: Notes widget disappear if resolution has changed
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop Containment (show other bugs)
Version: 5.10.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-01 11:49 UTC by Pekka Helenius
Modified: 2021-09-28 04:36 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot 0 (1.07 MB, image/jpeg)
2020-01-24 10:51 UTC, boeroboy
Details
Screenshot 1 (222.89 KB, image/jpeg)
2020-01-24 10:52 UTC, boeroboy
Details
Screenshot 2 (1.24 MB, image/jpeg)
2020-01-24 10:53 UTC, boeroboy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pekka Helenius 2017-10-01 11:49:44 UTC
Please mark as duplicate if needed.

Description:

Notes plasmoid (org.kde.plasma.notes) tend to disappear on the desktop if screen resolution has changed. Another alternative behavior I've seen is that width of a note window may change.

Here's the thing: those notes are not actually deleted but instead they either have 0 width/height, are outside of the screen area (which I doubt) or something equivalent.

Though I can't see notes plasmoid on my desktop, I can still see their data in $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc file and in $HOME/.local/share/plasma_notes folder.

This is very annoying bug because every time I need to change the resolution, I can't trust all my notes widgets will be visible anymore. The only action I can take is to take out notes text data from files located at $HOME/.local/share/plasma_notes folder, delete specific notes data in plasma-org.kde.plasma.desktop-appletsrc file and create a new note widget, until the disappearance happens again.

There is at least one KDE forum topic opened, addressing this specific issue:

https://forum.kde.org/viewtopic.php?f=289&t=139360

Is there any way I can actually lock width/height of a widget. In /applets/notes/package/contents/ui/main.qml there are fields such as:

    width: units.gridUnit * 14
    height: units.gridUnit * 14

Which might be tweaked or "locked" somehow?
Comment 1 Patrick Silva 2018-04-23 00:08:52 UTC
Cannot confirm on Arch Linux, plasma 5.12.4.
Notes widget remains on my screen after I change resolution from 1080p to 720p and vice-versa.
Comment 2 boeroboy 2018-12-06 17:35:53 UTC
I'm on 5.13.5

This always happens to me too.  I keep my pain panel on the left of the screen and my widgets/plasmoids on the right.  Anything that changes my screen resolution completely shuffles and resizes my right plasmoids all out of whack whether "Lock Widgets" is enabled or not.  Even if they're locked, I need to unlock and move them back to where they should go.  Even my login screen is 1080 resolution but after login it goes to 4k, which means every login shuffles my widgets which are clearly anchored to the top right side of the screen.

I would think LOCK WIDGETS would lock them no matter what, but QT still tries to shuffle them to fit smaller resolutions.  Highly frustrating.  I tried digging through the code to see if QT allowed a true "LOCK" option on things like this but sadly don't have the time to sort through so much code right now.  Maybe someone else out there has some QT/KDE/Widget insights?

This has always been an issue for me going back to KDE4 sadly and now that I'm on a 4k screen I'd love a fix :)

Thx
Comment 3 Nate Graham 2020-01-22 17:13:22 UTC
Works for me. Is this reproducible for anyone in Plasma 5.17 or the 5.18 beta?
Comment 4 boeroboy 2020-01-24 10:51:40 UTC
Created attachment 125363 [details]
Screenshot 0

Widgets set how I want them.  4k resolution.
Comment 5 boeroboy 2020-01-24 10:52:29 UTC
Created attachment 125364 [details]
Screenshot 1

Resolution changed from 4k smaller.
Comment 6 boeroboy 2020-01-24 10:53:01 UTC
Created attachment 125365 [details]
Screenshot 2

Resolution changed back to 4k and now widgets are all over the place.
Comment 7 boeroboy 2020-01-24 10:53:22 UTC
Same behaviour whether or not widgets are locked.
Comment 8 Bug Janitor Service 2020-02-08 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 boeroboy 2020-02-09 09:03:48 UTC
Posted info but didn't change status.
Comment 10 Pekka Helenius 2020-02-10 17:12:58 UTC
Thanks boeroboy for your activity regarding to the issue.

The original opening post covered only the "Notes" widget/plasmoid but, according to your screenshots, it seems other widgets are affected as well. So, is the issue more wide spread than I originally assumed? Your KDE/Plasma version?

I currently use outdated KDE/Plasma environment and due to this reason I can't either confirm or rule out the issue on newer KDE/Plasma builds.
Comment 11 boeroboy 2020-02-10 18:36:51 UTC
Yes as I've used this desktop layout back through KDE4.  As plasmoids are anchored to the top left corner, any plasmoid on the right or bottom of the screen that would get cut off during a screen resolution change gets moved and shuffled and resized awkwardly to fit on the screen (locked or not).

If QT doesn't support a native fix it would be nice if you could save/restore layouts of a panel.  Sort of like saved channels on a radio.  If I could just restore my favourite layout, I'd be happy with it.
Comment 12 boeroboy 2020-02-10 18:37:40 UTC
 jboero  z640  ~  $  sudo dnf info plasma-desktop
[sudo] password for jboero: 
Last metadata expiration check: 2:15:43 ago on Mon 10 Feb 2020 04:17:46 PM GMT.
Installed Packages
Name         : plasma-desktop
Version      : 5.17.5
Release      : 1.fc31
Architecture : x86_64
Size         : 26 M
Source       : plasma-desktop-5.17.5-1.fc31.src.rpm
Repository   : @System
From repo    : updates
Summary      : Plasma Desktop shell
URL          : https://cgit.kde.org/plasma-desktop.git
License      : GPLv2+ and (GPLv2 or GPLv3)
Description  : Plasma Desktop shell.
Comment 13 Nate Graham 2021-08-29 21:03:23 UTC
We have made improvements to the resolution-sensitivity code here over the past year or two, and I am unable to reproduce the issue. Can anyone who's using Plasma 5.21 or later still reproduce it?
Comment 14 Bug Janitor Service 2021-09-13 04:35:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Bug Janitor Service 2021-09-28 04:36:01 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!