"unity --reset" wrongly says "deprecated" and fails to say what to do instead

Bug #1486498 reported by Matthew Paul Thomas on 2015-08-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Stephen M. Webb
unity (Ubuntu)
Stephen M. Webb

Bug Description

unity 7.2.5+14.04.20150603-0ubuntu1, Ubuntu 14.04

1. Switch to a console, for example by typing Ctrl Alt F1.
2. Enter "unity --reset" (without quotes).

What happens:

A. "WARNING: no DISPLAY variable set, setting it to :0"
B. "ERROR: the reset option is now deprecated"
C. Nothing else.

What's wrong with this:

A. Unity rambles about no DISPLAY variable being set, despite knowing that it isn't going to use one anyway.
B. "reset" is either deprecated, or it is an error. It can't be both. "Deprecated" means that something is planned to stop working sometime in the future.
C. Unity exits without telling you what to use instead.

What should happen: either
A. "unity --reset" should Just Work, or
B. the message should say "ERROR: the reset option is no longer allowed"; and
C. it should tell you just to use "unity" by itself next time.

Related branches

Stephen M. Webb (bregma) on 2015-08-19
Changed in unity:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Stephen M. Webb (bregma)
Changed in unity (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Stephen M. Webb (bregma)
Stephen M. Webb (bregma) on 2015-08-19
Changed in unity:
milestone: none → 7.3.4
Changed in unity:
milestone: 7.3.4 → 7.3.3
tags: added: rls-w-incoming
Changed in unity:
milestone: 7.3.3 → 7.4.0
tags: added: rls-x-incoming
removed: rls-w-incoming
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.4.0+16.04.20151102-0ubuntu1

unity (7.4.0+16.04.20151102-0ubuntu1) xenial; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * Bumping version to 7.4.0
  * Fix building in xenial

  [ Didier Roche ]
  * Remove unity2d transitional packages. We are post trusty LTS, they
    are not needed anymore

  [ Marco Trevisan (Treviño) ]
  * ApplicationLauncherIcon: if an app is not running and has no desktop
    file, add QL item to add to dash
  * PanelService: unset the idle ID before removal on callback (LP:
  * Unity: use compiz cursorCache to get properly updated cursors (LP:
  * UnityScreen: add SpreadAppWindows option and trigger it on

  [ Stephen M. Webb ]
  * changed the wording of the help message and warning message for the
    --reset option (LP: #1486498)

unity (7.3.3-0ubuntu1) UNRELEASED; urgency=medium

  * Releasing Unity 7.3.3

 -- Marco Trevisan (Treviño) <mail@3v1n0.net> Mon, 02 Nov 2015 13:29:58 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Changed in unity:
status: In Progress → Fix Committed
tags: added: unity-backlog
Changed in unity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers