CsoundQt Development
Date | 2016-01-13 07:13 |
From | Tarmo Johannes |
Subject | CsoundQt Development |
Hi,
I am back to contribute again to development of CsounQt, recently I fixed a number of convenience problems:
- MIDI controllers can now start/stop events via Button Widget - indenting works now (before you could not go to deeper indents with pressing <TAB> many times) - Fixed Midi Learn controller number detection above 15 - Added "Midi learn" to the properties dialog of a widget (that accepts midi) - widgetPanel sate (visible/hidden) gets restored correctly - Parethesis matching does not block undo chain any more.
It is now in source on https://github.com/mantaraya36/CsoundQt If you are can pull it from there and build CsoundQt and test, it is very welcome!
See building instructions:
https://github.com/csound/csound/wiki/CsoundQt-with-Csound6-on-Debian-Ubuntu:-a-build-guide https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22-w-Python-and-RTmidi-support
Next I plan to go slowly to the bug repports on https://github.com/mantaraya36/CsoundQt/issues and have some more ideas what to implement.
And of course if you have wishes or complaints, please let me know! (or file a ticket https://github.com/mantaraya36/CsoundQt/issues )
What I don't know and cannot help are the packaging issues - I work on Linux and I really have no idea why some library in some Windows or OSX version is missing or there are other similar problems. Sorry!
Best! tarmo |
Date | 2016-01-13 07:18 |
From | Hlöðver Sigurðsson |
Subject | Re: CsoundQt Development |
Have you ever noticed on linux that when selecting text area with mouse, that when you release the mousebutton, it will behave for 1-2 seconds longer as if you were still pressing the mousebutton. Hopefully Im describing it correctly, if more are experiencing it, then it would be a nice bug to fix, or it could just be my computer. Good to see CsoundQt back in development. Add custom coloring (for udos for example) could be a cool feature too, but of course just for the future.2016-01-13 8:13 GMT+01:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:
|
Date | 2016-01-13 07:25 |
From | Hlöðver Sigurðsson |
Subject | Re: CsoundQt Development |
Nevermind, I will report a bug if it is not already on github Issue. Need to stop whining on the mailing list and be more practical e.g. use github :) 2016-01-13 8:18 GMT+01:00 Hlöðver Sigurðsson <hlolli@gmail.com>:
|
Date | 2016-01-13 07:38 |
From | Guillermo Senna |
Subject | Re: CsoundQt Development |
Hi Hlöðver, I have 0.8.2 running in Ubuntu Studio. I don't see that kind of behavior. I mean, I release the mouse button and then immediately I can select another thing. Do you have some sort of lag when you do that? On 13/01/16 04:25, Hlöðver Sigurðsson
wrote:
|
Date | 2016-01-13 07:39 |
From | Tarmo Johannes |
Subject | Re: CsoundQt Development |
No, whining in mailinglist is good! 13.01.2016 9:27 kirjutas kuupäeval "Hlöðver Sigurðsson" <hlolli@gmail.com>:
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
|
Date | 2016-01-13 07:46 |
From | Hlöðver Sigurðsson |
Subject | Re: CsoundQt Development |
Ok, I can describe it better. It happens when the mouse cursor is being released outside the textbox, even small as in the line number box. Release there and bring the cursor back into the text area and the selection will jump to another position. Im using 0.9.0 on Fedora. Enjoy your brekfast Tarmo! 2016-01-13 8:39 GMT+01:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:
|
Date | 2016-01-13 08:33 |
From | Andres Cabrera |
Subject | Re: CsoundQt Development |
Fantastic! Thanks Tarmo.Andrés On Tue, Jan 12, 2016 at 11:13 PM, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:
|
Date | 2016-01-13 09:03 |
From | Tarmo Johannes |
Subject | Re: CsoundQt Development |
Yes, indeed, I have the same - selecting a text, moving out from editor panel and releasing the mouse does not end selection. I have never noticed or suffered from it before, but you are right.
I created a quick Qt test application to see if it is a problem of Qt but there it was correct, so it is problem in CsoundQt
Seems that the mouseReleased event is not forwarded to the main editor correctly when it is out of focus or something similar. I I will try to see if I will find the reason in the source code.
Thanks for reporting!
tarmo
On Wednesday 13 January 2016 08:46:07 you wrote: > Ok, I can describe it better. It happens when the mouse cursor is being > released outside the textbox, even small as in the line number box. Release > there and bring the cursor back into the text area and the selection will > jump to another position. Im using 0.9.0 on Fedora. Enjoy your brekfast > Tarmo! > > 2016-01-13 8:39 GMT+01:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>: > > No, whining in mailinglist is good! > > +issueing a ticket is even better. > > I will have a look after breakfast :) > > Tarmo > > 13.01.2016 9:27 kirjutas kuupäeval "Hlöðver Sigurðsson" <hlolli@gmail.com > > > >> Nevermind, I will report a bug if it is not already on github Issue. Need > >> to stop whining on the mailing list and be more practical e.g. use github > >> :)>> > >> 2016-01-13 8:18 GMT+01:00 Hlöðver Sigurðsson <hlolli@gmail.com>: > >>> Have you ever noticed on linux that when selecting text area with mouse, > >>> that when you release the mousebutton, it will behave for 1-2 seconds > >>> longer as if you were still pressing the mousebutton. Hopefully Im > >>> describing it correctly, if more are experiencing it, then it would be a > >>> nice bug to fix, or it could just be my computer. > >>> > >>> Good to see CsoundQt back in development. Add custom coloring (for udos > >>> for example) could be a cool feature too, but of course just for the > >>> future. > >>> > >>> 2016-01-13 8:13 GMT+01:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee > >>> > >>>> Hi, > >>>> > >>>> I am back to contribute again to development of CsounQt, recently I > >>>> fixed a number of convenience problems: > >>>> > >>>> - MIDI controllers can now start/stop events via Button Widget > >>>> > >>>> - indenting works now (before you could not go to deeper indents with > >>>> pressing <TAB> many times) > >>>> > >>>> - Fixed Midi Learn controller number detection above 15 > >>>> > >>>> - Added "Midi learn" to the properties dialog of a widget (that accepts > >>>> midi) > >>>> > >>>> - widgetPanel sate (visible/hidden) gets restored correctly > >>>> > >>>> - Parethesis matching does not block undo chain any more. > >>>> > >>>> It is now in source on https://github.com/mantaraya36/CsoundQt > >>>> > >>>> If you are can pull it from there and build CsoundQt and test, it is > >>>> very welcome! > >>>> > >>>> See building instructions: > >>>> > >>>> > >>>> https://github.com/csound/csound/wiki/CsoundQt-with-Csound6-on-Debian-U > >>>> buntu:-a-build-guide > >>>> > >>>> > >>>> https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22- > >>>> w-Python-and-RTmidi-support > >>>> > >>>> Next I plan to go slowly to the bug repports on > >>>> > >>>> https://github.com/mantaraya36/CsoundQt/issues > >>>> > >>>> and have some more ideas what to implement. > >>>> > >>>> And of course if you have wishes or complaints, please let me know! (or > >>>> file a ticket https://github.com/mantaraya36/CsoundQt/issues ) > >>>> > >>>> What I don't know and cannot help are the packaging issues - I work on > >>>> Linux and I really have no idea why some library in some Windows or OSX > >>>> version is missing or there are other similar problems. Sorry! > >>>> > >>>> Best! > >>>> > >>>> tarmo > >>>> Csound mailing list Csound@listserv.heanet.ie > >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > >>>> https://github.com/csound/csound/issues Discussions of bugs and > >>>> features can be posted here > >> > >> Csound mailing list Csound@listserv.heanet.ie > >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > >> https://github.com/csound/csound/issues Discussions of bugs and features > >> can be posted here > > > > Csound mailing list Csound@listserv.heanet.ie > > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > > https://github.com/csound/csound/issues Discussions of bugs and features > > can be posted here > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here
|
Date | 2016-01-13 09:26 |
From | Tarmo Johannes |
Subject | Re: CsoundQt Development |
Found it!
It had to do with parameter mode that overrode the mouseRelease slot. I call now the default Qt TextEdit::mouseReleased form there too and now it works fine. I hope I did not mess up something by the parameter mode (I think not).
Fixed in git.
Thanks!
tarmo
PS. Hlödver, in your Fedora-CsoundQt guide https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22-w-Python-and-RTmidi-support Could you point to the git tree as newsest source of the code: https://github.com/mantaraya36/CsoundQt
Also it is recommended to build CsoundQt using qt-5 (for example you can use built-in QML MIDI keyboard). I don't know though if PythonQt3 builds against QT5 (I have used their git version), but I am curious to try out later.
On Wednesday 13 January 2016 08:46:07 you wrote: > Ok, I can describe it better. It happens when the mouse cursor is being > released outside the textbox, even small as in the line number box. Release > there and bring the cursor back into the text area and the selection will > jump to another position. Im using 0.9.0 on Fedora. Enjoy your brekfast > Tarmo! > > 2016-01-13 8:39 GMT+01:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>: > > No, whining in mailinglist is good! > > +issueing a ticket is even better. > > I will have a look after breakfast :) > > Tarmo > > 13.01.2016 9:27 kirjutas kuupäeval "Hlöðver Sigurðsson" <hlolli@gmail.com > > > >> Nevermind, I will report a bug if it is not already on github Issue. Need > >> to stop whining on the mailing list and be more practical e.g. use github > >> :)>> > >> 2016-01-13 8:18 GMT+01:00 Hlöðver Sigurðsson <hlolli@gmail.com>: > >>> Have you ever noticed on linux that when selecting text area with mouse, > >>> that when you release the mousebutton, it will behave for 1-2 seconds > >>> longer as if you were still pressing the mousebutton. Hopefully Im > >>> describing it correctly, if more are experiencing it, then it would be a > >>> nice bug to fix, or it could just be my computer. > >>> > >>> Good to see CsoundQt back in development. Add custom coloring (for udos > >>> for example) could be a cool feature too, but of course just for the > >>> future. > >>> > >>> 2016-01-13 8:13 GMT+01:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee > >>> > >>>> Hi, > >>>> > >>>> I am back to contribute again to development of CsounQt, recently I > >>>> fixed a number of convenience problems: > >>>> > >>>> - MIDI controllers can now start/stop events via Button Widget > >>>> > >>>> - indenting works now (before you could not go to deeper indents with > >>>> pressing <TAB> many times) > >>>> > >>>> - Fixed Midi Learn controller number detection above 15 > >>>> > >>>> - Added "Midi learn" to the properties dialog of a widget (that accepts > >>>> midi) > >>>> > >>>> - widgetPanel sate (visible/hidden) gets restored correctly > >>>> > >>>> - Parethesis matching does not block undo chain any more. > >>>> > >>>> It is now in source on https://github.com/mantaraya36/CsoundQt > >>>> > >>>> If you are can pull it from there and build CsoundQt and test, it is > >>>> very welcome! > >>>> > >>>> See building instructions: > >>>> > >>>> > >>>> https://github.com/csound/csound/wiki/CsoundQt-with-Csound6-on-Debian-U > >>>> buntu:-a-build-guide > >>>> > >>>> > >>>> https://github.com/csound/csound/wiki/Compiling-CsoundQT-for-Fedora-22- > >>>> w-Python-and-RTmidi-support > >>>> > >>>> Next I plan to go slowly to the bug repports on > >>>> > >>>> https://github.com/mantaraya36/CsoundQt/issues > >>>> > >>>> and have some more ideas what to implement. > >>>> > >>>> And of course if you have wishes or complaints, please let me know! (or > >>>> file a ticket https://github.com/mantaraya36/CsoundQt/issues ) > >>>> > >>>> What I don't know and cannot help are the packaging issues - I work on > >>>> Linux and I really have no idea why some library in some Windows or OSX > >>>> version is missing or there are other similar problems. Sorry! > >>>> > >>>> Best! > >>>> > >>>> tarmo > >>>> Csound mailing list Csound@listserv.heanet.ie > >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > >>>> https://github.com/csound/csound/issues Discussions of bugs and > >>>> features can be posted here > >> > >> Csound mailing list Csound@listserv.heanet.ie > >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > >> https://github.com/csound/csound/issues Discussions of bugs and features > >> can be posted here > > > > Csound mailing list Csound@listserv.heanet.ie > > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to > > https://github.com/csound/csound/issues Discussions of bugs and features > > can be posted here > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here
|
Date | 2016-01-13 16:54 |
From | Hlöðver Sigurðsson |
Subject | Re: CsoundQt Development |
Nice, this was my nastiest bug since the old habit of selecting outside of textarea will die hard (and apparently doesnt need to now). I will change the manual, and try recompiling with Qt5 and PythonQt, if success then I change the manual. But the only difference would just be to change qmake-qt4 to qmake-qt5 (besides installing Qt5). Bit uninformative in the old manual to just say qmake (without the extra -qt4) since you would have to make a manual symbolic link and I think most beginners would not think of doing that. (Guessing there was a time when Qt installed qmake in /bin/ by default, but I think those times are gone now). 2016-01-13 10:26 GMT+01:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:
|