linuxmint / linuxmint/cinnamon

Displayed setting value does not revert to the current value after an authentication failure following an attempt to change that setting value

Open
#12,788 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 21.1

Package version

6.4.8

Graphics hardware in use

No response

Frequency

Always

Bug description

In a non-administrator account, a displayed setting value does not revert to the current value after an authentication failure following an attempt to change that setting value. For example, upon attempting to disable IPv4 in the Network Settings and clicking the "Cancel" button in the "Authentication Required" window, the "Wired" window shows that IPv4 is disabled when in fact it has not been disabled. Accordingly, the current value (IPv4 is still enabled) is not properly reflected which causes confusion.

Steps to reproduce
  1. In a non-administrator account, open Network Settings - e.g., click on the network icon in the panel and then click on Network Settings
  2. In the "Network" window that pops up, click on the "Wired" tab and then click on the gear icon
  3. In the "Wired" window that pops up, click on the slider for IPv4 to disable it (assuming it is currently enabled)
  4. Click "Apply" button
  5. In the "Authentication Required" window that pops up, click the "Cancel" button
  6. Repeat step 2
  7. In the "Wired" window that pops up, note that it shows that IPv4 is disabled when in fact it is enabled
Expected behavior

In step 7, the "Wired" window that pops up should display the current value of the IPv4 setting (i.e. enabled)

Additional information

To get the "Wired" window to show the current value of the IPv4 setting, the "Network" window must be closed and then steps 1 and 2 repeated.

I'm guessing this applies to other windows/settings that require administrator authentication. In other words, the IPv4 network setting was just used as an example.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue through Network Settings by changing the Wired IPv4 setting, cancelling the Authentication Required dialog, and reopening the Wired view. Trace the settings view and authentication-cancel path; done means the view displays the current IPv4 value without closing and reopening the Network window.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, desktop, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.