: K-Meleon Forum
K-Meleon development related discussions.
[quote=jsnj] [quote=deadlock] @jsnj >Could you expand on this? I hadn't noticed. >How has the urlbar behavior been changed >by Main.kmm in the beta? Which section >in the file? I didn't test all open functions yet. I replaced main.kmm while fixing problems in my code and it took a while until I realized, that there was no new bug in the beta. It was only a new feature that displays the query without opening it. This line $OpenURL==""?0:$URLBAR=$OpenURL; $OpenURL==""?0:id(ID_NAV_GO); was replaced by this: $OpenURL==""?0:$URLBAR=$OpenURL; $OpenURL==""?0:&_OpenURL_HowST; Old main.kmm: I type a search term in the address bar press <CTRL+G> and the search engine page is opened right away. New main.kmm: Now I type a search term in the address bar press <CTRL+G> and nothing happens. It requires an additional <enter>. Not sure who invented _OpenURL_HowST, but there are unused options like kmeleon.forceTab in K-meleon.[/quote] Never looked at that code before, but Desga2 created that in response to a request some users had to separate the search button open url behavior from the global URL Bar behavior pref. For example, one might want to open typed URLs in the same tab, but typed search querys in a new tab. Looking at the code though, I can't see how that would trigger the bug you are getting. That seems more like an accelerator issue. If nothing happens after typing CTRL G, pressing ENTER alone shouldn't call a macro. Just speculating but it seems when you press ENTER it calls the URL Bar autosearch feature (keyword.url pref) which may be the same engine as your default search engine? The main problem I have with the change though is that it alters what is meant to be a "global" macro, if you will, that other macros can use to mirror global URL Bar behavior, just for one specific macro. Now all external macros/extensions that call the OpenURL_Typed macro are bound by the pref a user has set for the search button. I'm not sure if he did it that way for a particular reason I may be overlooking, but it seems the change would be better implemented in search.kmm. Having said that, I doubt many users would have noticed because I don't think there are many macros that call OpenURL_Typed.[/quote]
K-Meleon forum is powered by