Bug 499050

Summary: Notes applet doesn't remember its size
Product: [Plasma] plasmashell Reporter: maxlefou <buttbadger>
Component: Notes widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, rsquared42
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description maxlefou 2025-01-23 12:41:20 UTC
SUMMARY
The notes applet doesn't remember its custom size and always go back to its default size when the desktop is initialized (by a reboot or possibly a login)

STEPS TO REPRODUCE
1. Add a notes applet
2. Resize it and make it smaller
3. Reboot

OBSERVED RESULT
When the desktop and the applet loads, the notes applet remembers its placement but not its size, using a default size that usually takes the quarter of the screen.

EXPECTED RESULT
The notes applet should stay with the same size, placement and rotation.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 6 × Intel® Core™ i5-9600K CPU @ 3.70GHz
Memory: 15.6 Gio of RAM
Graphics Processor: NVIDIA GeForce RTX 4060/PCIe/SSE2

ADDITIONAL INFORMATION
Haven't tested on Wayland because Nvidia. 
Haven't tested making the applet bigger.
Haven't tested on other distros.
Sorry if it has been posted before, I couldn't find an existing entry to this.
Comment 1 Nate Graham 2025-01-23 16:15:08 UTC
What's wrong with Wayland? Eeven if you don't want to make it your permanent session type, can you at least log into a Wayland session to test this out?
Comment 2 maxlefou 2025-01-24 09:58:02 UTC
(In reply to Nate Graham from comment #1)
> What's wrong with Wayland? Eeven if you don't want to make it your permanent
> session type, can you at least log into a Wayland session to test this out?

Wayland doesn't work properly with Nvidia GPUs, it's a well known problem. I can't even test on wayland because, with my actual GPU, I just get a black desktop and can't do anything else than forcefully reboot the pc using tty.

I found a workaround for the bug though, I think. I've tried applying a rotation to the notes applet. And ever since, when the desktop initializes, all the applets get stuck to the upper left corner, then they magically get back to their spots with the right size when the desktop wallpaper appears. (including notes applet. Though, it loses its rotation, it has the desired size.)
Comment 3 Nate Graham 2025-01-24 14:22:21 UTC
JFYI hopefully https://community.kde.org/Distributions/Packaging_Recommendations#Proprietary_NVidia_driver_configuration should suffice to get you up and running on Wayland with an NVIDIA GPU.
Comment 4 maxlefou 2025-01-26 09:40:31 UTC
(In reply to Nate Graham from comment #3)
> JFYI hopefully
> https://community.kde.org/Distributions/
> Packaging_Recommendations#Proprietary_NVidia_driver_configuration should
> suffice to get you up and running on Wayland with an NVIDIA GPU.

Tried this (had to also look on google because the page doesn't tell where i'm supposed to put these lines) and still black screen on wayland. :/

Anyway, nevermind.
No matter what happens, it seems that the applet returns to its default size at random boots. I tried to check journald to compare but I found nothing.
Comment 5 Bug Janitor Service 2025-02-10 03:46:46 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 maxlefou 2025-02-10 08:39:12 UTC
Resuming again: Bug is still present, causing the applet to take its default size on boot at random times. Can't test on wayland because wayland doesn't work for me.

I found a "visual workaround" though for the bug. When the applet is set to transparent, you can't see its size and doesn't obscure the wallpaper. But well, it doesn't resolve the problem.
Comment 7 Randall Rude 2025-04-03 17:50:20 UTC
This is also reproducible on wayland.  As reported, it appears to be 100% reproducible on X11.

I tested on Kubuntu 25.04 beta:

Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.14.0-13-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 7.7 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: Dell Inc.
Product Name: XPS 8500

I almost reported it as not reproducible on wayland, but then it happened.  I created two notes - a tall skinny note and a short wide note, then logged out and in.  Under X11, the note sizes are reset every time.  Under wayland, the notes usually retain their size.

On one test run, it took 14 wayland logins to trigger the issue.  On another wayland test run, it took only two logins.

Then I realized the notes were always on the right-hand display of my two-display desktop, so I moved them onto the left-hand (primary) display.  This issue seems to be 100% reproducible under wayland with the notes on the primary display, but a third note on the secondary display was unaffected.
Comment 8 Nate Graham 2025-05-01 13:22:57 UTC

*** This bug has been marked as a duplicate of bug 495306 ***