Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 08-24-2021, 06:30 AM   #1
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,772
Default Linux - NewScript... - broken file extension selector (FIXED)

In Linux, when creating a new ReaScript, clicking "NewScript..." button in Actions window opens the save dialog. But the extension selector does not force the real extension of the file. And so when no extension (.lua) is manually typed-in, then the file always gets "*.eel" extension.

It took me long to find out why the LUA code I am trying to paste in ReaIDE is full of errors until I accidentally looked at the scrip extension in titlebar which in fact was .EEL

In Windows it works as expected, if you select the extension from selector, it gets added to the filename edit line (and also filters the directory view).

In Linux it only does filter the filetype of the directory view.

(REAPER v6.35rc5 Linux x64, Linux Lite 4.0 x64)

Last edited by akademie; 08-25-2021 at 02:04 PM.
akademie is online now   Reply With Quote
Old 08-24-2021, 10:14 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,124
Default

Fixing/improving, thanks! I pushed some commits to our public WDL repos if you want to rebuild swell and test
Justin is online now   Reply With Quote
Old 08-24-2021, 11:27 AM   #3
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,772
Default

Thanks, Justin.

I don't think I am experienced enough to rebuilt "swell" myself
I just started to use Linux more than before to not have to depend solely on Microsoft behavior

No hurry, I can wait for an upcoming build. It does not affect me much as I am already aware of that. I mainly wanted to report what I have observed.
akademie is online now   Reply With Quote
Old 08-24-2021, 04:39 PM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,124
Default

ok try 6.35rc5a
Justin is online now   Reply With Quote
Old 08-24-2021, 07:57 PM   #5
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,772
Default

Quote:
Originally Posted by Justin View Post
ok try 6.35rc5a
Yes, it works.

Only difference against the Windows version is that
- in Windows when I type "test" as filename and then choose "Lua files (*.lua)" filetype from dropdown selector, then the ".lua" extension is immediately added to the filename in the edit line (= "test.lua")
- in Linux (this rc5a) the edit line shows still only the filename without the extension (it is correctly added to filename in the end when confirming and file is saved, but not visually before saving)

EDIT: Also in Windows, the "Lua files (*.lua)" filetype is pre-selected by default, while in Linux (rc5a) it is the "EEL2 files (*.eel)" one.

Last edited by akademie; 08-24-2021 at 08:03 PM.
akademie is online now   Reply With Quote
Old 08-25-2021, 01:57 PM   #6
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,772
Default

Justin, I just checked today's official v6.35 release and all "issues" reported in my previous post are fixed, solved.

Many thanks
akademie is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.