<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>228821</bug_id>
          
          <creation_ts>2008-06-22 00:12 0000</creation_ts>
          <short_desc>media-gfx/gqview-2.0.4: patch to save window/divider positions, even when maximized.</short_desc>
          <delta_ts>2008-09-02 04:22:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>eat314159atjoes@aim.com</reporter>
          <assigned_to>mr_bones_@gentoo.org</assigned_to>
          <cc>graphics@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>eat314159atjoes@aim.com</who>
            <bug_when>2008-06-22 00:12:13 0000</bug_when>
            <thetext>Even when the option to do so is enabled, gqview-2.0.4 fails to save the window, horizontal, and vertical divider positions on exit when then main window is maximized.

The following (ancient) sourceforge bug for gqview-2.1.1 contains a patch that corrects the issue.

https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1387829&amp;group_id=4050&amp;atid=104050

I made the same change to gqview-2.0.4, verified that it worked, and created a patch for this version, which I am attaching.


Reproducible: Always

Steps to Reproduce:
1. Run gqview and maximize it.
2. Enable the option &quot;Remember window positions&quot; in the settings.
3. Change the vertical and horizontal divider positions.
4. Exit gqview and re-launch it.


Actual Results:  
The dividers were positioned at their default locations, and not where I left them.

Expected Results:  
The dividers positions should be saved and restored when &quot;Remember window positions&quot; is enabled in the settings.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eat314159atjoes@aim.com</who>
            <bug_when>2008-06-22 00:13:19 0000</bug_when>
            <thetext>Created an attachment (id=157965)
Remember divider positions when maximized

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2008-06-30 06:13:35 0000</bug_when>
            <thetext>Does 2.1.5 work?  I&apos;m leaning towards stablizing 2.1.5 and ditching 2.0.4.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eat314159atjoes@aim.com</who>
            <bug_when>2008-07-04 02:57:19 0000</bug_when>
            <thetext>2.1.5 needs the same patch, but applied at a different line number.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2008-09-02 04:22:44 0000</bug_when>
            <thetext>I added it for gqview-2.1.5.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>157965</attachid>
            <date>2008-06-22 00:13 0000</date>
            <desc>Remember divider positions when maximized</desc>
            <filename>gqview-2.0.4-remember-divider-positions.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG9sZC9zcmMvbWFpbi5jCTIwMDYtMTEtMDEgMTc6Mjg6MzcuMDAwMDAwMDAwICswMDAwCisr
KyBuZXcvc3JjL21haW4uYwkyMDA4LTA2LTIxIDIzOjMxOjA2LjAwMDAwMDAwMCArMDAwMApAQCAt
MTA1NCwxMSArMTA1NCw4IEBACiAJaWYgKGxheW91dF92YWxpZCgmbHcpKQogCQl7CiAJCW1haW5f
d2luZG93X21heGltaXplZCA9ICB3aW5kb3dfbWF4aW1pemVkKGx3LT53aW5kb3cpOwotCQlpZiAo
IW1haW5fd2luZG93X21heGltaXplZCkKLQkJCXsKLQkJCWxheW91dF9nZW9tZXRyeV9nZXQoTlVM
TCwgJm1haW5fd2luZG93X3gsICZtYWluX3dpbmRvd195LAotCQkJCQkgICAgJm1haW5fd2luZG93
X3csICZtYWluX3dpbmRvd19oKTsKLQkJCX0KKwkJbGF5b3V0X2dlb21ldHJ5X2dldChOVUxMLCAm
bWFpbl93aW5kb3dfeCwgJm1haW5fd2luZG93X3ksCisJCQkJICAgICZtYWluX3dpbmRvd193LCAm
bWFpbl93aW5kb3dfaCk7CiAJCX0KIAogCWxheW91dF9nZW9tZXRyeV9nZXRfZGl2aWRlcnMoTlVM
TCwgJndpbmRvd19oZGl2aWRlcl9wb3MsICZ3aW5kb3dfdmRpdmlkZXJfcG9zKTsK
</data>        

          </attachment>
    </bug>

</bugzilla>