Conversation
This argument when passed to our program like so: ``` fluentflame-reader -- --force-frame ``` will force the window frame. This is intended just for testing, and does not imply a documented or fully supported feature.
|
Other than that, I haven't noticed any issues on linux. |
|
That's great to hear! I would like to only merge this once:
So it may be a bit until this is merged. But I wanted to get it out that this is what a solution would look like. Hopefully it does not feel too janky! |
This gives us proper args parsing.
|
|
42d47ef to
2e6e5b3
Compare
|
That's correct, it's now treated as the same precedence of the electron flags themselves. We have to be sure we don't re-use a valid electron flag because of this. |
|
Bug found: both the top native window bar and the non-native menu bar are draggable with |
|
Strange, only the native bar appears to be draggable on my machine. Though I am not fully sure what non-native menu bar you are talking about, I assume you are talking about the bar at the top that contains the settings/notification/reload buttons? |
This adds a new setting that can be configured in the main app window. This setting turns on the native window display for Linux and Windows. It does nothing on MacOS, which always uses the native window.
|
This now has a setting! And I fixed some bugs I found. Please do test more! |
|
I'm going to review the CSS a bit to make sure I haven't missed something. But the setting part is done. Also perhaps interesting to @nubesurrealista, who wanted to do a similar feature for #85. |
This needed to be update with the preference value.
|
Thanks for pointing it out! I believe I have a fix now. |
|
I can confirm that the issue has been fixed! |
|
I've extensively tested this now on Linux, and have gotten some (broken) testing on Windows done, and I think I've probably fixed issues there too? Ultimately I like this feature, and without additional testers on other platforms, I'm limited to what I can actually verify. But Linux and Windows seem good, so merging. |


This PR intends to allow support for using the native window frame on any platform. This has been primarily tested on Linux.
With this PR, one can force the native window frame with
--force-frame. Additionally, you can now set it in the main app settings. This requires a restart to take effect.