On 2/19/22 6:13 AM, Philip Leishman wrote:
On 2/19/22 15:02, Ted Felix wrote:
  My guess is that you've got an .rc file in

  ~/.local/share/rosegarden/rc

  That will prevent the new one from being picked up.  Rename any that
are in there to end in ".old" or whatever and then re-run rg.  All the
correct menu items should reappear.
Ah !!!
That will be the problem.

Gentlemen, gentlemen ... I cannot thank you enough! I spent 6 hours yesterday trying to figure out why nothing I changed in MatrixView.cpp and/or matrix.rc had any effect whatsoever. Ritual suicide was beginning to look like my best option.

The problem actually wasn't ~/.local/share/rosegarden/rc (that directory didn't exist), but rather /usr/share/rosegarden/rc from my distro's 17.12 installed package. It only took 5 seconds to figure that out, mkdir ~/.local/share/rosegarden/rc, and copy my development tree's matrix.rc into there. Voila!

Is there a way to configure something like a compiled-in or runtime-settable $QT_SEARCH_PATH to keep the RG executable from using /usr/share? Wait ... got it! Searched the docs, found QStandardPaths, searched the code, found ResourceFinder.cpp -- all good now. (I'll restore the original "prefixes" variable's static initializer in ResourceFinder::getSystemResourcePrefixList() before submitting any merge requests.)

Yes I'm a Qt newbie, and yes I probably should learn it before trying to implement my feature request. But I claim I do understand software (see fixes above) and still hope that a lot of what I'm trying to contribute can be done by using code that already exists in RG as examples. I did break down and go through a bunch of Qt tutorials yesterday, but I don't think I would have found the problem you've solved for me without several weeks of intensive training in Qt.

Thanks again. Onward and upward from here. Hopefully not too many more stupid questions from me. I *will* write the feature request but want to experiment a bit more with stub implementations to clarify the details of what I'll be proposing.








_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to