Application complains about invalid options if options are given
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | platform-api |
Undecided
|
Alexandre Abreu | ||
| | qtubuntu (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Passing options to applications make the application complain about unrecognized options.
For example:
============
$ system-settings -testability --desktop_
system-settings: invalid option -- 't'
system-settings: invalid option -- 'e'
system-settings: invalid option -- 's'
system-settings: invalid option -- 't'
system-settings: invalid option -- 'a'
system-settings: invalid option -- 'b'
system-settings: invalid option -- 'i'
system-settings: invalid option -- 'l'
system-settings: invalid option -- 'i'
system-settings: invalid option -- 't'
system-settings: invalid option -- 'y'
============
QUbuntu should just ignore any option it doesn't recognize.
Related branches
- Iain Lane: Approve on 2015-07-31
- PS Jenkins bot: Approve (continuous-integration) on 2015-07-10
- Ubuntu Phablet Team: Pending requested 2013-11-13
-
Diff: 12 lines (+2/-0)1 file modifiedsrc/ubuntu/application/common/mirclient/application_options_mir.cpp (+2/-0)
| Víctor R. Ruiz (vrruiz) wrote : | #2 |
The app needs --desktop_file_hint to start.
| Changed in qtubuntu: | |
| status: | Confirmed → Invalid |
| Changed in qtubuntu: | |
| status: | Invalid → New |
| summary: |
- Application aborts if options are given + Application complains about invalid options if options are given |
| description: | updated |
| Alexandre Abreu (abreu-alexandre) wrote : | #3 |
It comes from the platformapi that tries to catch the sidestage/
getopts_long emits the warning,
| Changed in platform-api: | |
| status: | New → In Progress |
| assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
| Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
| affects: | qtubuntu → qtubuntu (Ubuntu) |
| Changed in qtubuntu (Ubuntu): | |
| status: | New → Confirmed |
| Changed in qtubuntu (Ubuntu): | |
| status: | New → Confirmed |

I can reproduce this on the phone with image 100.