purr-data issueshttps://git.purrdata.net/jwilkes/purr-data/-/issues2020-04-05T21:56:00Zhttps://git.purrdata.net/jwilkes/purr-data/-/issues/629[clone] counter reset when sent [all(2020-04-05T21:56:00ZDave Riedstra[clone] counter reset when sent [all(This issue is a duplicate of [pure-data#305](https://github.com/pure-data/pure-data/issues/305), which is fixed in vanilla pd 0.48-2, but hasn't made its way into purr-data yet.
When using `[clone]`'s built-in counter, sending it an `[a...This issue is a duplicate of [pure-data#305](https://github.com/pure-data/pure-data/issues/305), which is fixed in vanilla pd 0.48-2, but hasn't made its way into purr-data yet.
When using `[clone]`'s built-in counter, sending it an `[all(` message will incorrectly reset the counter.
(I'm not aware of the mechanism by which purr-data is kept up-to-date with changes in pure-data vanilla, nor can I find a recommended way of reporting issues like this, so I'm reporting it as a plain bug.)https://git.purrdata.net/jwilkes/purr-data/-/issues/653[cputime] doesn't work properly when compiled with emscripten2020-06-25T00:17:55ZZack Lee[cputime] doesn't work properly when compiled with emscriptenThe [cputime] object doesn't work properly and always outputs 0 when compiled with emscripten.
The issue is caused by the `times()` function from `sys/times.h` not currently being supported/implemented in emscripten.
Here's the relevan...The [cputime] object doesn't work properly and always outputs 0 when compiled with emscripten.
The issue is caused by the `times()` function from `sys/times.h` not currently being supported/implemented in emscripten.
Here's the relevant post: https://github.com/emscripten-core/emscripten/issues/11491
This could potentially be fixed by using JavaScript to calculate the CPU time when built with emscripten.https://git.purrdata.net/jwilkes/purr-data/-/issues/179[declare] bug2017-10-16T12:25:44ZAlexandre Porres[declare] bugif an object didn't create because you tried an object that was not in the search path, you can use [declare] and try to reinstantiate it so it creates.
I tried it but nothing happened... but after having [declare] in your patch, you ca...if an object didn't create because you tried an object that was not in the search path, you can use [declare] and try to reinstantiate it so it creates.
I tried it but nothing happened... but after having [declare] in your patch, you can try it in a new object box it works fine. It also works if you duplicate that uncreated object - but there is nothing you can do to create it from the uncreated object.
Well, since I can do that with vanilla, I consider this an issue/bug
cheershttps://git.purrdata.net/jwilkes/purr-data/-/issues/452[draw image] arguments - x/y origin2018-04-09T03:16:30Zsensn[draw image] arguments - x/y originThe helpfile for [draw image] states that you can use 2 floats for x/y origin of the picture after the path to the picture.
I tried it, but only the orange selection rectangle moves to the new specified coordinates. The picture is always...The helpfile for [draw image] states that you can use 2 floats for x/y origin of the picture after the path to the picture.
I tried it, but only the orange selection rectangle moves to the new specified coordinates. The picture is always displayed at 0,0 (or the structures float x float y). Sometimes it flickers a bit, like the image was moved to the new coords but then reset to 0,0.
It would be great if that worked, if someone wanted to make a image-knob for instance.https://git.purrdata.net/jwilkes/purr-data/-/issues/23[draw image] disappears if image path doesn't exist2016-03-24T17:58:10ZJonathan Wilkes[draw image] disappears if image path doesn't exist[draw image] will disappear after you create it. It happens either with no path argument, or when the path argument doesn't exist[draw image] will disappear after you create it. It happens either with no path argument, or when the path argument doesn't existJonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/154[draw] command visualizations shouldn't respond to gop/data scaling2017-12-19T01:57:10ZJonathan Wilkes[draw] command visualizations shouldn't respond to gop/data scalingthe gop range and data scaling values probably shouldn't affect scalars drawn with the new [draw] command.
Those legacy scaling values make it impossible to position scalars correctly inside the red gop rectangle. Plus the new draw comm...the gop range and data scaling values probably shouldn't affect scalars drawn with the new [draw] command.
Those legacy scaling values make it impossible to position scalars correctly inside the red gop rectangle. Plus the new draw commands have affine transforms, so the old scaling values are superfluous.Jonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/208[draw] event for array element only gets a pointer to the containing scalar2017-11-02T21:19:53ZJonathan Wilkes[draw] event for array element only gets a pointer to the containing scalarA super difficult, obscure, but potentially useful improvement lies ahead:
Imagine this struct:
```
[struct foo float x float y array a elem]
[plot a 0 0 0 0]
```
Now imagine the elem struct:
```
[struct elem float x float ...A super difficult, obscure, but potentially useful improvement lies ahead:
Imagine this struct:
```
[struct foo float x float y array a elem]
[plot a 0 0 0 0]
```
Now imagine the elem struct:
```
[struct elem float x float y float state]
[loadbang]
|
[fill black, stroke black, stroke-width 1, mousedown 1, fill-opacity state(
|
[draw rect 20 20]
|
[route mousedown]
|
[unpack p 0 0]
|
[get elem state]
|
[print]
```
The problem? When you click one of the array elements with the mouse, the [draw rect] outlet sends a message that contains a pointer to the scalar that contains the array element, *not* the array element itself. Thus there is no way to figure out exactly which array element was clicked, nor mutate its state.
What is needed is a pointer to the array element itself. That would allow the user to quite easily create their own scalar version of a toggle matrix. What is more, scalars can cache their bbox info in a way that a bunch of iemgui tgls cannot. So when mousing over a scalar matrix of 256 of these tgls, Pd would only traverse over a single scalar.
The difficulty in solving this is that I'm currently using pd_bind to store a reference to the relevant scalar in t_symbol->s_thing. This scalar is then fetched and used to set a gpointer in draw_notifyforscalar. But to generate a gpointer to an array element I need both a reference to a t_array and one to a t_word, neither of which can be the referent of s_thing. So while I can store string formats of the pointers to those fields in the GUI, when the callback comes back into Pd I have no way of going from the t_symbol to those fields.
Anyhow, if I could figure out how to do this it would make the [draw] object very powerful. Any of the mouseevents could be set across array elements declaratively, greatly improving the expressivity of the [draw] interface.https://git.purrdata.net/jwilkes/purr-data/-/issues/839[Feature] Add copy button in console (web app)2021-04-16T12:27:12ZPrakhar Agarwal[Feature] Add copy button in console (web app)To copy the console content, first we have to goto "Edit"->"Select All" then "Edit"->"Copy". This is a lengthy process for a such a common and useful task. To improve this, we can add a copy icon directly in the console header. This will...To copy the console content, first we have to goto "Edit"->"Select All" then "Edit"->"Copy". This is a lengthy process for a such a common and useful task. To improve this, we can add a copy icon directly in the console header. This will serve 2 purposes:-
1. If there is no current selection then it will automatically select all "console text" and copy it to clipboard.
2. If currently some text is selected it will copy that text to clipboard.
This feature will improve the usability and UX.
**Current:**
![Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-16_17-48-17_Trim](/uploads/f08044ce11705383bfdb700a99265ac4/Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-16_17-48-17_Trim.mp4)
**Expected:**
![image](/uploads/062504bf6c6d9d4e313d364396ab74fc/image.png)
![Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-16_17-45-05_Trim](/uploads/beb944874a89ca2684974b3edcbd0472/Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-16_17-45-05_Trim.mp4)https://git.purrdata.net/jwilkes/purr-data/-/issues/860[Feature] Adding Dark Mode(web app)2022-02-12T20:04:28ZPaarth Agarwal[Feature] Adding Dark Mode(web app)We can add dark mode to the purr-data web app. This will improve UX.
Demo:
![DarkMode-demo](/uploads/55aec667815b3e924a18b61094201cdb/DarkMode-demo.mp4)We can add dark mode to the purr-data web app. This will improve UX.
Demo:
![DarkMode-demo](/uploads/55aec667815b3e924a18b61094201cdb/DarkMode-demo.mp4)https://git.purrdata.net/jwilkes/purr-data/-/issues/780[Feature] Automatically close console after clearing it2021-05-19T07:38:33ZPrakhar Agarwal[Feature] Automatically close console after clearing itWe can automatically close the console if the user selects clear console from "Edit-> Clear Console". Because on clearing, it minimizes but not closes fully.
**Current:**
![Ubuntu_VBOX__Running__-_Oracle_VM_VirtualBox_2021-03-24_13-32-...We can automatically close the console if the user selects clear console from "Edit-> Clear Console". Because on clearing, it minimizes but not closes fully.
**Current:**
![Ubuntu_VBOX__Running__-_Oracle_VM_VirtualBox_2021-03-24_13-32-29_Trim](/uploads/467a2885d2e87d11986e870cb53c7750/Ubuntu_VBOX__Running__-_Oracle_VM_VirtualBox_2021-03-24_13-32-29_Trim.mp4)
**Expected:**
![Ubuntu_VBOX__Running__-_Oracle_VM_VirtualBox_2021-03-24_13-40-17_Trim](/uploads/855ebf5df9cb220c5b6d0f012d52b282/Ubuntu_VBOX__Running__-_Oracle_VM_VirtualBox_2021-03-24_13-40-17_Trim.mp4)https://git.purrdata.net/jwilkes/purr-data/-/issues/778[Feature] Changing font of Text2021-04-24T17:32:57ZGunjan Yadu[Feature] Changing font of TextWe can change the font color of highlight All text to grey as it looks more subtle according to me.
Current Font color:
![Screenshot_from_2021-03-23_16-05-00](/uploads/c49924e4fe96710617fd4d553da5f0ef/Screenshot_from_2021-03-23_16-05-00...We can change the font color of highlight All text to grey as it looks more subtle according to me.
Current Font color:
![Screenshot_from_2021-03-23_16-05-00](/uploads/c49924e4fe96710617fd4d553da5f0ef/Screenshot_from_2021-03-23_16-05-00.png)
Updated Font color:
![Screenshot_from_2021-03-23_16-08-46](/uploads/76fe3c75ab37c1770c79e5df44866798/Screenshot_from_2021-03-23_16-08-46.png)
Please give any suggestions.
Thank youhttps://git.purrdata.net/jwilkes/purr-data/-/issues/713[Feature] Collapsible sidebar2021-05-19T07:31:01ZPrakhar Agarwal[Feature] Collapsible sidebarWe can make the sidebar collapsible same as the console. This will give more room to canvas and also improve UX.
**Demo:**
![Purr_Data_-_Personal_-_Microsoft__Edge_2021-03-14_15-58-07_Trim](/uploads/37f8edc4bb8a4b80abc1c0e2d3562b3e/Pur...We can make the sidebar collapsible same as the console. This will give more room to canvas and also improve UX.
**Demo:**
![Purr_Data_-_Personal_-_Microsoft__Edge_2021-03-14_15-58-07_Trim](/uploads/37f8edc4bb8a4b80abc1c0e2d3562b3e/Purr_Data_-_Personal_-_Microsoft__Edge_2021-03-14_15-58-07_Trim.mp4)https://git.purrdata.net/jwilkes/purr-data/-/issues/772[Feature] Formatting text in italics2021-04-11T18:22:09ZGunjan Yadu[Feature] Formatting text in italicsThe text below files (No files found yet) can be converted into italics as it looks pretty good according me.
Current:
![Screenshot_from_2021-03-20_14-34-35](/uploads/4498d8eb71e0c1fd3702a67587a15dc7/Screenshot_from_2021-03-20_14-34-35...The text below files (No files found yet) can be converted into italics as it looks pretty good according me.
Current:
![Screenshot_from_2021-03-20_14-34-35](/uploads/4498d8eb71e0c1fd3702a67587a15dc7/Screenshot_from_2021-03-20_14-34-35.png)
Expected:
![Screenshot_from_2021-03-20_14-34-21](/uploads/032f5ff194ccff094c8683eeb4c112eb/Screenshot_from_2021-03-20_14-34-21.png)
Please suggest me if its good.
Thankshttps://git.purrdata.net/jwilkes/purr-data/-/issues/774[Feature] No popping up of console after clicking "Select All" option of edit...2021-03-20T11:55:24ZGunjan Yadu[Feature] No popping up of console after clicking "Select All" option of edit menuIt becomes difficult to see whether the contents of the console are selected or not after clicking the "Select All" option of the edit menu. We have manually see if it got selected or not.
![Screencast_from_20-03-21_04_53_48_PM_IST](/upl...It becomes difficult to see whether the contents of the console are selected or not after clicking the "Select All" option of the edit menu. We have manually see if it got selected or not.
![Screencast_from_20-03-21_04_53_48_PM_IST](/uploads/5d0d5f900220469d03eb857762c9eab5/Screencast_from_20-03-21_04_53_48_PM_IST.webm)
According to me, we can do it like that:
![Screencast_from_20-03-21_05_05_44_PM_IST](/uploads/6ce22e2c33a276d5787e2f75671a7521/Screencast_from_20-03-21_05_05_44_PM_IST.webm)
Thanks.https://git.purrdata.net/jwilkes/purr-data/-/issues/845[Feature] Open only supported file types (web app)2021-04-22T05:30:53ZPrakhar Agarwal[Feature] Open only supported file types (web app)Currently, we can open any file from "File"->"Open". We should allow only ".pd" files to be opened, as the web app supports them only. If we open other types of files either it doesn't open or gives weird errors.
Current:
We can upload...Currently, we can open any file from "File"->"Open". We should allow only ".pd" files to be opened, as the web app supports them only. If we open other types of files either it doesn't open or gives weird errors.
Current:
We can upload any file (gives error):
![image](/uploads/7420a349f45b9b18ed87e10f1ee8817b/image.png)
Expected:
File chooser shows only PD files:
![image](/uploads/38690ebe8326c232ab7c5312906b3252/image.png)
Alert message for unsupported file type:
![image](/uploads/1d864b8e92bef8776fdb43303671bda2/image.png)https://git.purrdata.net/jwilkes/purr-data/-/issues/769[Feature] Resizable canvas2021-04-26T08:46:50ZPrakhar Agarwal[Feature] Resizable canvasCurrently, in the web app, the canvases are not resizable and are rather rigid. We can make them resizable to improve layout and UI/UX. Also, it will allow the user to work on more objects at the same time while still being able to open ...Currently, in the web app, the canvases are not resizable and are rather rigid. We can make them resizable to improve layout and UI/UX. Also, it will allow the user to work on more objects at the same time while still being able to open multiple canvases.
**Current:**
![image](/uploads/8809da952bda4c036b774d5b7cea6763/image.png)https://git.purrdata.net/jwilkes/purr-data/-/issues/831[Feature] Resizable Sidebar (web app)2021-04-13T04:42:00ZPrakhar Agarwal[Feature] Resizable Sidebar (web app)We can make the sidebar resizable by clicking on its border and dragging it. Its a nice feature and will improve UX of the web app.
I am starting to work on this issueWe can make the sidebar resizable by clicking on its border and dragging it. Its a nice feature and will improve UX of the web app.
I am starting to work on this issuehttps://git.purrdata.net/jwilkes/purr-data/-/issues/758[Feature] Scrollable Sidebar2021-05-19T07:37:42ZPrakhar Agarwal[Feature] Scrollable SidebarCurrently, when we open a large number of files or in fact open any properties, preferences, or options that show up in the sidebar we see that it overflows beyond the total height of the web app and creates a very bad UI/UX. We should c...Currently, when we open a large number of files or in fact open any properties, preferences, or options that show up in the sidebar we see that it overflows beyond the total height of the web app and creates a very bad UI/UX. We should correct it so that it does not happen by making the sidebar scrollable.
See the below videos demonstrating the behaviours
**Current Behaviour:**
![Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_00-38-13_Trim](/uploads/a205c61d7c951418d5e9a174f44efc1a/Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_00-38-13_Trim.mp4)
**Expected Behaviour:**
![Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_00-37-16_Trim](/uploads/e7f12354b667427983f854487a1c0f1b/Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_00-37-16_Trim.mp4)https://git.purrdata.net/jwilkes/purr-data/-/issues/759[Feature] Separate scrolling of each canvas2021-05-19T07:37:44ZPrakhar Agarwal[Feature] Separate scrolling of each canvasIn the web app, there is no way to scroll individual canvas. We can only scroll the whole canvas-content div and all the canvases scroll with that only. We should add a way to enable scrolling each canvas individually both horizontally a...In the web app, there is no way to scroll individual canvas. We can only scroll the whole canvas-content div and all the canvases scroll with that only. We should add a way to enable scrolling each canvas individually both horizontally and vertically.
**Current:**
![Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_14-02-51_Trim](/uploads/0c101616e13ff87527ad132e076d0efd/Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_14-02-51_Trim.mp4)
**Expected:**
![Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_14-00-11_Trim](/uploads/adc2566242f2d5c1d94277f0f186f9a5/Ubuntu_64-bit_-_VMware_Workstation_2021-03-19_14-00-11_Trim.mp4)https://git.purrdata.net/jwilkes/purr-data/-/issues/838[Feature] Traverse console search results (web app)2021-04-14T17:50:06ZPrakhar Agarwal[Feature] Traverse console search results (web app)We can add a new feature that allows traversing the console search results. Currently, we can only search forwards i.e. first we have to click on search textbox then press enter to cycle through the results repeatedly. This is not only h...We can add a new feature that allows traversing the console search results. Currently, we can only search forwards i.e. first we have to click on search textbox then press enter to cycle through the results repeatedly. This is not only hard to guess but also non-intuitive.
Instead, we can add 2 arrow buttons which will allow cycling back and forth through the results. This will improve the usability of the app.
**Current:**
I have to press "enter" key repeatedly to move forward
![Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-14_23-15-00_Trim](/uploads/2ecb02042b31d82f9c8e5b245b9e59d5/Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-14_23-15-00_Trim.mp4)
**Expected:**
I click on the buttons to move forward and backwards.
![Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-14_23-13-53_Trim](/uploads/12e6ba956a7c04203b0439fda45f2437/Ubuntu__Running__-_Oracle_VM_VirtualBox_2021-04-14_23-13-53_Trim.mp4)