Skip to content

menubutton: arrow: Use open-menu-symbolic when no direction - #1013

Merged
ryonakano merged 5 commits into
mainfrom
ryonakano/arrow-open-menu-when-none
Aug 30, 2026
Merged

ryonakano merged 5 commits into
mainfrom
ryonakano/arrow-open-menu-when-none

Conversation

@ryonakano

@ryonakano ryonakano commented Aug 30, 2026

Copy link
Copy Markdown
Member

Fixes #1012

Checklist

  • Confirmed the expected icon is used when building our File Roller with the following diff and changing GTK Theme to Granite using GTK Inspector
    image
  • Confirmed other widgets like dropdowns is not affected to this change
    image
A patch to build this branch inside the sanbox
diff --git a/org.gnome.FileRoller.json b/org.gnome.FileRoller.json
index c3ccc8e..1713862 100644
--- a/org.gnome.FileRoller.json
+++ b/org.gnome.FileRoller.json
@@ -99,6 +99,68 @@
                 }
             ]
         },
+        {
+            "name": "granite-7",
+            "buildsystem": "meson",
+            "config-opts": [
+                "-Ddemo=false"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/elementary/granite.git",
+                    "commit": "bc4455f175f5e56da9632f5139f6dfc57c02d03f",
+                    "x-checker-data": {
+                        "type": "git",
+                        "tag-pattern": "^([\\d.]+)$"
+                    }
+                }
+            ],
+            "modules": [
+                {
+                    "name": "sassc",
+                    "cleanup": [
+                        "*"
+                    ],
+                    "sources": [
+                        {
+                            "type": "git",
+                            "url": "https://github.com/sass/sassc.git",
+                            "tag": "3.6.2"
+                        },
+                        {
+                            "type": "script",
+                            "dest-filename": "autogen.sh",
+                            "commands": [
+                                "autoreconf -si"
+                            ]
+                        }
+                    ],
+                    "modules": [
+                        {
+                            "name": "libsass",
+                            "cleanup": [
+                                "*"
+                            ],
+                            "sources": [
+                                {
+                                    "type": "git",
+                                    "url": "https://github.com/sass/libsass.git",
+                                    "tag": "3.6.5"
+                                },
+                                {
+                                    "type": "script",
+                                    "dest-filename": "autogen.sh",
+                                    "commands": [
+                                        "autoreconf -si"
+                                    ]
+                                }
+                            ]
+                        }
+                    ]
+                }
+            ]
+        },
         {
             "name": "file-roller",
             "buildsystem": "meson",

Comment thread lib/Styles/Gtk/Arrow.scss Outdated
@danirabbit

Copy link
Copy Markdown
Member

Thanks! We'll want to cherry pick this fix back to the granite-7 branch I imagine since main is granite 9?

@ryonakano

Copy link
Copy Markdown
Member Author

Thanks! We'll want to cherry pick this fix back to the granite-7 branch I imagine since main is granite 9?

Am I understand correctly that what we should work on is the stylesheet repository not here because the new stylesheet has not been released yet?

@danirabbit

Copy link
Copy Markdown
Member

@ryonakano yes exactly. Sorry I misspoke about committing it to granite-7. It would need to be in Stylesheet

@ryonakano

Copy link
Copy Markdown
Member Author

Ah, I noticed we should limit this style to menubutton as done in libadwaita, otherwise it will widely applied like this:

image

@ryonakano ryonakano changed the title Arrow: Use open-menu-symbolic when no direction menubutton: arrow: Use open-menu-symbolic when no direction Aug 30, 2026
@ryonakano

Copy link
Copy Markdown
Member Author

@danirabbit I modified this fix so that it won't be affected to other places like dropdowns. Also backported it to stylesheet: elementary/stylesheet#1354

@ryonakano
ryonakano requested a review from danirabbit August 30, 2026 04:39

@danirabbit danirabbit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you add a MenuButton file so we can stick to one class per file?

Sorry to keep asking for changes 🙇🏻‍♀️

@ryonakano
ryonakano marked this pull request as draft August 30, 2026 04:44
@ryonakano
ryonakano marked this pull request as ready for review August 30, 2026 04:53
@ryonakano

Copy link
Copy Markdown
Member Author

Should be good now 👍

@danirabbit

Copy link
Copy Markdown
Member

Perfect thank you!

@ryonakano
ryonakano merged commit ad99c2b into main Aug 30, 2026
3 of 5 checks passed
@ryonakano
ryonakano deleted the ryonakano/arrow-open-menu-when-none branch August 30, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use open-menu-symbolic instead of pan-down-symbolic when Gtk.ArrowType.NONE is set

2 participants