Arguments should be handled before session creation

Bug #1206439 reported by André Stösel
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Confirmed
Low
André Stösel

Bug Description

If I start midori like this (new session):
  midori -e zoom-level=2 www.heise.de
I would expect a zoom level of 2 for "www.heise.de" (and all other tabs in the session).

(At the moment the session is loaded before the zoom level is changed.)

Tags: invocation
André Stösel (ivaldi)
Changed in midori:
status: New → Confirmed
importance: Undecided → Low
André Stösel (ivaldi)
Changed in midori:
assignee: nobody → André Stösel (ivaldi)
milestone: none → 0.5.6
gue5t gue5t (gue5t)
tags: added: invocation
Revision history for this message
Cris Dywan (kalikiana) wrote :

We have an opportunity to re-evalute this with GApplication - I did so far avoid changing the logic but there's a more dynamic callback-based API available which may help here.

Cris Dywan (kalikiana)
Changed in midori:
milestone: 0.5.6 → 0.5.7
Revision history for this message
gue5t gue5t (gue5t) wrote :

It seems in 0.5.6 -e commands given at startup are completely ignored:
$ midori -e garbage
(no whine)
$ midori -e Quit
(opens normally)
$ midori -e Preferences
(no preferences opens)

Changed in midori:
importance: Low → High
Revision history for this message
gue5t gue5t (gue5t) wrote :

According to comments in IRC, Midori also discards *urls* provided on the starting command-line if the startup mode is not "show last tabs" or "show last tabs without loading". I can reproduce with the latest bzr version.

Revision history for this message
André Stösel (ivaldi) wrote :

I opened two new bugs #1257840 and #1257839 because this bug is just about the event order.

Changed in midori:
importance: High → Low
Cris Dywan (kalikiana)
Changed in midori:
milestone: 0.5.7 → garage
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.