-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display info icon for Initialized/Inactive extension state #656
Conversation
Thank you for looking into this! I think we don't need to add some of the states as tooltips since we show icons with tooltips with more detailed explanation. These would exclude Also, it seems that the states of the extensions in the different distributions don't work the same. In Fedora, for the same extensions you have shown, I see: I'm not quite sure why this happens, but it makes things a little more difficult for us to try to improve how the status is displayed to the user. |
Reviewing all states, the transient states That leaves us with You can see the details of the implementation of the icons in that same source file and in |
Yeah, that's weird. I'll look into that too!!
That makes sense.
Sounds good. I'll update the patch. |
Not related to this PR but while viewing an Extension details the tanmay@tanmay-lenovo:~/Desktop/projects/gnome/extension-manager$ ./_build/src/extension-manager
<p>Works on Nobora 39</p>
Root Node discovered: html
Ignored element html
Ignored element body
<p>Not working on Ubuntu 22.04.4</p>
Root Node discovered: html
Ignored element html
Ignored element body
<p>Works!!!!!<br>Thank You!!!!!!!!!!!!!!!!!!!!!!</p>
Root Node discovered: html
Ignored element html
Ignored element body
<p>Woks great!</p>
Root Node discovered: html
Ignored element html
Ignored element body
<p>Great Extension, now working on Gnome 46, thank you</p>
Root Node discovered: html
Ignored element html
Ignored element body That must be due to a stray |
Yes, that's #361. I looked at it a while ago and it's from |
@oscfdezdz Please take a look! |
It's looking great, thank you very much! 😄 While we find the cause of the difference of states between systems, you can check if the |
I figured something out: Could you check if this is reproducible? |
That's it, I can reproduce it. There are no differences then. Sorry if I didn't explain myself well in my last comment 😅 I meant that we should check the status and active properties of the switch in the code to show the icon, in those specific cases. Now that I think about it again, I don't think it would be necessary, with the In the screenshot you sent there were manually disabled extensions, such as DING or Ubuntu Dock that have the icon visible and should not. Now that you have figured out why the states were different, something like:
should work, I haven't test it. I'd also now use one tooltip instead (could be set in blp file directly) with an understandable message for all users. I was thinking of:
|
0126325
to
dfb2e63
Compare
Done, Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for raising the issue and fixing it! From my side all is good, I'll let @mjakeman have the last word.
Hi @TanmayPatil105, thanks for the contribution! I think as a general philosophy, the app shouldn't have a state where a tooltip/icon is needed to explain why a "core feature" does not work intuitively. We should either hide the toggle, or bind it to a different property. In this case, the toggle really should be bound to However I also think that perfect is the enemy of good, and this will definitely be useful in the short term. I'm happy to merge for now, with a long term view to redo how we handle enabled/active :) |
Updates
Related issues
#646