Coder Social home page Coder Social logo

Fix dark theme about cutter HOT 9 CLOSED

rizinorg avatar rizinorg commented on May 21, 2024
Fix dark theme

from cutter.

Comments (9)

thestr4ng3r avatar thestr4ng3r commented on May 21, 2024 3

Fixed most of the issues:
bildschirmfoto vom 2017-11-25 15-58-24
Note the different highlight colors in functions on the left (explicitly set) and offset info on the right (system default). In my opinion, we could just use system colors for all lists.

By the way, I found out it is possible to refer to palette colors from stylesheets: http://doc.qt.io/qt-5/stylesheet-reference.html#paletterole

from cutter.

CodingKoopa avatar CodingKoopa commented on May 21, 2024

+1, this is what Cutter using the Dark theme looks like with the Arc-Dark GTK theme on XFCE:

And Cutter with the default theme, with the Arc GTK theme:

from cutter.

xarkes avatar xarkes commented on May 21, 2024

The white buttons on the top left with default theme is weird.

from cutter.

thestr4ng3r avatar thestr4ng3r commented on May 21, 2024

@TheKoopaKingdom could it be that you don't have Qt's SVG support? How did you build cutter or did you use the builds from the GitHub releases?

I think we will also have to add that to the .pro file:

QT += svg

from cutter.

CodingKoopa avatar CodingKoopa commented on May 21, 2024

I built it myself. I followed the instructions to install Radare2, and, in src, ran the usual mkdir build && cd build, cmake .., and make.

(Can't test with the qmake option right now.)

from cutter.

thestr4ng3r avatar thestr4ng3r commented on May 21, 2024

So I suppose you used Qt from your distribution's packages? What distribution+version is this?

from cutter.

xarkes avatar xarkes commented on May 21, 2024

@TheKoopaKingdom Can you test with the latest version and tell what's broken exactly?

from cutter.

CodingKoopa avatar CodingKoopa commented on May 21, 2024

So I suppose you used Qt from your distribution's packages? What distribution+version is this?

Yep. This is Arch Linux, Qt version 5.9.2.

Can you test with the latest version and tell what's broken exactly?

Rebuilt with the latest version, some of it is better now.
Issues that still persist:

  • The disassembly has dark text on a dark background in some cases.
  • The background of the window borders within Cutter is gray/white.
  • Tabbed views (e.g. Dashboard | Disassembly | Graph..., or Sections | Comments) are gray/white.
  • The dashboard is gray/white.
  • The headers of the lists with multiple columns (e.g. the sections window in the bottom left) are gray/white.
  • The sections chart has a white background.
  • The opcode description is white/black.
  • The arrow buttons are white/black (On the darker background, they look inverted.).
  • The function list's highlight color is white (Should be blue, like the offset info of the sidebar.)
    screenshot_2017-11-20_20-05-39
    screenshot_2017-11-20_20-06-19
    screenshot_2017-11-20_20-06-57

from cutter.

thestr4ng3r avatar thestr4ng3r commented on May 21, 2024

I could reproduce the white icons when QtSvg is not installed. It is now required as of https://github.com/radareorg/cutter/commit/9927f2cf206a92b1b63b41adf36c179297811f7b.

from cutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.