--start-minimized doesn't start minimized but minimize after start

Bug #157728 reported by nickless
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Exaile Bug Day Events

Bug Description

when I use exaile --start-minimized (on Ubuntu Gutsy with Compiz-Fusion) exaile pops up and loads as normally and then minimizes, after loading everything. This behavior kind of makes the option useless :/
(No idea if this only happens when using Compiz...)

Changed in exaile:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Martin von Wittich (martin.von.wittich) wrote :

I am having the same issue, but I'm not using compiz, so the problem doesn't seem to be caused by it.

Revision history for this message
Satti (satya-461) wrote :

In 0.2.14 , From the following code fragment,

        if self.options.minim:
            try:
                self.tray_icon.toggle_exaile_visibility()
            except:
                pass
        return False

 I think just the visibilty is toggled, and I think loading of main core components is not in new thread. I am not sure though.

Strangely , I dont find this piece of code in latest checkout branch bzr checkout lp:exaile(which 0.2.99.. etc)

If someone can add more info , I will see If I can fix this.

Revision history for this message
reacocard (reacocard) wrote :

--start-minimized in 0.2.14 is a very simple implementation. Basically, it just waits until the main window has been made and then behaves as if the tray icon were clicked at the moment.

--start-minimized has not yet been implemented in the 0.3 series.

Revision history for this message
xatnys (xatnys) wrote :

This should be okay.

reacocard (reacocard)
Changed in exaile:
assignee: nobody → reacocard
milestone: none → 0.3.0
Revision history for this message
Steve Dodier-Lazaro (sidi) wrote :

I believe this could be reimplemented by toggling the visibility of the window before displaying it, if the option to use a tray icon is set to true. Assigning to bug day.

Changed in exaile:
assignee: Aren Olson (reacocard) → Exaile Bug Day Events (exaile-bugday)
Revision history for this message
Mathias Brodala (mathbr) wrote :

Has been fixed in the Bugday branch now.

Changed in exaile:
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.