{"thread":{"id":"54522","subject":"git-gui: Why are the main panels no longer white?","startedAt":"2020-10-28T21:48:24Z","lastAt":"2020-10-30T15:25:01Z","messageCount":12,"participants":["Marc Branchaud","Serg Tereshchenko","partizan","Pratyush Yadav","serg.partizan@gmail.com"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"408556","messageId":"6a38e92e-ffd5-4b0e-b850-3697e47b2b92@xiplink.com","threadId":"54522","inReplyTo":null,"subject":"git-gui: Why are the main panels no longer white?","fromName":"Marc Branchaud","fromEmail":"marcnarc@xiplink.com","sentAt":"2020-10-28T21:15:24Z","receivedAt":"2020-10-28T21:48:24Z","isPatch":false,"sender":{"key":"marcnarc@xiplink.com","avatar":"https://avatars.githubusercontent.com/u/14980203?v=4"},"body":"Hi!\n\nI'm using git-gui compiled from git v2.29.0 under Kubuntu 10.04, and the \ngit-gui's four main panels are now some odd grey colour instead of white.\n\nIf I revert git-gui commit c02efc13638447 (git-gui: improve dark mode \nsupport) I get my white panels back.\n\nI'm hoping there's some magic setting I can tweak somewhere to make the \npanels white, instead of hacking git-gui's code.  But for the life of me \nI can't figure out where this grey-ish colour is coming from, what \n\"theme\" I might be using (I don't bother with \"dark mode\" stuff), or how \nto specify the colours *I want* for things like Text.Background \"from \nthe option database\" (whatever that is).\n\nCan someone direct me onto the right path to fix these colours?\n\nThanks!\n\n\t\tM.\n"},{"id":"408640","messageId":"20201029114400.38284-1-serg.partizan@gmail.com","threadId":"54522","inReplyTo":"6a38e92e-ffd5-4b0e-b850-3697e47b2b92@xiplink.com","subject":"RE: git-gui: Why are the main panels no longer white?","fromName":"Serg Tereshchenko","fromEmail":"serg.partizan@gmail.com","sentAt":"2020-10-29T11:44:00Z","receivedAt":"2020-10-29T11:44:09Z","isPatch":false,"sender":{"key":"serg.partizan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/301015?v=4"},"body":"Hi Marc!\n\nWhat tcl-tk theme are you using? Autodetection supposed to fetch\ncolor from TreeView background, and probably your theme using\nthat odd gray for TreeViews.\n\nTo set your desired color for background, you can add \n\n*Text.Background: white\n\nto ~/.Xresources; and `xrdb -merge ~/.Xresources` to apply it.\n\nOr, try another theme. This one gives me white background.\n\n*TkTheme: clam\n\nTo list available themes, run `wish`\n\n::ttk::themes\n\n--\nRegards,\nSerg Tereshchenko\n"},{"id":"408641","messageId":"20201029115334.41295-1-serg.partizan@gmail.com","threadId":"54522","inReplyTo":"20201029114400.38284-1-serg.partizan@gmail.com","subject":"RE: git-gui: Why are the main panels no longer white?","fromName":"Serg Tereshchenko","fromEmail":"serg.partizan@gmail.com","sentAt":"2020-10-29T11:53:34Z","receivedAt":"2020-10-29T11:53:41Z","isPatch":false,"sender":{"key":"serg.partizan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/301015?v=4"},"body":"To get current theme, run `wish`\n\nttk::style theme use\n\n--\nRegards,\nSerg Tereshchenko\n"},{"id":"408646","messageId":"619dac64-106c-d6df-b121-ce6589b4af3a@xiplink.com","threadId":"54522","inReplyTo":"20201029114400.38284-1-serg.partizan@gmail.com","subject":"Re: git-gui: Why are the main panels no longer white?","fromName":"Marc Branchaud","fromEmail":"marcnarc@xiplink.com","sentAt":"2020-10-29T13:47:43Z","receivedAt":"2020-10-29T13:47:48Z","isPatch":false,"sender":{"key":"marcnarc@xiplink.com","avatar":"https://avatars.githubusercontent.com/u/14980203?v=4"},"body":"On 2020-10-29 7:44 a.m., Serg Tereshchenko wrote:\n> Hi Marc!\n> \n> What tcl-tk theme are you using? Autodetection supposed to fetch\n> color from TreeView background, and probably your theme using\n> that odd gray for TreeViews.\n\nThanks for your reply!  It's been a long, long time since I've had to \nmuck around with a .X* file...\n\n> To set your desired color for background, you can add\n> \n> *Text.Background: white\n> \n> to ~/.Xresources; and `xrdb -merge ~/.Xresources` to apply it.\n> \n> Or, try another theme. This one gives me white background.\n> \n> *TkTheme: clam\n\nUnfortunately none of those gives me white panels, although I do see \nother visual aspects change under different themes (also, `xrdb -query` \nshows that the *Text.Background setting has applied).\n\nHowever, saying\n\t*background: white\ndoes the trick!\n\nTo narrow the scope of that, I'm going with\n\tgit-gui*Text.Background: white\n\n> To list available themes, run `wish`\n> \n> ::ttk::themes\n\nI have:\n\tclassic default clam alt\n\"ttk::style theme use\" says I'm using the \"default\" theme.\n\nIs there some way I can edit/view the theme definitions?\n\nThanks for the help!\n\n\t\tM.\n\n"},{"id":"408647","messageId":"20201029150914.72973-1-serg.partizan@gmail.com","threadId":"54522","inReplyTo":"619dac64-106c-d6df-b121-ce6589b4af3a@xiplink.com","subject":"Reply","fromName":"Serg Tereshchenko","fromEmail":"serg.partizan@gmail.com","sentAt":"2020-10-29T15:09:14Z","receivedAt":"2020-10-29T15:09:22Z","isPatch":false,"sender":{"key":"serg.partizan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/301015?v=4"},"body":"--\nRegards,\nSerg Tereshchenko\n"},{"id":"408666","messageId":"20201029204149.20232-1-serg.partizan@gmail.com","threadId":"54522","inReplyTo":"619dac64-106c-d6df-b121-ce6589b4af3a@xiplink.com","subject":"RE: git-gui: Why are the main panels no longer white?","fromName":"Serg Tereshchenko","fromEmail":"serg.partizan@gmail.com","sentAt":"2020-10-29T20:41:49Z","receivedAt":"2020-10-29T20:43:00Z","isPatch":false,"sender":{"key":"serg.partizan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/301015?v=4"},"body":"Oh, this git-send-email is terrible. Is there good email client supporting\nplaintext messages which i can use for replying here?\n\nI tried to send message, but only footer is delivered. Second try:\n\n> Is there some way I can edit/view the theme definitions?\n\nThemes is inside /usr/lib/tk8.6/ttk/, *Theme.tcl\n\n> Unfortunately none of those gives me white panels, although I do see \n> other visual aspects change under different themes (also, `xrdb -query` \n> shows that the *Text.Background setting has applied).\n\nThis is strange.\n\nI just checked `default` theme, and in my case panels are white by default.\n\nI will check it on kubuntu later.\n\nCan you show your `xrdb -query`?\n\n--\nRegards,\nSerg Tereshchenko\n"},{"id":"408678","messageId":"b85e0713-81d6-fcf2-6292-1b5acf86650a@xiplink.com","threadId":"54522","inReplyTo":"20201029204149.20232-1-serg.partizan@gmail.com","subject":"Re: git-gui: Why are the main panels no longer white?","fromName":"Marc Branchaud","fromEmail":"marcnarc@xiplink.com","sentAt":"2020-10-29T21:58:32Z","receivedAt":"2020-10-29T21:58:51Z","isPatch":false,"sender":{"key":"marcnarc@xiplink.com","avatar":"https://avatars.githubusercontent.com/u/14980203?v=4"},"body":"On 2020-10-29 4:41 p.m., Serg Tereshchenko wrote:\n> Oh, this git-send-email is terrible. Is there good email client supporting\n> plaintext messages which i can use for replying here?\n\nI recommend Thunderbird, if you're a GUI type.\n\n> I tried to send message, but only footer is delivered. Second try:\n> \n>> Is there some way I can edit/view the theme definitions?\n> \n> Themes is inside /usr/lib/tk8.6/ttk/, *Theme.tcl\n\nThanks.  Seems to be /usr/share/tcltk/tk8.6/ttk on my box.\n\nNothing in that directory sets that greyish color (#d6d2d0).\n\nPerhaps it's some kind of KDE-theming-GTK-apps thing.\n\n>> Unfortunately none of those gives me white panels, although I do see\n>> other visual aspects change under different themes (also, `xrdb -query`\n>> shows that the *Text.Background setting has applied).\n> \n> This is strange.\n> \n> I just checked `default` theme, and in my case panels are white by default.\n> \n> I will check it on kubuntu later.\n> \n> Can you show your `xrdb -query`?\n\n*Box.background:        #d6d2d0\n*Box.foreground:        #221f1e\n*Button.activeBackground:       #d6d2d0\n*Button.activeForeground:       #221f1e\n*Button.background:     #d6d2d0\n*Button.foreground:     #221f1e\n*Button.highlightBackground:    #d6d2d0\n*Button.highlightColor: #221f1e\n*Canvas.activeBackground:       #ffffff\n*Canvas.activeForeground:       #1f1c1b\n*Canvas.background:     #ffffff\n*Canvas.foreground:     #1f1c1b\n*Canvas.highlightBackground:    #ffffff\n*Canvas.highlightColor: #1f1c1b\n*Canvas.selectbackground:       #43ace8\n*Canvas.selectforeground:       #ffffff\n*Checkbutton.activeBackground:  #d6d2d0\n*Checkbutton.activeForeground:  #221f1e\n*Checkbutton.background:        #d6d2d0\n*Checkbutton.foreground:        #221f1e\n*Checkbutton.highlightBackground:       #d6d2d0\n*Checkbutton.highlightColor:    #221f1e\n*Command.background:    #d6d2d0\n*Command.foreground:    #221f1e\n*Dialog.background:     #d6d2d0\n*Dialog.foreground:     #221f1e\n*Entry.activeBackground:        #ffffff\n*Entry.activeForeground:        #1f1c1b\n*Entry.background:      #ffffff\n*Entry.foreground:      #1f1c1b\n*Entry.highlightBackground:     #ffffff\n*Entry.highlightColor:  #1f1c1b\n*Entry.selectBackground:        #43ace8\n*Entry.selectForeground:        #ffffff\n*Form.background:       #d6d2d0\n*Form.foreground:       #221f1e\n*Frame.activeBackground:        #d6d2d0\n*Frame.activeForeground:        #221f1e\n*Frame.background:      #d6d2d0\n*Frame.foreground:      #221f1e\n*Frame.highlightBackground:     #d6d2d0\n*Frame.highlightColor:  #221f1e\n*Label.activeBackground:        #d6d2d0\n*Label.activeForeground:        #221f1e\n*Label.background:      #d6d2d0\n*Label.foreground:      #221f1e\n*Label.highlightBackground:     #d6d2d0\n*Label.highlightColor:  #221f1e\n*List.background:       #ffffff\n*List.foreground:       #1f1c1b\n*Listbox.activeBackground:      #ffffff\n*Listbox.activeForeground:      #1f1c1b\n*Listbox.background:    #ffffff\n*Listbox.foreground:    #1f1c1b\n*Listbox.highlightBackground:   #ffffff\n*Listbox.highlightColor:        #1f1c1b\n*Listbox.selectBackground:      #43ace8\n*Listbox.selectForeground:      #ffffff\n*Menu.activeBackground: #d6d2d0\n*Menu.activeForeground: #221f1e\n*Menu.background:       #d6d2d0\n*Menu.foreground:       #221f1e\n*Menu.highlightBackground:      #d6d2d0\n*Menu.highlightColor:   #221f1e\n*MenuButton.background: #d6d2d0\n*MenuButton.foreground: #221f1e\n*Menubutton.activeBackground:   #d6d2d0\n*Menubutton.activeForeground:   #221f1e\n*Menubutton.background: #d6d2d0\n*Menubutton.foreground: #221f1e\n*Menubutton.highlightBackground:        #d6d2d0\n*Menubutton.highlightColor:     #221f1e\n*Radiobutton.activeBackground:  #d6d2d0\n*Radiobutton.activeForeground:  #221f1e\n*Radiobutton.background:        #d6d2d0\n*Radiobutton.foreground:        #221f1e\n*Radiobutton.highlightBackground:       #d6d2d0\n*Radiobutton.highlightColor:    #221f1e\n*Scale.activeBackground:        #d6d2d0\n*Scale.activeForeground:        #221f1e\n*Scale.background:      #d6d2d0\n*Scale.foreground:      #221f1e\n*Scale.highlightBackground:     #d6d2d0\n*Scale.highlightColor:  #221f1e\n*Scale.troughColor:     #d6d2d0\n*Scrollbar*Cursor:      left_ptr\n*Scrollbar*background:  #d6d2d0\n*Scrollbar*cursorName:  left_ptr\n*Scrollbar*height:      15\n*Scrollbar*pushThumb:   false\n*Scrollbar*shadowWidth: 2\n*Scrollbar*width:       15\n*Scrollbar.activeBackground:    #d6d2d0\n*Scrollbar.activeForeground:    #221f1e\n*Scrollbar.foreground:  #221f1e\n*Scrollbar.highlightBackground: #d6d2d0\n*Scrollbar.highlightColor:      #221f1e\n*Scrollbar.troughColor: #d6d2d0\n*ScrollbarBackground:   #d6d2d0\n*ShapeStyle:    Rectangle\n*SimpleMenu*background: #d6d2d0\n*SimpleMenu*foreground: #221f1e\n*SmeBSB*shadowWidth:    3\n*Text.activeBackground: #ffffff\n*Text.activeForeground: #1f1c1b\n*Text.background:       #ffffff\n*Text.foreground:       #1f1c1b\n*Text.highlightBackground:      #ffffff\n*Text.highlightColor:   #1f1c1b\n*Text.selectBackground: #43ace8\n*Text.selectForeground: #ffffff\n*Toggle.background:     #d6d2d0\n*Toggle.foreground:     #221f1e\n*Toplevel.activeBackground:     #d6d2d0\n*Toplevel.activeForeground:     #221f1e\n*Toplevel.background:   #d6d2d0\n*Toplevel.foreground:   #221f1e\n*Toplevel.highlightBackground:  #d6d2d0\n*Toplevel.highlightColor:       #221f1e\n*XmCascadeButton.background:    #d6d2d0\n*XmCascadeButton.foreground:    #221f1e\n*XmCascadeButtonGadget.background:      #d6d2d0\n*XmCascadeButtonGadget.foreground:      #221f1e\n*XmDialogShell.background:      #d6d2d0\n*XmDialogShell.foreground:      #221f1e\n*XmFileSelectionBox.background: #d6d2d0\n*XmFileSelectionBox.foreground: #221f1e\n*XmForm.background:     #d6d2d0\n*XmForm.foreground:     #221f1e\n*XmFrame.background:    #d6d2d0\n*XmFrame.foreground:    #221f1e\n*XmLabel.background:    #d6d2d0\n*XmLabel.foreground:    #221f1e\n*XmLabelGadget.background:      #d6d2d0\n*XmLabelGadget.foreground:      #221f1e\n*XmList.background:     #ffffff\n*XmList.foreground:     #1f1c1b\n*XmMenuShell.background:        #d6d2d0\n*XmMenuShell.foreground:        #221f1e\n*XmMessageBox.background:       #d6d2d0\n*XmMessageBox.foreground:       #221f1e\n*XmPanedWindow.background:      #d6d2d0\n*XmPanedWindow.foreground:      #221f1e\n*XmPushButton.background:       #d6d2d0\n*XmPushButton.foreground:       #221f1e\n*XmPushButtonGadget.background: #d6d2d0\n*XmPushButtonGadget.foreground: #221f1e\n*XmRowColumn.background:        #d6d2d0\n*XmRowColumn.foreground:        #221f1e\n*XmSash.background:     #d6d2d0\n*XmSash.foreground:     #221f1e\n*XmScrollBar.background:        #d6d2d0\n*XmScrollBar.foreground:        #221f1e\n*XmScrolledWindow.background:   #d6d2d0\n*XmScrolledWindow.foreground:   #221f1e\n*XmSelectionBox.background:     #d6d2d0\n*XmSelectionBox.foreground:     #221f1e\n*XmSeparator.background:        #d6d2d0\n*XmSeparator.foreground:        #221f1e\n*XmSeparatorGadget.background:  #d6d2d0\n*XmSeparatorGadget.foreground:  #221f1e\n*XmTearOffButton.background:    #d6d2d0\n*XmTearOffButton.foreground:    #221f1e\n*XmTearOffButtonGadget.background:      #d6d2d0\n*XmTearOffButtonGadget.foreground:      #221f1e\n*XmText.background:     #ffffff\n*XmText.foreground:     #1f1c1b\n*XmTextField.background:        #ffffff\n*XmTextField.foreground:        #1f1c1b\n*XmToggleButton.background:     #d6d2d0\n*XmToggleButton.foreground:     #221f1e\n*XmToggleButtonGadget.background:       #d6d2d0\n*XmToggleButtonGadget.foreground:       #221f1e\n*background:    #d6d2d0\n*beNiceToColormap:      false\n*borderColor:   black\n*foreground:    #221f1e\n*rvplayer*Command.BorderColor:  #1f1c1b\n*rvplayer*Command.background:   #d6d2d0\n*rvplayer*Command.foreground:   #221f1e\n*rvplayer*Label.BorderColor:    #1f1c1b\n*rvplayer*MenuButton.BorderColor:       #1f1c1b\n*rvplayer*MenuButton.background:        #d6d2d0\n*rvplayer*SepLine.BorderColor:  #d6d2d0\n*rvplayer*SepLine.bottomShadowPixel:    #ffffff\n*rvplayer*SepLine.topShadowPixel:       #615f5e\n*rvplayer*SimpleMenu.BorderColor:       #615f5e\n*rvplayer*SimpleMenu.background:        #d6d2d0\n*rvplayer*SimpleMenu.foreground:        #221f1e\n*rvplayer*SmeBSB*fgInsensitive: #ffffff\n*rvplayer*Vslider.thumbPixel:   #ffffff\n*rvplayer*authortext.background:        #d6d2d0\n*rvplayer*authortext.bottomShadowPixel: #ffffff\n*rvplayer*authortext.topShadowPixel:    #615f5e\n*rvplayer*background:   #d6d2d0\n*rvplayer*copyrighttext.background:     #d6d2d0\n*rvplayer*copyrighttext.bottomShadowPixel:      #ffffff\n*rvplayer*copyrighttext.topShadowPixel: #615f5e\n*rvplayer*proptext.background:  #d6d2d0\n*rvplayer*proptext.foreground:  #221f1e\n*rvplayer*statusback.background:        #d6d2d0\n*rvplayer*statusback.foreground:        #221f1e\n*rvplayer*statustext.background:        #d6d2d0\n*rvplayer*statustext.foreground:        #221f1e\n*rvplayer*timeinfotext.background:      #d6d2d0\n*rvplayer*timeinfotext.bottomShadowPixel:       #ffffff\n*rvplayer*timeinfotext.foreground:      #221f1e\n*rvplayer*timeinfotext.topShadowPixel:  #615f5e\n*rvplayer*timeslider.bottomShadowPixel: #ffffff\n*rvplayer*timeslider.foreground:        #d6d2d0\n*rvplayer*timeslider.thumbPixel:        #ffffff\n*rvplayer*timeslider.topShadowPixel:    #615f5e\n*rvplayer*titletext.background: #d6d2d0\n*rvplayer*titletext.bottomShadowPixel:  #ffffff\n*rvplayer*titletext.topShadowPixel:     #615f5e\n*rvplayer*volumeslider.bottomShadowPixel:       #ffffff\n*rvplayer*volumeslider.topShadowPixel:  #615f5e\nAcroRead.XmScreen.background:   #ffffff\nAcroRead.XmScreen.borderColor:  #1f1c1b\nAcroRead.borderColor:   #1f1c1b\nAcroread.background:    #ffffff\nAcroread.foreground:    #1f1c1b\nConfig*Text*background: #d6d2d0\nConfig*channel.background:      #d6d2d0\nConfig*key.background:  #d6d2d0\nConfig*list.background: #d6d2d0\nEmacs*Background:       #ffffff\nEmacs*Dialog*background:        #d6d2d0\nEmacs*Dialog*foreground:        #221f1e\nEmacs*Foreground:       #1f1c1b\nEmacs*XlwScrollBar.Background:  #d6d2d0\nEmacs*XlwScrollBar.Foreground:  #221f1e\nEmacs*backgroundToolBarColor:   #d6d2d0\nEmacs*bottomToolBarShadowColor: #d6d2d0\nEmacs*menubar*background:       #d6d2d0\nEmacs*menubar*foreground:       #221f1e\nEmacs*popup*Background: #d6d2d0\nEmacs*popup*Foreground: #221f1e\nEmacs*toolBarShadowThickness:   0\nEmacs*topToolBarShadowColor:    #d6d2d0\nEmacs.default.attributeBackground:      #ffffff\nEmacs.default.attributeForeground:      #1f1c1b\nNetscape*XmLGrid.background:    #d6d2d0\nNetscape*XmLGrid.foreground:    #1f1c1b\nNetscape*XmList*background:     #ffffff\nNetscape*XmList*foreground:     #1f1c1b\nNetscape*XmText*background:     #ffffff\nNetscape*XmText*foreground:     #1f1c1b\nNetscape*XmTextField*background:        #ffffff\nNetscape*XmTextField*foreground:        #1f1c1b\nNetscape*background:    #d6d2d0\nNetscape*bottomShadowColor:     #615f5e\nNetscape*defaultBackground:     #ffffff\nNetscape*foreground:    #221f1e\nNetscape*highlightColor:        #d6d2d0\nNetscape*power.LED.background:  #d6d2d0\nNetscape*power.LED.foreground:  #43ace8\nNetscape*selectBackground:      #43ace8\nNetscape*selectColor:   #d6d2d0\nNetscape*selectForeground:      #ffffff\nNetscape*thermo.slider.background:      #d6d2d0\nNetscape*thermo.slider.foreground:      #43ace8\nNetscape*topShadowColor:        #ffffff\nNetscape*urlLabel*background:   #ffffff\nNetscape*urlLabel*foreground:   #1f1c1b\nNetscape*urlText*background:    #ffffff\nNetscape*urlText*foreground:    #1f1c1b\nStreamer*Text*background:       #d6d2d0\nTopLevelShell*background:       #d6d2d0\nTopLevelShell*foreground:       #221f1e\nUXterm*background:      #ffffff\nUXterm*foreground:      #1f1c1b\nUXterm.SimpleMenu*background:   #d6d2d0\nUXterm.SimpleMenu*foreground:   #221f1e\nWPFMShell*MenuBar*background:   #d6d2d0\nWPFMShell*MenuBar*foreground:   #221f1e\nWPFMShell*XmDialogShell*XmDrawingArea*background:       #ffffff\nWPFMShell*XmDialogShell*XmDrawingArea*foreground:       #1f1c1b\nWPFMShell*XmDialogShell*XmList*background:      #ffffff\nWPFMShell*XmDialogShell*XmList*foreground:      #1f1c1b\nWPFMShell*XmDialogShell*XmScrolledWindow*XmDrawingArea.background: \n#ffffff\nWPFMShell*XmDialogShell*XmScrolledWindow*XmDrawingArea.foreground: \n#221f1e\nWPFMShell*XmDialogShell*XmText*background:      #ffffff\nWPFMShell*XmDialogShell*XmText*foreground:      #1f1c1b\nWPFMShell*XmDialogShell*XmTextField*background: #ffffff\nWPFMShell*XmDialogShell*XmTextField*foreground: #1f1c1b\nWPFMShell*XmDialogShell*background:     #ffffff\nWPFMShell*XmDialogShell*foreground:     #221f1e\nWPFMShell*XmDrawingArea*background:     #ffffff\nWPFMShell*XmDrawingArea*foreground:     #1f1c1b\nWPFMShell*XmList*background:    #ffffff\nWPFMShell*XmList*foreground:    #1f1c1b\nWPFMShell*XmScrolledWindow*XmDrawingArea.background:    #d6d2d0\nWPFMShell*XmScrolledWindow*XmDrawingArea.foreground:    #221f1e\nWPFMShell*XmText*background:    #ffffff\nWPFMShell*XmText*foreground:    #1f1c1b\nWPFMShell*XmTextField*background:       #ffffff\nWPFMShell*XmTextField*foreground:       #1f1c1b\nWPFMShell*background:   #d6d2d0\nWPFMShell*foreground:   #221f1e\nWPFMShell*menubar*background:   #d6d2d0\nWPFMShell*menubar*foreground:   #221f1e\nXWp*MenuBar*background: #d6d2d0\nXWp*MenuBar*foreground: #221f1e\nXWp*XmDialogShell*XmDrawingArea.background:     #ffffff\nXWp*XmDialogShell*XmDrawingArea.foreground:     #1f1c1b\nXWp*XmDialogShell*XmList*background:    #ffffff\nXWp*XmDialogShell*XmList*foreground:    #1f1c1b\nXWp*XmDialogShell*XmScrolledWindow*XmDrawingArea.background:    #ffffff\nXWp*XmDialogShell*XmScrolledWindow*XmDrawingArea.foreground:    #221f1e\nXWp*XmDialogShell*XmText*background:    #ffffff\nXWp*XmDialogShell*XmText*foreground:    #1f1c1b\nXWp*XmDialogShell*XmTextField*background:       #ffffff\nXWp*XmDialogShell*XmTextField*foreground:       #1f1c1b\nXWp*XmDialogShell*background:   #d6d2d0\nXWp*XmDialogShell*foreground:   #221f1e\nXWp*XmDrawingArea.background:   #ffffff\nXWp*XmDrawingArea.foreground:   #1f1c1b\nXWp*XmList*background:  #ffffff\nXWp*XmList*foreground:  #1f1c1b\nXWp*XmScrolledWindow*XmDrawingArea.background:  #d6d2d0\nXWp*XmScrolledWindow*XmDrawingArea.foreground:  #221f1e\nXWp*XmText*background:  #ffffff\nXWp*XmText*foreground:  #1f1c1b\nXWp*XmTextField*background:     #FFFFFFFFFFFF\nXWp*XmTextField*foreground:     #1f1c1b\nXWp*background: #d6d2d0\nXWp*foreground: #221f1e\nXWp*menubar*background: #d6d2d0\nXWp*menubar*foreground: #221f1e\nXWp*popmenu*background: #d6d2d0\nXWp*popmenu*foreground: #221f1e\nXWp.form.controlbar.menubar.CBHlpButton*background:     #d6d2d0\nXWp.form.hscrollbar.background: #d6d2d0\nXWp.form.rulerframe.ruler*background:   #d6d2d0\nXWp.form.scrollbar0.background: #d6d2d0\nXWp.mainWindowForm.mainWindowMenubar*background:        #d6d2d0\nXWp.mainWindowForm.mainWindowMenubar*foreground:        #221f1e\nXawtv*Dialog.value.background:  #d6d2d0\nXawtv*background:       #d6d2d0\nXawtv*foreground:       #221f1e\nXcursor.size:   0\nXcursor.theme:  Breeze_Snow\nXft.antialias:  1\nXft.hinting:    0\nXft.hintstyle:  hintnone\nXterm*background:       #ffffff\nXterm*foreground:       #1f1c1b\nXterm.SimpleMenu*background:    #d6d2d0\nXterm.SimpleMenu*foreground:    #221f1e\neditres*Panner.Background:      #d6d2d0\neditres*Tree.Background:        #ffffff\neditres*Tree.Foreground:        #1f1c1b\neditres*Tree.Toggle.Background: #d6d2d0\neditres*Tree.Toggle.Foreground: #221f1e\ngit-gui*Text.Background:        white\nml*XmCascadeButton.marginHeight:        2\nml*XmCascadeButton.marginWidth: 8\nml*XmForm*bottomOffset: 0\nml*XmForm*topOffset:    0\nml*XmForm*verticalSpacing:      0\nml*XmList*background:   #ffffff\nml*XmList*foreground:   #1f1c1b\nml*XmList*highlightThickness:   0\nml*XmPushButton.marginHeight:   1\nml*XmRowColumn*marginHeight:    1\nml*XmRowColumn*spacing: 0\nml*XmRowColumn.entryBorder:     0\nml*XmText*background:   #ffffff\nml*XmText*foreground:   #1f1c1b\nml*XmTextField*background:      #ffffff\nml*XmTextField*foreground:      #1f1c1b\nml*XmToggleButton.marginHeight: 1\nml*background:  #d6d2d0\nml*borderWidth: 0\nml*focusPolicy: pointer\nml*foreground:  #221f1e\nml*helpwin*textSW.text.background:      #ffffff\nml*helpwin*textSW.text.foreground:      #1f1c1b\nml*highlightColor:      #d6d2d0\nml*log*textSW.text.background:  #ffffff\nml*log*textSW.text.foreground:  #1f1c1b\nml*marginHeight:        2\nml*marginWidth: 3\nml*selectColor: #d6d2d0\nml*textSW.text.background:      #ffffff\nml*textSW.text.foreground:      #1f1c1b\nml.form.height: 550\nml.form.width:  650\nnedit*background:       #d6d2d0\nnedit*foreground:       #221f1e\nxcalc*background:       #d6d2d0\nxcalc*bevel.screen.LCD.background:      #ffffff\nxcalc*bevel.screen.LCD.foreground:      #1f1c1b\nxcalc*foreground:       #221f1e\nxdvi.background:        white\nxosview*background:     #d6d2d0\nxosview*foreground:     #221f1e\nxosview*meterLabelColor:        #221f1e\nxosview*usedLabelColor: #221f1e\nxpdf.background:        #d6d2d0\nxpdf.foreground:        #221f1e\nxpdf.urlCommand:        kfmclient exec %s\n\n\t\tM.\n\n"},{"id":"408682","messageId":"20201029232816.68285-1-serg.partizan@gmail.com","threadId":"54522","inReplyTo":"b85e0713-81d6-fcf2-6292-1b5acf86650a@xiplink.com","subject":"RE: git-gui: Why are the main panels no longer white?","fromName":"Serg Tereshchenko","fromEmail":"serg.partizan@gmail.com","sentAt":"2020-10-29T23:28:16Z","receivedAt":"2020-10-29T23:28:25Z","isPatch":false,"sender":{"key":"serg.partizan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/301015?v=4"},"body":"On Thu, Oct 29, 2020 at 11:58 PM Marc Branchaud <marcnarc@xiplink.com> wrote:\n> > I will check it on kubuntu later.\n> >\n> > Can you show your `xrdb -query`?\n>\n> *Box.background:        #d6d2d0\n> *Box.foreground:        #221f1e\n> ...\n\nThis massive list of options could be the problem.\n\n> Thanks.  Seems to be /usr/share/tcltk/tk8.6/ttk on my box.\n> Nothing in that directory sets that greyish color (#d6d2d0).\n\nBut many options in `xrdb -query` is setting that color, and this is the reason.\nAnd that's exactly some KDE-theming-TK-apps thing.\n\nI tried to install Kubuntu 10.04, and in gnome-boxes it could not\nconfigure the network.\nLuckily 18.04 has the same big list of options in `xrdb -query` and I\nwas able to reproduce the issue.\n\nI traced source of the problem:\n\n> *background:    #d6d2d0\n\nBut if you change this, many backgrounds change color.\n\nNow we need to find right *something*background to set that panel\ncolors. I'll continue search tomorrow.\n\n--\nRegards,\nSerg Tereshchenko\n"},{"id":"408683","messageId":"CAJihB3K_Gnz-y-=2wriak-7cjPAv_Zi-j96T=iaCgnQBxBNvuw@mail.gmail.com","threadId":"54522","inReplyTo":"b85e0713-81d6-fcf2-6292-1b5acf86650a@xiplink.com","subject":"Re: git-gui: Why are the main panels no longer white?","fromName":"partizan","fromEmail":"serg.partizan@gmail.com","sentAt":"2020-10-29T23:21:12Z","receivedAt":"2020-10-29T23:31:02Z","isPatch":false,"sender":{"key":"serg.partizan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/301015?v=4"},"body":"On Thu, Oct 29, 2020 at 11:58 PM Marc Branchaud <marcnarc@xiplink.com> wrote:\n> > I will check it on kubuntu later.\n> >\n> > Can you show your `xrdb -query`?\n>\n> *Box.background:        #d6d2d0\n> *Box.foreground:        #221f1e\n> ...\n\nThis massive list of options could be the problem.\n\n>  Thanks.  Seems to be /usr/share/tcltk/tk8.6/ttk on my box.\n> Nothing in that directory sets that greyish color (#d6d2d0).\n\nBut many options in `xrdb -query` is setting that color, and this is the reason.\nAnd that's exactly some KDE-theming-TK-apps thing.\n\nI tried to install Kubuntu 10.04, and in gnome-boxes it could not\nconfigure the network.\nLuckily 18.04 has the same big list of options in `xrdb -query` and I\nwas able to reproduce the issue.\n\nI traced source of the problem:\n\n> *background:    #d6d2d0\n\nBut if you change this, many backgrounds change color.\n\nNow we need to find right *something*background to set that panel\ncolors. I'll continue search tomorrow.\n"},{"id":"408732","messageId":"CA+X=3TLqbSAj9Tzq2MCjf=Ufx0RzNuriqho_3zT7ffbazQ5btw@mail.gmail.com","threadId":"54522","inReplyTo":"619dac64-106c-d6df-b121-ce6589b4af3a@xiplink.com","subject":"Re: git-gui: Why are the main panels no longer white?","fromName":"Pratyush Yadav","fromEmail":"pratiy0100@gmail.com","sentAt":"2020-10-30T11:25:03Z","receivedAt":"2020-10-30T11:25:42Z","isPatch":false,"sender":{"key":"pratiy0100@gmail.com","avatar":null},"body":"[Using Gmail because my stupid email provider thinks this is spam.]\n\nOn 29/10/20 09:47AM, Marc Branchaud wrote:\n> On 2020-10-29 7:44 a.m., Serg Tereshchenko wrote:\n> > Hi Marc!\n> >\n> > What tcl-tk theme are you using? Autodetection supposed to fetch\n> > color from TreeView background, and probably your theme using\n> > that odd gray for TreeViews.\n>\n> Thanks for your reply!  It's been a long, long time since I've had to muck\n> around with a .X* file...\n>\n> > To set your desired color for background, you can add\n> >\n> > *Text.Background: white\n> >\n> > to ~/.Xresources; and `xrdb -merge ~/.Xresources` to apply it.\n> >\n> > Or, try another theme. This one gives me white background.\n> >\n> > *TkTheme: clam\n>\n> Unfortunately none of those gives me white panels, although I do see other\n> visual aspects change under different themes (also, `xrdb -query` shows that\n> the *Text.Background setting has applied).\n>\n> However, saying\n>     *background: white\n> does the trick!\n>\n> To narrow the scope of that, I'm going with\n>     git-gui*Text.Background: white\n\nYour other option would be to disable theming completely by setting the\nconfig `gui.usettk` to 0 (via git config). If you still see gray panels\nwith this option set to 0 I would consider that a bug.\n\n> > To list available themes, run `wish`\n> >\n> > ::ttk::themes\n>\n> I have:\n>     classic default clam alt\n> \"ttk::style theme use\" says I'm using the \"default\" theme.\n>\n> Is there some way I can edit/view the theme definitions?\n\nOn my system the themes are located in /usr/lib/tk8.6/ttk/. So for\nexample, the theme clam can be found at\n/usr/lib/tk8.6/ttk/clamTheme.tcl.\n\n-- \nRegards,\nPratyush Yadav\n"},{"id":"408741","messageId":"95c91585-5249-b0cd-bd06-a014e8770d37@xiplink.com","threadId":"54522","inReplyTo":"20201029232816.68285-1-serg.partizan@gmail.com","subject":"Re: git-gui: Why are the main panels no longer white?","fromName":"Marc Branchaud","fromEmail":"marcnarc@xiplink.com","sentAt":"2020-10-30T13:58:14Z","receivedAt":"2020-10-30T13:58:20Z","isPatch":false,"sender":{"key":"marcnarc@xiplink.com","avatar":"https://avatars.githubusercontent.com/u/14980203?v=4"},"body":"On 2020-10-29 7:28 p.m., Serg Tereshchenko wrote:\n> \n> I traced source of the problem:\n> \n>> *background:    #d6d2d0\n> \n> But if you change this, many backgrounds change color.\n> \n> Now we need to find right *something*background to set that panel\n> colors. I'll continue search tomorrow.\n\nI think our emails crossed in the night somewhere...\n\nI've found that\n\tgit-gui*Text.Background\nin ~/.Xresources does the right thing.\n\n\t\tM.\n\n"},{"id":"408753","messageId":"DHT0JQ.CD3G8694SGVA1@gmail.com","threadId":"54522","inReplyTo":"95c91585-5249-b0cd-bd06-a014e8770d37@xiplink.com","subject":"Re: git-gui: Why are the main panels no longer white?","fromName":"","fromEmail":"serg.partizan@gmail.com","sentAt":"2020-10-30T15:24:49Z","receivedAt":"2020-10-30T15:25:01Z","isPatch":false,"sender":{"key":"serg.partizan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/301015?v=4"},"body":"\n\nOn Fri, Oct 30, 2020 at 09:58, Marc Branchaud <marcnarc@xiplink.com> \nwrote:\n> I think our emails crossed in the night somewhere...\n> \n> I've found that\n> \tgit-gui*Text.Background\n> in ~/.Xresources does the right thing.\n\nHmmm, for me this doesn't work.\n\nBut, if I define it like this:\n\n *vpane*Text.Background: ...\n\nIt works. Probably becouse root window name differs in my case, but I \nhave no idea why.\n\nConsidering issue solved.\n\n\nProbably, this can happen to anyone on Kubuntu (or maybe KDE), but \ndon't see a way fix this on git-gui side. If something is changing \ntheme colors using `*.background: ...`, this \"something\" must also set \ncolor for git-gui.\n\n\n"}]}