Bug 7917 - Profile chooser does not respect 'Quit' if only one profile
Summary: Profile chooser does not respect 'Quit' if only one profile
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Tobias
URL:
Keywords: relnotes, wilsj_tester
Depends on:
Blocks:
 
Reported: 2022-05-05 10:04 CEST by Linn
Modified: 2023-07-05 09:26 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Linn cendio 2022-05-05 10:04:32 CEST
Seen on Fedora 35. Regression from 4.13.0.

When logging in and seeing the profile chooser, clicking 'Quit' should log out the user. Instead, the user is currently taken through the rest of the startup steps and ends up logged in.

This only triggers when there is one single profile to choose from, I used Cinnamon Desktop. When adding e.g. xterm to hconf parameter /profiles/order (and installing xterm), the quit button works just fine.
Comment 2 Tobias cendio 2022-05-23 11:41:14 CEST
The logic has been tested to be working as intended on Fedora36 using dev build #2652 with combinations of {zero profiles, one profile, multiple profiles} and {show_intro=False, show_intro=True}.
Comment 5 Tobias cendio 2022-05-24 11:59:09 CEST
Some logical pitfalls have been corrected for special situations, and the profile chooser has been tested on Fedora36 using dev build #2657 in the spirit of comment #2.
Comment 6 William Sjöblom cendio 2022-05-25 09:03:34 CEST
Reproduced issue in 4.14.0.

Tested the fix in several different scenarios, making sure we get the expected behavior (making sure that the quit button works as intended in cases where applicable):

• ☑ No intro
  • ☑ No profiles
  • ☑ 1 profile
  • ☑ 2 profiles
• ☑ With intro
  • ☑ No profiles
  • ☑ 1 profile
  • ☑ Multiple profiles

Marking as closed.

Note You need to log in before you can comment on or make changes to this bug.