SwiftcordApp / Swiftcord

A fully native Discord client for macOS built 100% in Swift!
https://swiftcordapp.github.io/Swiftcord/
GNU General Public License v3.0
1.85k stars 84 forks source link

[Bug]: Window caption bar layout broken #181

Closed boozook closed 10 months ago

boozook commented 10 months ago

Describe the Bug

Bug Description

Strange behaviour of window caption bar, sidebar part. "Direct messages" presenting twice and covers list items.

Actual Behaviour

  1. "Direct messages" shows twice: seems to one for caption bar, another one for list/table's title
  2. "Direct messages" covers list items of the sidebar

Expected Behavior

Reproducing the Bug

  1. Install 0.7.1(8)
  2. Login
  3. Look at sidebar

Version

App: 0.7.1

OS: 13.6.1

Category

Layout

Screenshots

Screenshot 2023-11-10 at 14 59 54
cryptoAlgorithm commented 10 months ago

Similar to #175 - layout and other UI bugs on macOS versions older than 14 (Sonoma) is a known issue, due to changes in SwiftUI behaviour.

Very unfortunately I do not have a machine running an affected macOS version, so it is extremely difficult to work out a fix. However if anyone's interested to do so, PRs are welcome!

boozook commented 10 months ago

So workaround is to update macOS?)) Okay.

boozook commented 10 months ago

Really, OS update fixes this 🤦🏻‍♂️

cryptoAlgorithm commented 10 months ago

Really, OS update fixes this 🤦🏻‍♂️

Glad to hear this issue is resolved. For documentation purposes, what macOS version is the issue resolved on? (i.e. the one that you're currently running)

boozook commented 10 months ago

Was: Ventura 13.6.0 and 13.6.1 Now and issue fixed on: Sonoma 14.any