← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1231558] Re: qmlscene prevents using default command line arguments after the .qml filename

 

** No longer affects: ubuntu-ui-toolkit

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1231558

Title:
  qmlscene prevents using default command line arguments after the .qml
  filename

Status in Calendar application for Ubuntu devices:
  Confirmed
Status in Clock application for Ubuntu devices:
  Confirmed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  When using defaultArgument to get one or many default arguments passed
  by the command line using QmlScene, it seems that it not take the
  arguments passed after the .qml file, but before.

  Currently pass a default argument you have to do : 
  qmlscene argument file.qml

  It would be better to do :
  qmlscene file.qml argument
  But it don't work with qmlscene.

  Since a lot of linux commands work as the following : "command arg1
  arg2", it would be great to make ubuntu qml apps work according to the
  same pattern.

  (You can see an example in the ubuntu-docviewer-app.desktop file of
  docviewer core app)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1231558/+subscriptions