confirmedcode / Lockdown-Mac

GNU General Public License v3.0
102 stars 12 forks source link

Firewall log window styling/behavior issues #17

Open kengruven opened 3 years ago

kengruven commented 3 years ago

The Lockdown firewall log window is rather strange. Let me know if you want me to break these out into their own issues.

  1. The window isn't resizable. A list of arbitrary content shouldn't be fixed-size.
  2. The items aren't selectable (or copy-able to the clipboard). You can drag in the content area, and that scrolls the view, almost as if you're selecting with an invisible selection. Also, home/end/pageup/pagedown work, but the cursor keys usually don't work, but occasionally they do (??).
  3. The fonts and line spacing are nonstandard. There are standard Mac fonts for labels, lists, etc.
  4. The row height changes as you look at it. Here are two screenshots of the same window, taken a few seconds apart. As you scroll around, the spacing changes from wide everywhere to scrunched up in places. When it scrunches, it's so thin that it crops the bottoms of the letters (every letter but most visibly the dangling "g", "p", and "y").
Screen Shot 2020-12-24 at 3 10 52 PM Screen Shot 2020-12-24 at 2 59 29 PM

I guess this is all SwiftUI default behavior. It sure would be nice if this window were a bit more Mac-like.