Search found 22 matches

by f.berti
Mon Feb 12, 2018 11:57 am
Forum: VSTGUI
Topic: [BUG?] changeViewZOrder not working on CScrollView
Replies: 1
Views: 714

[BUG?] changeViewZOrder not working on CScrollView

Hello, I've just noticed that the changeViewZOrder method is not working on a CScrollView. The method is not overridden in the CScrollView class, so the CViewContainer implementation is getting called and it fails to detect the child view for which the Z order must be changed. I've manually got it t...
by f.berti
Thu Dec 21, 2017 9:41 pm
Forum: VSTGUI
Topic: CNewFileSelector ignoring type on OSX
Replies: 6
Views: 1578

Re: CNewFileSelector ignoring type on OSX

Arne Scheffler wrote:OK, this indeed looks wrong. Did you check another host, just to make sure that it is not Reaper causing this ?
Damn, it works correctly in Logic and GarageBand... :x
Thanks for the tip, Arne!
by f.berti
Wed Dec 20, 2017 9:54 pm
Forum: VSTGUI
Topic: CNewFileSelector ignoring type on OSX
Replies: 6
Views: 1578

Re: CNewFileSelector ignoring type on OSX

Here you go.
As you can see, all the files are selectable, regardless of the file type.
I'd like to filter out non-"json" files in order to help the user, like in Windows.
by f.berti
Tue Dec 19, 2017 8:24 pm
Forum: VSTGUI
Topic: CNewFileSelector ignoring type on OSX
Replies: 6
Views: 1578

Re: CNewFileSelector ignoring type on OSX

Arne Scheffler wrote:Hi Federico,
have you tried to add the UTI to the file extension ?

Code: Select all

CFileExtension("JSON file", "json", "application/json", 0, "public.json")
Cheers,
Arne
Same result, I can still select any type of file :(
by f.berti
Mon Dec 18, 2017 10:57 pm
Forum: VSTGUI
Topic: CNewFileSelector ignoring type on OSX
Replies: 6
Views: 1578

CNewFileSelector ignoring type on OSX

Hello, I'm building a file selector using this code: loadFileSelector = CNewFileSelector::create(getFrame(), CNewFileSelector::kSelectFile); if (loadFileSelector) { loadFileSelector->setDefaultExtension(CFileExtension("JSON file", "json")); loadFileSelector->setTitle("Choose a sound bank file..."); ...
by f.berti
Tue Nov 21, 2017 8:43 am
Forum: VSTGUI
Topic: Missing spacebar capture on CTextEdit in some Windows DAWS
Replies: 0
Views: 1444

Missing spacebar capture on CTextEdit in some Windows DAWS

Hello, I've noticed an issue on Windows with Reaper and Samplitude: when you're typing text on a CTextEdit control, the spacebar does't get captured by the plug-in GUI but is forwarded to the host, which starts playing. This means I cannot input spaces on my text editor. There is a discussion about ...
by f.berti
Mon Nov 13, 2017 8:44 am
Forum: VSTGUI
Topic: Right mouse click while rotating a knob = control stuck into permanent editing
Replies: 9
Views: 2128

Re: Right mouse click while rotating a knob = control stuck into permanent editing

Works correctly on Windows on the same scenario in Reaper, seems like an OSX related issue.
by f.berti
Sat Nov 11, 2017 7:13 pm
Forum: VSTGUI
Topic: Right mouse click while rotating a knob = control stuck into permanent editing
Replies: 9
Views: 2128

Re: Right mouse click while rotating a knob = control stuck into permanent editing

I've tested it on OSX, I'll report the result on Windows by monday.
by f.berti
Sat Nov 11, 2017 10:05 am
Forum: VSTGUI
Topic: Right mouse click while rotating a knob = control stuck into permanent editing
Replies: 9
Views: 2128

Re: Right mouse click while rotating a knob = control stuck into permanent editing

Ok, I couldn't test this fix on my VSTGUI version, so I've updated to the latest master version on GitHub. I confirm that it works when moving the mouse cursor into another CViewContainer. If you go outside the plug-in window, when the right click gets captured by the host (ex. you get a popup menu ...
by f.berti
Fri Nov 10, 2017 11:14 am
Forum: VSTGUI
Topic: Right mouse click while rotating a knob = control stuck into permanent editing
Replies: 9
Views: 2128

Re: Right mouse click while rotating a knob = control stuck into permanent editing

Anything wrong with doing the same thing, but at CFrame level?
Seems to work, but I don't know the library enough in depth to evaluate the impacts of the change...