zhangyuannie / butter

Btrfs snapshot management GUI frontend
GNU General Public License v3.0
124 stars 4 forks source link

Top (global?) toggle is rendered incorrectly on start-up #28

Open lnicola opened 1 month ago

lnicola commented 1 month ago

To Reproduce

  1. Set up butter
  2. Restart it
  3. Click on "Schedule"
  4. Take a look at the checkbox:

image

  1. further clicking on it makes it render as expected and fixes the issue:

image

image

Expected Behavior

Widget is rendered correctly (either on or off).

Environment

zhangyuannie commented 1 week ago

I was unable to replicate this on a fresh fedora install in vm. I imagine this may have been a bug that has been fixed since I see you were using the ancient COPR stable version? (totally my bad for not updating obviously)

Closing for now, feel free to reopen!

lnicola commented 1 week ago

No, this still happens in the version I built from source for #29:

$ b2sum /usr/bin/butter build/target/release/butter
cb28ce30fa33100a1bd7e6fec722e6a1321596faee103327e795c1d2a5697369ece56d02fe450d909d50533e16a41e33eed30c5007f8754226e60c7f23655325  /usr/bin/butter
cb28ce30fa33100a1bd7e6fec722e6a1321596faee103327e795c1d2a5697369ece56d02fe450d909d50533e16a41e33eed30c5007f8754226e60c7f23655325  build/target/release/butter

$ git show
commit 36dc4f8a084f12a44324044d9bb3e9ea99348b17 (HEAD -> main, origin/main, origin/HEAD)
Author: Zhangyuan Nie <yuan@znie.org>
Date:   Sun Jan 21 05:02:29 2024 -0800

    fix: context menu with gtk 4.12

I can't reopen this issue though.