[KDE/Mac] ktexteditor features and/or terminal error messages

René J.V. Bertin rjvbertin at gmail.com
Sun Dec 13 15:07:35 UTC 2015


On Sunday December 13 2015 15:29:38 Christoph Cullmann wrote:

Hi,

Guess what I just did this morning ;)
I'm not 100% sure that the bug is in KTextEditor: the menus (class instances) are created there, but the code isn't accessible enough to be sure that the actual culprit isn't in Kate.

Indeed, other menus of this kind will be concerned sooner or later, and it's easy to induce. Setting Qt::AA_DontUseNativeMenuBar to true gives Kate TWO menubars (that shouldn't happen either ...) and when that is the case just about all (dynamic?) menus spawn the error messages I reported. I think that makes a very good case for the assumption that those errors are caused by the QWidgetAction limitation on OS X.

In the meantime I'll just provide a "crippled" KTextEditor through MacPorts (with a variant to get the full version). Thank goodness this happens only for 2 relatively minor convenience features.

Cheers,
René

> We can fix that, we have other dynamic menus like the highlighting and encoding menu,
> if they work without such errors, we can port the others to be like them, too :=)

If they're of identical type then yes. Are those examples used in more than 1 menu at the same time?

> Not that I promise that will happen in a few days.

Just remember that I *may* just need a few pointers to test my hypothesis; if it's trivial to prevent adding the offending items to more than 1 menu I should be able to come up with a prototype fix (a demonstrator :)) pretty quickly.

Cheers,
René


More information about the kde-mac mailing list