Search found 1326 matches

by Edgar
Wed Feb 23, 2011 6:56 am
Forum: GNU/Linux and Unix-like
Topic: Lost keyboard focus after import (Ubuntu) [patch]
Replies: 48
Views: 10354

Re: Lost keyboard focus after import (Ubuntu) [patch]

Steve, if we go back to the first post on this topic we will see the "bug" I experience a loss of keyboard focus after importing tracks. (Ubuntu 10.10, Audacity 1.3.12/SVN HEAD) How to reproduce: 1) Import (SHIFT+CTRL+I) an audio file (e.g., a flac file). 2) Press SPACE to start playing the imported...
by Edgar
Wed Feb 23, 2011 12:27 am
Forum: GNU/Linux and Unix-like
Topic: Lost keyboard focus after import (Ubuntu) [patch]
Replies: 48
Views: 10354

Re: Lost keyboard focus after import (Ubuntu) [patch]

Here is new code to try: GetDirManager()->FillBlockfilesCache(); #if defined( __WXGTK__ )//I've also seen # if defined(__linux__) AudacityProject * activeProject = GetActiveProject(); if (activeProject) activeProject->SetFocus(); #endif the patch: Index: src/Project.cpp =============================...
by Edgar
Tue Feb 22, 2011 9:09 pm
Forum: GNU/Linux and Unix-like
Topic: Lost keyboard focus after import (Ubuntu) [patch]
Replies: 48
Views: 10354

Re: Lost keyboard focus after import (Ubuntu) [patch]

someone might try putting this at line 3400 : Unfortunately I get a build error: Project.cpp: In member function ‘bool AudacityProject::Import(wxString, WaveTrackArray*)’: Project.cpp:3432: error: ‘e’ was not declared in this scope make[1]: *** [Project.o] Error 1 I can fix that but not until much ...
by Edgar
Tue Feb 22, 2011 6:53 pm
Forum: GNU/Linux and Unix-like
Topic: Lost keyboard focus after import (Ubuntu) [patch]
Replies: 48
Views: 10354

Re: Lost keyboard focus after import (Ubuntu) [patch]

As I do not Linux (although, if some forum elf wanted to step me through setting up a "boot from CD/DVD" with a non-bootable Linux partition for programs (compilers, Audacity source code etc.) and data I would be happy to do so) someone might try putting this at line 3400 : Index: src/Project.cpp ==...
by Edgar
Tue Feb 22, 2011 6:34 pm
Forum: GNU/Linux and Unix-like
Topic: Lost keyboard focus after import (Ubuntu) [patch]
Replies: 48
Views: 10354

Re: Lost keyboard focus after import (Ubuntu) [patch]

so your new patch would be like this? Index: src/Project.cpp =================================================================== --- src/Project.cpp (revision 10843) +++ src/Project.cpp (working copy) @@ -3400,6 +3400,7 @@ } GetDirManager()->FillBlockfilesCache(); + #if defined( __WXGTK__ )//I've a...
by Edgar
Tue Feb 22, 2011 5:22 pm
Forum: GNU/Linux and Unix-like
Topic: Lost keyboard focus after import (Ubuntu) [patch]
Replies: 48
Views: 10354

Re: Lost keyboard focus after import (Ubuntu) [patch]

As I am on Windows7 the patch is not easily read due to CR/Linefeed issues but I think it is adding the set focus line--just a single addition of one line of code. As this reportedly causes problems on Windows it could easily be conditionally compiled: } GetDirManager()->FillBlockfilesCache(); #if d...
by Edgar
Tue Feb 22, 2011 4:22 pm
Forum: General Audio Programming
Topic: remembering the Import directory
Replies: 7
Views: 4408

Re: remembering the Import directory

bgravato wrote:I think I never built audacity on Mac, but I can try. I'll have a look at it later today.
Thanks, Bill was not able to help as he does not compile.
by Edgar
Tue Feb 22, 2011 3:38 am
Forum: General Audio Programming
Topic: remembering the Import directory
Replies: 7
Views: 4408

Re: remembering the Import directory

steve wrote:Good news Edgar.
The old step 1 was the problem.

Applying the NEW step 1 with steps 2 and 3 WORKS :D
Great! I will edit the original to reflect this. Will also PM Bill & Bruno.
by Edgar
Tue Feb 22, 2011 12:51 am
Forum: General Audio Programming
Topic: remembering the Import directory
Replies: 7
Views: 4408

Re: remembering the Import directory

I've got a problem with this on Linux. I think I applied the changes correctly, then built against SVN HEAD 21Feb2011 It seems to build OK, but as soon as I click on the File menu, Audacity crashes with a segmentation fault. Hi Steve! First, can you build a Debug version then run under a debugger? ...
by Edgar
Fri Feb 18, 2011 6:49 am
Forum: General Audio Programming
Topic: remembering the Import directory
Replies: 7
Views: 4408

remembering the Import directory

When I import an audio file to do a quick edit I almost always want to Export it right back where it came from. Currently Audacity stores the previously used save path for Export. So if I Export a file to d:songs/rock/artist/album then Import one from c:music/pop/artist/album, do a bit of editing th...