← Back to team overview

touch-packages team mailing list archive

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

 

Thanks Anthony.

Current approach is to avoid use qmlscene by user, and to use predefined bash script instead.
It is already done for Calculator app:
http://bazaar.launchpad.net/~ubuntu-calculator-dev/ubuntu-calculator-app/trunk/view/head:/app/ubuntu-calculator-app.in

You could just run calculator with command:

 $ ubuntu-calculator-app

or with additional parameters
 $ ubuntu-calculator-app -qt5

So it is bug in clock and calendar application itself, and not in
ubuntu-ui-toolkit (Ubuntu).


** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: ubuntu-calendar-app
       Status: Confirmed => Triaged

** Changed in: ubuntu-clock-app
       Status: Confirmed => Triaged

** Changed in: ubuntu-calendar-app
   Importance: Undecided => Low

** Changed in: ubuntu-clock-app
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 Ubuntu Calendar App:
  Triaged
Status in Ubuntu Clock App:
  Triaged
Status in ubuntu-ui-toolkit package in Ubuntu:
  Invalid

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