Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Error Message when resizing window (ubuntu 22.04) #11

Closed
otetLopez opened this issue Dec 15, 2022 · 6 comments
Closed

Application Error Message when resizing window (ubuntu 22.04) #11

otetLopez opened this issue Dec 15, 2022 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@otetLopez
Copy link

otetLopez commented Dec 15, 2022

image

@aaryamanb
Copy link

bump

@Alex-Beh
Copy link

Alex-Beh commented Apr 19, 2023

I've narrowed the offending config line to:
set want_ttk 0
By removing it, gitk automatically fills it up (after a launch) with:
set want_ttk 1

Reference: #10

@lourot
Copy link
Member

lourot commented Jun 12, 2023

Thank you all! Out of curiosity, then I suppose with set want_ttk 1 some parts of the UI aren't following the theme, as described in #4 (comment) ?

@lourot lourot added bug Something isn't working help wanted Extra attention is needed labels Jun 12, 2023
@miroslav-suvada
Copy link

Same issue. I'm running gitk v2.34.1. So after copying gitk to ~/.config/git/ and running gitk I've got same error as mentioned above and config got updatated like so

@@ -1,3 +1,21 @@
+set mainfont {sans 9}
+set textfont {monospace 9}
+set uifont {sans 9 bold}
+set tabstop 8
+set findmergefiles 0
+set maxgraphpct 50
+set maxwidth 16
+set cmitmode patch
+set wrapcomment none
+set autoselect 1
+set autosellen 40
+set showneartags 1
+set maxrefs 20
+set visiblerefs {"master"}
+set hideremotes 0
+set showlocalchanges 1
+set datetimeformat {%Y-%m-%d %H:%M:%S}
+set limitdiffs 1
 set uicolor #44475a
 set want_ttk 0
 set bgcolor #282a36
@@ -8,9 +26,12 @@
 set diffcolors {#ff5555 #50fa7b #bd93f9}
 set mergecolors {#ff5555 #bd93f9 #50fa7b #bd93f9 #ffb86c #8be9fd #ff79c6 #f1fa8c #8be9fd #ff79c6 #8be9fd #ffb86c #8be9fd #50fa7b #ffb86c #ff79c6}
 set markbgcolor #282a36
+set diffcontext 3
 set selectbgcolor #44475a
 set foundbgcolor #f1fa8c
 set currentsearchhitbgcolor #ffb86c
+set extdifftool meld
+set perfile_attrs 0
 set headbgcolor #50fa7b
 set headfgcolor black
 set headoutlinecolor #f8f8f2
@@ -31,3 +52,13 @@
 set linkfgcolor #bd93f9
 set circleoutlinecolor #44475a
 set diffbgcolors {{#342a36} #283636}
+set web_browser xdg-open
+set geometry(main) 1536x978+35+64
+set geometry(state) normal
+set geometry(topwidth) 1534
+set geometry(topheight) 225
+set geometry(pwsash0) "484 1"
+set geometry(pwsash1) "727 1"
+set geometry(botwidth) 600
+set geometry(botheight) 741
+set permviews {}

When I change the line to set want_ttk 1 I've got no more error messages when resizing the window and it looks like this
image

@aaryamanb
Copy link

Same issue as @miroslav-suvada when trying: "set want_ttk 1" fix.

The middle part of the window and outlines revert to light mode. Currently I've been dealing with the issue by skipping all errors and just not resizing any windows ...

@lourot
Copy link
Member

lourot commented Jun 18, 2023

The issues preventing us from using set want_ttk 0 have been fixed in

The first version containing this fix is v2.37.0. On Ubuntu for example it's
available starting from Ubuntu 22.10 (Kinetic):
https://packages.ubuntu.com/kinetic/gitk

I have just tried it out and everything works well now for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Development

No branches or pull requests

5 participants