Bug 428506 - There are two "Add new account" buttons when no account is configured
Summary: There are two "Add new account" buttons when no account is configured
Status: RESOLVED FIXED
Alias: None
Product: KAccounts
Classification: Frameworks and Libraries
Component: KCM (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-31 13:31 UTC by Patrick Silva
Modified: 2021-03-26 04:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshot (104.48 KB, image/png)
2020-10-31 13:31 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-31 13:31:31 UTC
Created attachment 132912 [details]
screenshot

The title says it all. See the attached screenshot please.

EXPECTED RESULT
only one "Add new account" button.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.0
Comment 1 David Greengas 2020-11-03 14:42:49 UTC
I repeated the same steps and there are 2 Add new Account Buttons. I do not know if this in intentional to highlight when there are no accounts configured.

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Comment 2 Nicolas Fella 2020-11-10 22:54:15 UTC
yes, it's true that there are two buttons that do the same.

Whether that's an actual issue is debatable though.

The button in the bottom right is always present, the one in the middle only when there is no account configured at all.

Having a button in the PlaceHolderMessage to "resolve" the situation is a common pattern. The other button needs to exist as well since we need a way to add a second/third/... account.

Technically it would be trival to hide the corner button when the other one is visible, but I'm not sure I want to
Comment 3 Patrick Silva 2021-03-26 04:53:03 UTC
Fixed on neon unstable. :)

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Graphics Platform: Wayland