You are not logged in.
ive tried changing gtk2 font settings and various other configs for gtk, it works perfectly fine outside this specific app and i am a bit of a noob and i am not sure where to go from here to work out how to solve this problem.
http://i.imgur.com/pOOAiEp.png
edit: log
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: Creating the cache for: "applications:GitKraken.desktop"
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: Already in database? true
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: First update : QDateTime(2017-06-05 20:43:22.000 AEST Qt::TimeSpec(LocalTime))
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: Last update : QDateTime(2017-06-06 23:40:17.000 AEST Qt::TimeSpec(LocalTime))
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: After the adjustment
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: Current score : 19.6616
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: First update : QDateTime(2017-06-05 20:43:22.000 AEST Qt::TimeSpec(LocalTime))
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: Last update : QDateTime(2017-06-06 23:40:17.000 AEST Qt::TimeSpec(LocalTime))
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: Interval length is 0
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: New score : 20.6616
Jun 06 23:49:15 Anthony-PC kactivitymanagerd[763]: ResourceScoreUpdated: "879d2ed7-b040-44ad-aeca-1ff126ad5d30" "org.kde.krunner" "applications:GitKraken.desktop"
Jun 06 23:49:16 Anthony-PC plasmashell[675]: QXcbConnection: XCB error: 2 (BadValue), sequence: 49196, resource id: 81788929, major code: 142 (Unknown), minor code: 3
Jun 06 23:49:16 Anthony-PC plasmashell[675]: QXcbConnection: XCB error: 2 (BadValue), sequence: 49222, resource id: 111149062, major code: 142 (Unknown), minor code: 3
Jun 06 23:49:16 Anthony-PC plasmashell[675]: QXcbConnection: XCB error: 2 (BadValue), sequence: 49238, resource id: 62914566, major code: 142 (Unknown), minor code: 3
Jun 06 23:49:28 Anthony-PC kwin_x11[662]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 47394, resource id: 123731999, major code: 15 (QueryTree), minor code: 0
Last edited by Zanven (2017-07-12 17:02:23)
Offline
Someone correct me if I'm wrong, but I do believe that's the GTK3 file chooser, not GTK2. Just giving you a place to start. The same window should pop up when you're trying to select where to save a download in firefox, for example, does it look okay elsewhere? What fonts have you installed?
Last edited by ralph_13 (2017-06-06 17:59:16)
Offline
Someone correct me if I'm wrong, but I do believe that's the GTK3 file chooser, not GTK2. Just giving you a place to start. The same window should pop up when you're trying to select where to save a download in firefox, for example, does it look okay elsewhere? What fonts have you installed?
i used a gtk2 editor to change colors and mess with the fonts and that did not resolve the issue for me (idk if that would also effect gtk3 stuff) and it also changed the style in firefox so im under the presumption its gtk2 because that's what is also listed as the dependency for gitkraken.
image of firefox save as
https://imgur.com/mOWX7bT
i went and installed a bunch of fonts to see if that would resolve it, is their a easy way to see all fonts to list them? (ill google as well after posting in case its piss easy)
ill also try messing with the gtk3 stuff just in case.
Offline
One way to know for sure whether it uses GTK 2 or 3 is to run ldd on the executable.
This looks like a font or locale issue. Do you have issues like this with other GTK2 apps? Get us your /etc/locale.conf and gtkrc.
The wiki page on font configuration is pretty good. If you want to, you can play around with fc-list and fc-match.
Looks like your running KDE, could it be messing with your GTK configuration? Allegedly it used to happen.
Offline
ldd results: https://pastebin.com/Dc6846tv
i presume you are referring to this wiki, im not too sure how id play with that to potentially solve this but ill have a read now and play with it.
yes i am running KDE, /opt/gnome does not exist.
edit: forgot locale and gtkrc one sec
locale.conf
LANG=en_AU.UTF-8gtkrc
# File created by KDE Gtk Config
# Configs for GTK2 programs
include "/usr/share/themes/Breeze-Dark/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Roboto Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Roboto Regular 11"
gtk-theme-name="Breeze-Dark"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="breeze-dark"
gtk-cursor-theme-name="Oxygen_Black"
gtk-toolbar-style=GTK_TOOLBAR_TEXT
gtk-menu-images=1
gtk-button-images=1
gtk-primary-button-warps-slider=0Last edited by Zanven (2017-06-06 20:19:23)
Offline
i installed abiword to test gtk2 and the file chooser and it worked perfectly fine for me,
i opened /opt/gitkraken/locales/ and found it had no en_au so i switched and re generated my locale to en_US and rebooted and that did not fix it.
Last edited by Zanven (2017-06-06 20:57:31)
Offline
Abiword uses GTK3, see output of "ldd /usr/bin/abiword | grep gtk":
libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007fc5589a9000)Try running gtk-demo (included in the gtk2 package), most importantly the Pickers demo containing the file picker dialog. If that doesn't show anything suspicious, it'll be hard to debug this further as we can only guess without gitkraken's source code. (well, it can probably be debugged further, starting with debugging flags for GLib/GTK, but that's probably going to take a while).
Offline
looks pretty much fine in the picker, the only thing i noticed not right was the rendering of the preview text on a select few fonts in the font picker part, other than that it looks perfectly fine.
image
Last edited by Zanven (2017-06-06 22:02:37)
Offline
Well, the dialog in your first screenshot definitely differs with the one you showed just now on quite a few points. Looks like a completely different GTK theme to me. Try running kraken with all GTK warnings and debug messages enabled. Also install gnome-themes-standard for the adwaita engine.
Consider trying forcing KDE file dialogs as a work-around as described in the wiki (never tried it): https://wiki.archlinux.org/index.php/Un … plications
Offline
i am not sure if this is the correct way to run GTK with warnings, im guessing i need to recompile the entire package and enable debugging which i haven't done yet and i am not sure how i would do that besides manually downloading source and wherever the build flags are add what is needed before compiling and i am currently struggling as i have been up super late so far,
from what i did try i managed to find this in the journelctl.
Jun 07 09:33:26 Anthony-PC systemd-coredump[1193]: Process 896 (gitkraken) of user 1000 dumped core.
Stack trace of thread 896:
#0 0x000000000337ae2f _ZN4atom12NativeWindow18RequestToClosePageEv (gitkraken)
#1 0x000000000337ffbf n/a (gitkraken)
#2 0x000000000323962a n/a (gitkraken)
#3 0x00000000032e2f4d _ZN4atom10WindowList15CloseAllWindowsEv (gitkraken)
#4 0x0000000001da24ac n/a (gitkraken)
#5 0x0000000001dbd5c5 n/a (gitkraken)
#6 0x0000000001dbd8e8 n/a (gitkraken)
#7 0x0000000001dbdaab n/a (gitkraken)
#8 0x0000000001d96b2a n/a (gitkraken)
#9 0x00007f532734d7f7 g_main_context_dispatch (libglib-2.0.so.0)
#10 0x00007f532734da28 n/a (libglib-2.0.so.0)
#11 0x00007f532734dabc g_main_context_iteration (libglib-2.0.so.0)
#12 0x0000000001d96a06 n/a (gitkraken)
#13 0x0000000001dd4f60 n/a (gitkraken)
#14 0x00000000025a5f39 n/a (gitkraken)
#15 0x00000000025a5d34 n/a (gitkraken)
#16 0x00000000025a8b3d n/a (gitkraken)
#17 0x00000000025a138c n/a (gitkraken)
#18 0x00000000011c43c7 n/a (gitkraken)
#19 0x00000000011c2de0 n/a (gitkraken)
#20 0x00000000032d4bd0 main (gitkraken)
#21 0x00007f5324f6943a __libc_start_main (libc.so.6)
#22 0x000000000056c2b9 _start (gitkraken)Last edited by Zanven (2017-06-06 23:57:57)
Offline
...
Last edited by trytipARCH (2017-06-11 03:52:45)
Offline
.config/fontconfig/fonts.conf did not exist, (the folder did), no change after rebooting, is the fact the file was missing a indicator something is missing from my package list?
Offline
...
Last edited by trytipARCH (2017-06-11 03:52:57)
Offline
I believe the problem was caused by an update to pango, See possible solution here: https://www.reddit.com/r/archlinux/comm … r/dk38mff/
Offline
I believe the problem was caused by an update to pango, See possible solution here: https://www.reddit.com/r/archlinux/comm … r/dk38mff/
that suggestion has resolved this issue thank you very much
.
edit: i might add i only had to downgrade pango to 1.40.5-1 , the following step for modifying the bash script was not needed for me.
Last edited by Zanven (2017-07-12 17:07:16)
Offline
pkats15 wrote:I believe the problem was caused by an update to pango, See possible solution here: https://www.reddit.com/r/archlinux/comm … r/dk38mff/
that suggestion has resolved this issue thank you very much
.
Always happy to help!
Offline