Bug 427999 - Notification positioning changed mid-way through startup
Summary: Notification positioning changed mid-way through startup
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.20.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-10-19 19:48 UTC by alenertz
Modified: 2022-10-01 16:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Notification appears twice on Startup (top left and top right) (3.71 MB, video/x-matroska)
2020-10-21 15:59 UTC, alenertz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alenertz 2020-10-19 19:48:51 UTC
SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:5.20.0 
KDE Frameworks Version:5.75.0 
Qt Version:5.15.1 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-10-21 03:02:25 UTC
Can you share a screenshot that shows the problem?

Also please read https://community.kde.org/Get_Involved/Issue_Reporting
Comment 2 alenertz 2020-10-21 15:59:49 UTC
Created attachment 132615 [details]
Notification appears twice on Startup (top left and top right)

Normally a notification is displayed on top right.After 5.20 update you see in my video,that the same notification also appears on top left of the screen.It's shortly visible on the top left.It's the same notification (cable connection established) that you will see on top right.
Unfortunately I had to reduce the quality of the video under 4 MB.Sorry!Perhaps you should enlarge the limit for video attachments from 4 to 10 MB.
Comment 3 Nate Graham 2020-10-21 16:24:46 UTC
Ah I see the problem. It's that notifications start out in the top-left corner but then jump into the top-right corner a moment later.

Looks like your system is very slow, which exposes an issue that the positioning changes mid-way through startup

Have you overidden the positioning of your notifications in the System Settings Notifications page?
Comment 4 alenertz 2020-10-21 20:03:24 UTC
I've found the solution to this "bug".In the notification settings I saw (in custom settings) that no position was defined,where a notification should start.I marked the circle in the upper right corner,applied it and rebooted.After the reboot on startup notifications are now only displayed on the top right corner and no more on top left.
So,it was a good hint that you gave me in your last comment,Thank you !! It was not really a bug.
So,you must set the top right corner as default for 5.20 as this was the case in former KDE-Plasma versions.Perhaps this was forgotten ?
Comment 5 Nate Graham 2020-10-21 21:40:33 UTC
Seems like you found the bug, thanks. Let's re-open so we can track the fix.
Comment 6 Kai Uwe Broulik 2020-10-28 15:44:14 UTC
I actually witness that briefly on my laptop too. Probably has to do with the new logic to place it near near the panel edge which there won't be one on startup. 
Maybe i can mitigate it by assuming a full screen width. Then it'll only slide from the outermost screen corner to the panel and also only of the panel isn't at full width.
Comment 7 Patrick Silva 2021-06-05 13:38:55 UTC
Plasma 5.22 beta is affected on Arch Linux.
Comment 8 Nate Graham 2022-09-08 17:19:41 UTC
Can't reproduce anymore with git master. Can you? Or with Plasma 5.25?
Comment 9 Bug Janitor Service 2022-09-23 04:48:29 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 10 alenertz 2022-09-23 21:33:48 UTC
Thought that this bug had been solved by myself and I received a mail that indicates that I have to provide further information to the bug report.You can find my solution in comment 4 below from 2020-10-21.It was not a real bug.The problem was that no position was marked for the notification where to display in > systemsettings > notifications > choose user-defined position.So the system doesn't know where to display the notification.The system is somewhat confused.That's all ! You should mark a whatever position as default.Afterwards the user can change the notification's position as he/she prefers.Whenever I install Arch KDE say,on an external drive NO position is defined in systemsettings > notifications > choose user-defined position.And that can confuse a user like me or other users.

So,I hope that this bug report can now be closed.
Comment 11 Nate Graham 2022-09-26 16:11:41 UTC
OK cool, thanks!
Comment 12 alenertz 2022-09-26 16:35:03 UTC
(In reply to Nate Graham from comment #11)
> OK cool, thanks!

Keep in mind to mark a default for notification positioning in systemsettings to avoid future confusion of that kind,say for 5.26 for instance.
Comment 13 Nate Graham 2022-09-26 16:56:12 UTC
There is already a default;  you can verify this by clicking on the "Defaults" button at the bottom of the window.

If you managed to get in a situation where none of the radio buttons in the position chooser UI were checked, this would be caused by an invalid value in the configuration file.
Comment 14 alenertz 2022-10-01 16:46:25 UTC
(In reply to Nate Graham from comment #13)
> There is already a default;  you can verify this by clicking on the
> "Defaults" button at the bottom of the window.
> 
> If you managed to get in a situation where none of the radio buttons in the
> position chooser UI were checked, this would be caused by an invalid value
> in the configuration file.

I made what you proposed. I clicked on the "Defaults" button in "position chooser UI" and after "apply" no button was checked, although before that, the button on top right corner was checked (My setting). On the same evening that day I installed Arch Linux KDE on another external drive. After the installation I booted the system, went to systemsettings > notifications > position chooser UI. And there, NO button was checked. So, there's something wrong with a configuration file, as you anticipated.