Git Product home page Git Product logo

Comments (10)

AlynxZhou avatar AlynxZhou commented on July 17, 2024

Try move your cursor a little bit higher than the text. I cannot reproduce this.

What's your theme?

from showmethekey.

ha5ch avatar ha5ch commented on July 17, 2024

I'm afraid cursor a little above doesn't work for me. I'm using Colloid-gtk-theme but also tried with Adwaita and all extension deactivated. Same result.

from showmethekey.

AlynxZhou avatar AlynxZhou commented on July 17, 2024

How about take some screencast about your interaction and terminal output and attach it here? I am not sure why.

from showmethekey.

ha5ch avatar ha5ch commented on July 17, 2024

ok, will do a screencast a little later and post it here. may it help. Additional terminal output is not given atm.

from showmethekey.

AlynxZhou avatar AlynxZhou commented on July 17, 2024

Additional terminal output is not given atm.

GTK_DEBUG=all GDK_DEBUG=all G_MESSAGE_DEBUG=all showmethekey-gtk may help.

A debug build is needed.

from showmethekey.

AlynxZhou avatar AlynxZhou commented on July 17, 2024

My friend tested and says if you switched to colloid and then switch back to adwaita you'll get this error, maybe it's a theme issue. I'll try myself.

from showmethekey.

AlynxZhou avatar AlynxZhou commented on July 17, 2024

Instead of writing workaround for themes, I think it's more reasonable to let the floating window just use Adwaita. I cannot fix countless third-party themes, and the floating window is special that there are little style that can be applied on it.

from showmethekey.

AlynxZhou avatar AlynxZhou commented on July 17, 2024

Instead of writing workaround for themes, I think it's more reasonable to let the floating window just use Adwaita.

However I didn't find a way to only apply themes for one widget.

from showmethekey.

AlynxZhou avatar AlynxZhou commented on July 17, 2024

Check v1.7.2 from AUR which always GTK basic theme for floating window, it should fix this issue.

If not feel free to reopen.

from showmethekey.

AlynxZhou avatar AlynxZhou commented on July 17, 2024

Gtk 4.10 dropped GtkStyleContext, now I could only set style for a GdkDisplay (not per widget), so set basic theme for this widget is not a solution.

Some solutions I have:

  1. Add workaround in CSS for each themes, but it is hard to read every themes to see what they did for header bar. Or just don't support them.
  2. Let the whole app use basic theme, it should be fine, but ugly.
  3. Similar with 2, but just use Libadwaita, so I only need to write CSS based on the Libadwaita one, it is beautiful, but require extra code changes.

from showmethekey.

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.