Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions extension/widgets/ongoingFactEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ class OngoingFactEntry extends St.Entry {
name: 'searchEntry',
can_focus: true,
track_hover: true,
hint_text: _("Enter activity…"),
style_class: "search-entry"
hint_text: _("Enter activity…")
Copy link
Author

@slovdahl slovdahl Aug 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea if this is the right way to fix it, but opening a PR just to start the discussion. The custom style was added in e7b2e5c.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this issue. It might be related to your gtk theme settings.

The commit that introduced it is ancient.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the hint! I was thinking I have a fairly standard Ubuntu 24.04 with GNOME.. But I installed a clean Ubuntu 24.04 in a VM and was unable to reproduce the same problem.

After searching through my home directory I found a reference to search-entry in the Blur my Shell extension. And indeed, after installing Blur my Shell in the VM I immediately got the same problem.

So maybe I should report the issue there instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking back at #103 it seems like it was a workaround added for old GNOME versions 🤔 Or? So is it needed for anything any more?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I don't know. I'm not sure if current GNOME versions still use style_class at all (but I'm assuming it does, otherwise removing wouldn't have an effect, right?).

In general I would say it is innocent. We're not mandating anything about background or font colors or any other specific style attributes. It's just an abstract hint about the purpose of the widget. AFAICT this is how it should be done. It's then up the theme to determine how `search-entry´ widgets should be rendered.

I haven't heard about "blur my shell" so far. I'm generally sceptical about extensions that only add eye candy. As the authors of that extension seem to care a lot about this kind of things, maybe they'll be able to fix it, or at least provide some insight about style_class and how they handle it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am a bit confused why an extension like "blur my shell" is necessary at all. To my understanding, this is what themes are for. Possibly the extension is doing stuff that can't be done with themes. But then, effects like the one you describe should be expected. The extension would need to take utmost care to play well with the settings the current theme is applying, which (I suppose) will be hard.

});

this._controller = controller;
Expand Down