[Kommander-devel] KDE 3.5.5: Kommander problems
Dik Takken
D.H.J.Takken at phys.uu.nl
Mon Nov 6 13:13:52 EST 2006
Hi,
It seems that the problem only exists on Ubuntu Linux 6.10. I just
upgraded my system to KDE 3.5.5 and everything works perfectly.
Syntax highlighting is GREAT, by the way. :)
On Wed, 1 Nov 2006, Dik Takken wrote:
>
> Hi,
>
> I received several bugreports from people trying to run the KDE DVD Authoring
> Wizard on KDE 3.5.5. The 'Add To List' button on the 'Create Playlist' page
> does not add the files to the listview anymore.
>
> I can't test this on my own system yet, because I have not had the
> opportunity to build KDE 3.5.5 yet. All I know is that the wizard works
> perfectly on my KDE 3.5.4 system.
>
> If anyone has some time to look at the problem, please please do so. The
> website of KDE DVD Authoring Wizard is here:
>
> http://dvdauthorwizard.sourceforge.net
>
> The code in the button reads like this:
>
> -----------------------------------------------------------------
>
> @if( @String.length(@NewFiles) == 0)
>
> @exec(kdialog --error "Please select one or multiple files.")
>
> @endif
>
> @Array.clear(NewFileArray)
> @Array.fromString(NewFileArray, @NewFiles)
>
> @for(MPEGFile, 0, @expr(@Array.count(NewFileArray) - 1), 1)
>
> @setGlobal(NewMPEGFile, at exec(echo "@NewFiles" | tail -n $[
> @Array.count(NewFileArray) - @MPEGFile ] | head -n 1))
>
> @AddNewMPEGFile
>
> @end
>
> @NewFiles.setText("")
>
> -----------------------------------------------------------------
>
> The 'AddNewMPEGFile' script looks like this:
>
> -----------------------------------------------------------------
>
> @setGlobal(FileName, @global(NewMPEGFile))
> @setGlobal(NumItems, @Array.count(Scenes) )
>
> # In case the Scenes array does not exist yet
> @if( @String.length(@Array.count(Scenes)) == 0)
> @setGlobal(NumItems,0)
> @endif
>
> @if( @String.length(@global(FileName)) != 0 )
>
> # Add filename to Scenes array and Scene List Widget
> @Array.setValue(Scenes, @exec(echo file at global(NumItems)), @global(FileName))
> @Playlist.insertItem(@global(FileName),-1)
> @Playlist.setPixmap("video", at global(NumItems))
>
>
> # Initialise scene title
> @Array.setValue(SceneTitles, @global(FileName), @exec(echo "`basename
> "@global(FileName)"`" | sed "s/.mpg//;" ))
> @SceneTitle.setText(@exec(echo "`basename "@global(FileName)"`" | sed
> "s/.mpg//;" ))
>
> # Initialise scene pause length
> @Array.setValue(ScenePause, @exec(echo "@global(FileName)"), 0)
>
> @endif
>
> -----------------------------------------------------------------
>
> I really hope there is a workaround for the problem....
>
> Dik
> _______________________________________________
> Kommander-devel mailing list
> Kommander-devel at mail.kdewebdev.org
> http://mail.kdewebdev.org/mailman/listinfo/kommander-devel
>
-----------------------------------------------------------------
More information about the Kommander-devel
mailing list