-
Notifications
You must be signed in to change notification settings - Fork 304
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
Add Unity Menubar support #868
base: master
Are you sure you want to change the base?
Conversation
👍 for this PR. Really want to see the appmenu in the menubar of Unity DE. |
This is great! Thanks @Mystic-Mirage! I won't integrate it right away as some testing will be required, but I'll definitely ensure we try this for Komodo 10. |
The effects of this patch will not show up in Komodo 10's new UI, so I'm closing this PR. Thanks for your efforts though! |
If you can consider to re-open this issue, I can say that I'm using Komodo 10 with global menu. |
You'd change the milestone. |
For reference, which files do you need to merge from the patched "Edit" .deb to get it working in the IDE? |
That seems to be instructions for the version that was an extension, rather
than a direct patch.
I managed it last night by comparing the PPA version of Edit with the
latest IDE - PPA uses a slightly newer (and patched) version of Mozilla
code, by copying most of the libs and binaries from the root of the Mozilla
folder plus some of the stylesheets (that hide menus when the dbus
integration is running) I also got it to work. Viewing the patch and
grepping for strings in the non compiled files was instructive.
|
If you got different instructions to get it working, what about sharing them? |
I've applied this patch and tested in Ubuntu. Here are my initial impressions:
I spoke with @Naatan about this and he wants to see if he can make this work more intuitively. Until he manages to do so, I cannot recommend merging this PR. Assigning to him in the meantime. |
Works fine for me. When I hold Alt, global menu items highlights accessible keys. (Alt+F opens File menu).
Works for me in both situations.
Yep, this one doesn't work anymore. However, I've applied this patch by copying some files from the global menu patch (from KomodoEdit PPA).. I assume this could give different results. |
@Defman21 You're right that if you maximize the Komodo window, menu shortcuts work out of the box. I was starting in window'ed mode. |
Hmm, it works fine for me even in windowed mode. With native or without native decorations. We would need more testers for that. |
Perhaps they are related to your custom patches then. I only have only applied the PR. |
@Mystic-Mirage are there any changes between mine method of getting global menu support and directly applying this patch? |
Btw I can test this patch but I don't know how (I've copied |
@Defman21 Yes, that's it. And then sit tight for an hour or two :) |
About 40 mins for me :) Thanks. |
Huh, looks like |
I think you will need |
Okay, thanks. |
@Defman21 Hi! If you have copied only files listed bellow, there is no difference between methods because that patch affects only these files:
|
@mitchell-as were you using Docker for building? |
@Defman21 No. Native Ubuntu 14.04. |
Thanks. I've reported #2061 for that. |
Hello!
Since Komodo Edit 8.5 the patching of Mozilla is the only way to support Unity Menubar integration due to Ubuntu upstream changes.
During two years of using this patch there are no problems found in other DEs. Tested on Gnome, Gnome Flashback, KDE, XFCE, LXDE, Cinnamon and Mint.
The unity-menubar.patch used unchanged from code.launchpad.net/~mozillateam/firefox/firefox-trunk.head. It released under Mozilla Public License version 2.0.
Maybe it is time to integrate this patch to Komodo Edit mainline? And it is the way to integrate this patch to Komodo IDE for those who need it.
This change is