No GUI control to disable the login startup dialog #314

Open
opened 1 year ago by Woodsman · 6 comments
Collaborator

Basic information

  • TDE version: ALL
  • Distribution: ALL
  • Hardware: N/A

Description

A startup dialog appears when a user disables the login splash screen. For many people, selecting "None" means none and the dialog is not wanted.

There is no GUI control to disable this dialog.

There is a manual solution. In $TDEHOME/share/config/ksmserverrc add the following:

[Login]
showFancyLogin=false

A GUI control should be added. A suitable location might be TCC-->Session Manager-->On Login. To be consistent the check box should be 'Show login status dialog'.

Perhaps the new check box should toggle to disabled when the user selects a login splash and vice-versa.

Steps to reproduce

  1. In TCC-->Appearance & Themes-->Splash Screen, select None to disable the login splash.
  2. Log out and log in.
  3. Notice the startup dialog. The dialog will display "Loading your settings...."
## Basic information - TDE version: ALL - Distribution: ALL - Hardware: N/A ## Description A startup dialog appears when a user disables the login splash screen. For many people, selecting "None" means none and the dialog is not wanted. There is no GUI control to disable this dialog. There is a manual solution. In $TDEHOME/share/config/ksmserverrc add the following: [Login] showFancyLogin=false A GUI control should be added. A suitable location might be TCC-->Session Manager-->On Login. To be consistent the check box should be 'Show login status dialog'. Perhaps the new check box should toggle to disabled when the user selects a login splash and vice-versa. ## Steps to reproduce 1. In TCC-->Appearance & Themes-->Splash Screen, select None to disable the login splash. 2. Log out and log in. 3. Notice the startup dialog. The dialog will display "Loading your settings...."
Owner

Uhm, I tried the exact same steps and don't see any dialog showing up if I select "None".

Uhm, I tried the exact same steps and don't see any dialog showing up if I select "None".
Owner

Interestingly, I see different behavior if I login as a root or non-root user. With non-root user I see that little dialog, with root I don't.
Can you confirm the same behavior?

Interestingly, I see different behavior if I login as a root or non-root user. With non-root user I see that little dialog, with root I don't. Can you confirm the same behavior?
blu.256 commented 1 year ago
Collaborator

This check looks wrong:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startup.cpp#L101

If the theme is not Unified then we enable the "Loading your settings...." dialog (implemented in https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startupdlg.cpp). IMO that must be the root of the problem: we mustn't enable the dialog if the theme has the None value. Why "Unified" is there in the first place confuses me though.

This check looks wrong: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startup.cpp#L101 If the theme is not Unified then we enable the "Loading your settings...." dialog (implemented in https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startupdlg.cpp). IMO that must be the root of the problem: we mustn't enable the dialog if the theme has the None value. Why "Unified" is there in the first place confuses me though.
blu.256 commented 1 year ago
Collaborator

Uhm, I tried the exact same steps and don't see any dialog showing up if I select "None".

What does kreadconfig --file ksmserverrc --group Login --key showFancyLogin return in each case? Whether you see the dialog seems to depend on the value of this option. (Note that the option might be unset, so the return will be an empty line).

> Uhm, I tried the exact same steps and don't see any dialog showing up if I select "None". What does `kreadconfig --file ksmserverrc --group Login --key showFancyLogin` return in each case? Whether you see the dialog [seems to depend](https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startup.cpp#L145) on the value of this option. (Note that the option might be unset, so the return will be an empty line).
Owner

This check looks wrong:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startup.cpp#L101

If the theme is not Unified then we enable the "Loading your settings...." dialog (implemented in https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startupdlg.cpp). IMO that must be the root of the problem: we mustn't enable the dialog if the theme has the None value. Why "Unified" is there in the first place confuses me though.

Uhm.... it may be the problem but it sounds strange to me. If the test was wrong, I would expect any theme other than Unified or None not to work and always show the simple dialog window. I think more investigation may be required to have a wider understanding of the problem.

> This check looks wrong: > https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startup.cpp#L101 > > If the theme is not Unified then we enable the "Loading your settings...." dialog (implemented in https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startupdlg.cpp). IMO that must be the root of the problem: we mustn't enable the dialog if the theme has the None value. Why "Unified" is there in the first place confuses me though. Uhm.... it may be the problem but it sounds strange to me. If the test was wrong, I would expect any theme other than Unified or None not to work and always show the simple dialog window. I think more investigation may be required to have a wider understanding of the problem.
Owner

Uhm, I tried the exact same steps and don't see any dialog showing up if I select "None".

What does kreadconfig --file ksmserverrc --group Login --key showFancyLogin return in each case? Whether you see the dialog seems to depend on the value of this option. (Note that the option might be unset, so the return will be an empty line).

I checked for user config files and both don't have any specific settings for showFancyLogin

> > Uhm, I tried the exact same steps and don't see any dialog showing up if I select "None". > > What does `kreadconfig --file ksmserverrc --group Login --key showFancyLogin` return in each case? Whether you see the dialog [seems to depend](https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/src/branch/master/ksmserver/startup.cpp#L145) on the value of this option. (Note that the option might be unset, so the return will be an empty line). I checked for user config files and both don't have any specific settings for `showFancyLogin`
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdebase#314
Loading…
There is no content yet.