[PR #413] [MERGED] Fix the window getting smaller each time it's opened #529

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

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/413
Author: @Insprill
Created: 5/11/2023
Status: Merged
Merged: 5/13/2023
Merged by: @Insprill

Base: masterHead: fix/window-size


📝 Commits (1)

  • c5063cf Fix the window getting smaller each time it's opened

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 psst-gui/src/delegate.rs (+8 -1)

📄 Description

When the window is created, there's an initial WindowSize event that's slightly smaller than the desired window size. This causes the app to keep getting smaller each time it's opened until it's hit the minimum window size. This makes it so the first WindowSize event doesn't save its size to the config.


🔄 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/413 **Author:** [@Insprill](https://github.com/Insprill) **Created:** 5/11/2023 **Status:** ✅ Merged **Merged:** 5/13/2023 **Merged by:** [@Insprill](https://github.com/Insprill) **Base:** `master` ← **Head:** `fix/window-size` --- ### 📝 Commits (1) - [`c5063cf`](https://github.com/jpochyla/psst/commit/c5063cfba23294bdfe1cb1340a795b7fc649fc15) Fix the window getting smaller each time it's opened ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `psst-gui/src/delegate.rs` (+8 -1) </details> ### 📄 Description When the window is created, there's an initial WindowSize event that's slightly smaller than the desired window size. This causes the app to keep getting smaller each time it's opened until it's hit the minimum window size. This makes it so the first WindowSize event doesn't save its size to the config. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:33:20 +03:00
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#529
No description provided.