View Issue Details

IDProjectCategoryView StatusLast Update
0005591ardourbugspublic2013-07-19 11:35
ReporterLeatuspenguin Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0 
Summary0005591: Session > new, brings up blank, non functional window
DescriptionSession > new, brings up blank, non functional window. I just noticed this on a recent build and checked the last bundle from the website, ardour 3.2, and can confirm the issue also applies to it. I've observed this on both avlinux and kxstudio.

Steps -

With a session open, go to the menu, session > new
Blank window shows up
TagsNo tags attached.

Activities

2013-07-17 08:54

 

Selection_015.png (7,057 bytes)   
Selection_015.png (7,057 bytes)   

Leatuspenguin

2013-07-17 11:36

reporter   ~0015128

Here's the output from the terminal up to the point of session > new -

conor@junebug:~$ /opt/Ardour-3.2-dbg/bin/ardour3
bnd txt domain [gtk2_ardour3] to /opt/Ardour-3.2-dbg/share/locale
Ardour3.2 (built using 3.2 and GCC version 4.4.6)
ardour: [INFO]: Loading default ui configuration file /opt/Ardour-3.2-dbg/etc/ardour3_ui_default.conf
Loading user ui configuration file /opt/Ardour-3.2-dbg/etc/ardour3_ui.conf
ardour: [INFO]: Your system is configured to limit Ardour to only 4096 open files
ardour: [INFO]: Loading system configuration file /opt/Ardour-3.2-dbg/etc/ardour_system.rc
Using SSE optimized routines
ardour: [INFO]: Loading ui configuration file /opt/Ardour-3.2-dbg/etc/ardour3_ui_dark.rc
Announcement is:
Found 0 along /home/conor/.config/ardour3/templates:/opt/Ardour-3.2-dbg/share/templates
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
error: failed to expand CURIE `param:OscillatorControls'
error: attempt to add quad with NULL field
lilv_plugin_load_ports_if_necessary(): error: Plugin <http://home.gna.org/lv2vocoder/1> port symbol `600' is invalid
error: failed to expand CURIE `foaf:name'
error: attempt to add quad with NULL field
error: failed to expand CURIE `foaf:homepage'
error: attempt to add quad with NULL field
error: failed to expand CURIE `foaf:mbox'
error: attempt to add quad with NULL field
error: failed to expand CURIE `foaf:name'
error: attempt to add quad with NULL field
error: failed to expand CURIE `foaf:homepage'
error: attempt to add quad with NULL field
error: failed to expand CURIE `foaf:mbox'
error: attempt to add quad with NULL field

(ardour-3.2:18996): glibmm-CRITICAL **:
unhandled exception (type Glib::Error) in signal handler:
domain: gtk-file-chooser-error-quark
code : 2
what : Shortcut file:///home/conor already exists

colinf

2013-07-17 15:23

updater   ~0015130

I can reproduce this when 'Default folder for new sessions:' is set to my home directory.

Leatuspenguin

2013-07-17 16:16

reporter   ~0015131

Last edited: 2013-07-17 16:54

I have tried a few different sessions and changed the default folder and I can confirm that this only seems to be happening when the default folder is set to the home directory. I usually save different sessions to different folders so never bothered changing the default but that does appear to be the issue.

Edit - I have also noticed that I seem to be having the same issue when the default folder is set to desktop.

colinf

2013-07-19 10:49

updater   ~0015140

This is caused by the call to new_folder_chooser.add_shortcut_folder() in ArdourStartup::setup_new_session_page () throwing an exception when a shortcut to Ardour's default session folder is added to it, if that default session location is a directory which already has a shortcut in the standard Gtk folder chooser.

I first tried to fix it by checking to see if the shortcut folder to be added is already in the result of new_folder_chooser.list_shortcut_folders() and not adding it if it's already there, but that doesn't seem to work: the return value of list_shortcut_folders() appears to always be empty.

I think the most expedient way to fix this is just to put the call to add_shortcut_folder inside a try { ... } catch (Glib::Error) { ... }, so I'll push a commit to do just that in a moment.

colinf

2013-07-19 11:22

updater   ~0015141

Should be fixed in bf408d60.

Leatuspenguin

2013-07-19 11:35

reporter   ~0015142

Just tested this and can confirm the issue is fixed. Thanks

Issue History

Date Modified Username Field Change
2013-07-17 08:54 Leatuspenguin New Issue
2013-07-17 08:54 Leatuspenguin File Added: Selection_015.png
2013-07-17 11:36 Leatuspenguin Note Added: 0015128
2013-07-17 15:23 colinf Note Added: 0015130
2013-07-17 16:16 Leatuspenguin Note Added: 0015131
2013-07-17 16:54 Leatuspenguin Note Edited: 0015131
2013-07-19 10:49 colinf Note Added: 0015140
2013-07-19 11:22 colinf Note Added: 0015141
2013-07-19 11:22 colinf Status new => feedback
2013-07-19 11:35 Leatuspenguin Note Added: 0015142
2013-07-19 11:35 Leatuspenguin Status feedback => closed
2013-07-19 11:35 Leatuspenguin Resolution open => fixed