[PR #634] Prevent from crashing when pasting into Last.fm key/secret textboxes #637

Open
opened 2026-02-28 14:33:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/634
Author: @Pogodaanton
Created: 6/14/2025
Status: 🔄 Open

Base: mainHead: feat/lastfm-fixes


📝 Commits (1)

  • 9442087 fix(preferences): Prevent from crashing when pasting into Last.fm key/secret textboxes

📊 Changes

1 file changed (+0 additions, -2 deletions)

View changed files

📝 psst-gui/src/data/config.rs (+0 -2)

📄 Description

fixes #611

I wouldn't know of a reason why lastfm_api_key_input and lastfm_api_secret_input shouldn't be checked for sameness. As far as I understand, if they are marked as ignore, pasting some larger text won't update the input field's inner data model properly, hence the panic.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jpochyla/psst/pull/634 **Author:** [@Pogodaanton](https://github.com/Pogodaanton) **Created:** 6/14/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/lastfm-fixes` --- ### 📝 Commits (1) - [`9442087`](https://github.com/jpochyla/psst/commit/944208743e63059e3ee621ee5cb3cfd92be64874) fix(preferences): Prevent from crashing when pasting into Last.fm key/secret textboxes ### 📊 Changes **1 file changed** (+0 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `psst-gui/src/data/config.rs` (+0 -2) </details> ### 📄 Description fixes #611 I wouldn't know of a reason why `lastfm_api_key_input` and `lastfm_api_secret_input` shouldn't be checked for sameness. As far as I understand, if they are marked as `ignore`, pasting some larger text won't update the input field's inner data model properly, hence the panic. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#637
No description provided.