You are not logged in.
Most hex and ascii strings displayed in okteta are not readable for me, because they are very bright blue/grey on white background. Only some values are more dark blue (and yes, I know why they are this: color is displayed according value range).
What I don't understand is why somebody choose some hard to read colors and why I can not change them (and change background to for example black).
That makes okteta unusable for me (too bad, because it would be good hex editor).
Last edited by xerxes_ (2020-02-03 20:02:45)
Offline
Okteta is a qt5 app, it's presentation depends on the theme you have set for Qt.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I had in .bashrc.aliases file lines:
export QT_STYLE_OVERRIDE=gtk
export QT_SELECT=qt5
and changed gtk to gtk2, installed breeze-gtk and breeze-icons. My previous output from terminal when starting okteta is here: https://bbs.archlinux.org/viewtopic.php?id=252546
Now my output is:
kf5.kservice.services: KServiceTypeTrader: serviceType "TerminalEmulator" not found
kdeinit5: preparing to launch '/usr/lib/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 110635, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kdeinit5: PID 110638 terminated.
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
register count: 0, destroy count: 0
'kf5.kxmlgui: Index 10 is not within range (0 - 9 )' is when I create/switch to tab which new/other file, 'register count: 0, destroy count: 0' when okteta is closed.
The most important is that I switch and checked all qt5 styles by -style option runed with okteta and it doesn't change colors of displayed hex & ascii strings (I still can't read it all, no change to this problem).
Offline
You will want to use qt5ct to change the theme and more importantly the applied color scheme on non KDE/GNOME platforms: https://wiki.archlinux.org/index.php/Qt … KDE_Plasma
Also does the existence of this imply you managed to solve your original issue in the other thread? please mark that one as solved.
Offline
I set environment variable QT_QPA_PLATFORMTHEME="qt5ct" and run okteta with paramiter '--platformtheme qt5ct' to test how it would be when I would set it and it even went worse - no hex and ascii string was visible. Here is console output:
QFont::fromString: Invalid description '(empty)'
QFont::fromString: Invalid description '(empty)'
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/16/panel/"
Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/16@2x/panel/"
Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/22/panel/"
Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/22@2x/panel/"
Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/24/panel/"
Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/24@2x/panel/"
Invalid Context= "Notifications" line for icon theme: "/usr/share/icons/Numix/48/notifications/"
Invalid Context= "Notifications" line for icon theme: "/usr/share/icons/Numix/48@2x/notifications/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/scalable/ui/"
kf5.kservice.services: KServiceTypeTrader: serviceType "TerminalEmulator" not found
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::end: Painter not active, aborted
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::end: Painter not active, aborted
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::end: Painter not active, aborted
kf5.kxmlgui: Index 10 is not within range (0 - 9 )
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::end: Painter not active, aborted
register count: 0, destroy count: 0
And no, I didn't resolve open file problem with okteta from other thread. I think I will abandon that program with all that graphical and functional mess and use other prog. It's waste of time and hopeless fight.
Last edited by xerxes_ (2020-02-02 22:21:31)
Offline
You have to configure the relevant settings in qt5ct beforehand...
Offline
I set up environment variable QT_QPA_PLATFORMTHEME=qt5ct, remove QT_STYLE_OVERRIDE=gtk2 and QT_SELECT=qt5, relogin to get rid old environment variables, done setup qt5ct, run okteta and then it worked! (previously I didn't remove QT_STYLE_OVERRIDE and QT_SELECT, so there were variables conflict). I saw BIG hex and ascii strings that were somewhat more visible: because there were BIG and on not so much white background.
So I can mark thread as solved (for now I don't expect it to be better). Maybe in future there will be options to change colors of strings and background, like in windows hex editor HxD2 (which I can recommend if someone use windows).
Last edited by xerxes_ (2020-02-03 20:44:21)
Offline