diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.27k stars 40 forks source link

Close button is duplicated if you have the window buttons left aligned #252

Closed TriVoxel closed 1 month ago

TriVoxel commented 6 months ago

If you have the titlebar buttons left-aligned in GNOME, Dissent has two close buttons:

Screenshot from 2024-03-20 14-14-07

Debugging information:

Version: 
Build Info:
go  go1.22.1
path    libdb.so/dissent
mod libdb.so/dissent    (devel) 
dep github.com/KarpelesLab/weak v0.1.1  
dep github.com/alecthomas/chroma    v0.10.0 
dep github.com/diamondburned/adaptive   v0.0.2-0.20221227093656-fa139be203a8    
dep github.com/diamondburned/arikawa/v3 v3.3.5  
dep github.com/diamondburned/chatkit    v0.0.0-20240214131532-4b8acdf0f84b  
dep github.com/diamondburned/gotk4-adwaita/pkg  v0.0.0-20240107232253-5f283b5d35bc  
dep github.com/diamondburned/gotk4/pkg  v0.2.2  
dep github.com/diamondburned/gotkit v0.0.0-20240214122856-34324269516c  
dep github.com/diamondburned/ningen/v3  v3.0.1-0.20240215053437-0d35ff052647    
dep github.com/dlclark/regexp2  v1.4.0  
dep github.com/dustin/go-humanize   v1.0.0  
dep github.com/enescakir/emoji  v1.0.0  
dep github.com/godbus/dbus/v5   v5.0.6  
dep github.com/gorilla/schema   v1.2.0  
dep github.com/gorilla/websocket    v1.4.2  
dep github.com/ianlancetaylor/cgosymbolizer v0.0.0-20220405231054-a1ae3e4bba26  
dep github.com/leonelquinteros/gotext   v1.5.3-0.20230829162019-37f474cfb069    
dep github.com/lmittmann/tint   v1.0.4  
dep github.com/mattn/go-isatty  v0.0.20 
dep github.com/pkg/errors   v0.9.1  
dep github.com/sahilm/fuzzy v0.1.0  
dep github.com/twmb/murmur3 v1.1.3  
dep github.com/yalue/merged_fs  v1.2.3  
dep github.com/yuin/goldmark    v1.5.6  
dep github.com/zalando/go-keyring   v0.2.1  
dep go4.org v0.0.0-20200411211856-f5505b9728dd  
dep go4.org/unsafe/assume-no-moving-gc  v0.0.0-20231121144256-b99613f794b6  
dep golang.org/x/crypto v0.17.0 
dep golang.org/x/image  v0.0.0-20220902085622-e7cb96979f69  
dep golang.org/x/sync   v0.1.0  
dep golang.org/x/sys    v0.15.0 
dep golang.org/x/text   v0.14.0 
dep golang.org/x/time   v0.0.0-20210723032227-1f47c861a9ac  
dep libdb.so/ctxt   v0.0.0-20240216055249-07a499f07b78  
build   -buildmode=exe
build   -compiler=gc
build   DefaultGODEBUG=httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
build   CGO_ENABLED=1
build   CGO_CFLAGS=
build   CGO_CPPFLAGS=
build   CGO_CXXFLAGS=
build   CGO_LDFLAGS=
build   GOARCH=amd64
build   GOOS=linux
build   GOAMD64=v1
jukfiuune commented 3 months ago

i have the same issue!

Naezr commented 3 months ago

It's true, I have the same issue

carterprince commented 1 month ago

Also experiencing this

image

See custom gtk.css here

diamondburned commented 1 month ago

image