Debian Bug report logs - #643679
gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned

version graph

Package: gnucash; Maintainer for gnucash is Dmitry Smirnov <onlyjob@debian.org>; Source for gnucash is src:gnucash (PTS, buildd, popcon).

Reported by: Vincent Lefevre <vincent@vinc17.net>

Date: Wed, 28 Sep 2011 16:21:01 UTC

Severity: minor

Tags: wontfix

Found in version 1:2.4.7-3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Wed, 28 Sep 2011 16:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <vincent@vinc17.net>:
New Bug report received and forwarded. Copy sent to Micha Lenk <micha@debian.org>. (Wed, 28 Sep 2011 16:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vincent Lefevre <vincent@vinc17.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Wed, 28 Sep 2011 18:17:58 +0200
Package: gnucash
Version: 1:2.4.7-3
Severity: normal

When I start GnuCash, FVWM asks me to choose the position of the
"GnuCash Tip Of The Day" window (as I have the ActivePlacement
option). Once done, the window appears higher than the chosen
position.

The most annoying problem is that this window sometimes appears
partly off-screen (at the top).

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnucash depends on:
ii  gnucash-common             1:2.4.7-3         
ii  guile-1.8                  1.8.8+1-6         
ii  guile-1.8-libs             1.8.8+1-6         
ii  libaqbanking33             5.0.16-1          
ii  libart-2.0-2               2.3.21-1          
ii  libatk1.0-0                2.2.0-1           
ii  libbonobo2-0               2.24.3-1          
ii  libbonoboui2-0             2.24.3-1          
ii  libc6                      2.13-21           
ii  libcairo2                  1.10.2-6.1        
ii  libcrypt-ssleay-perl       0.57-2+b2         
ii  libdate-manip-perl         6.25-1            
ii  libdbi1                    0.8.4-5.1         
ii  libfinance-quote-perl      1.17+git20110918-1
ii  libfontconfig1             2.8.0-3           
ii  libfreetype6               2.4.6-2           
ii  libgconf2-4                2.32.4-1          
ii  libgdk-pixbuf2.0-0         2.24.0-1          
ii  libglade2-0                1:2.6.4-1         
ii  libglib2.0-0               2.28.6-1          
ii  libgmp10                   2:5.0.2+dfsg-1    
ii  libgnome-keyring0          3.0.3-1           
ii  libgnome2-0                2.32.1-1          
ii  libgnomecanvas2-0          2.30.3-1          
ii  libgnomeui-0               2.24.5-2          
ii  libgnomevfs2-0             1:2.24.4-1        
ii  libgoffice-0.8-8           0.8.17-1          
ii  libgtk2.0-0                2.24.5-4          
ii  libgwengui-gtk2-0          4.3.0-1           
ii  libgwenhywfar60            4.3.0-1           
ii  libhtml-tableextract-perl  2.11-1            
ii  libhtml-tree-perl          4.2-1             
ii  libice6                    2:1.0.7-2         
ii  libktoblzcheck1c2a         1.35-1            
ii  libltdl7                   2.4-4             
ii  libofx4                    1:0.9.4-2         
ii  liborbit2                  1:2.14.18-0.2     
ii  libpango1.0-0              1.28.4-3          
ii  libpopt0                   1.16-1            
ii  libsm6                     2:1.2.0-2         
ii  libsoup2.4-1               2.34.3-1          
ii  libwebkitgtk-1.0-0         1.4.2-2           
ii  libwww-perl                6.02-1            
ii  libx11-6                   2:1.4.4-2         
ii  libxml2                    2.7.8.dfsg-4      
ii  perl                       5.12.4-4          
ii  slib                       3b1-3.1           
ii  zlib1g                     1:1.2.3.4.dfsg-3  

Versions of packages gnucash recommends:
ii  gnucash-docs  2.2.0-3

Versions of packages gnucash suggests:
pn  libdbd-mysql    <none>
pn  libdbd-pgsql    <none>
pn  libdbd-sqlite3  <none>

-- no debconf information




Added tag(s) wontfix. Request was from Sébastien Villemot <sebastien.villemot@ens.fr> to control@bugs.debian.org. (Thu, 06 Oct 2011 19:42:02 GMT) (full text, mbox, link).


Severity set to 'minor' from 'normal' Request was from Sébastien Villemot <sebastien.villemot@ens.fr> to control@bugs.debian.org. (Thu, 06 Oct 2011 19:42:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Thu, 06 Oct 2011 19:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Sébastien Villemot <sebastien.villemot@ens.fr>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Thu, 06 Oct 2011 19:51:03 GMT) (full text, mbox, link).


Message #14 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Sébastien Villemot <sebastien.villemot@ens.fr>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 643679@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Thu, 06 Oct 2011 21:40:04 +0200
[Message part 1 (text/plain, inline)]
tags 643679 + wontfix
severity 643679 minor
thanks

Vincent Lefevre <vincent@vinc17.net> writes:

> When I start GnuCash, FVWM asks me to choose the position of the
> "GnuCash Tip Of The Day" window (as I have the ActivePlacement
> option). Once done, the window appears higher than the chosen
> position.
>
> The most annoying problem is that this window sometimes appears
> partly off-screen (at the top).

I am able to reproduce your problem using a fresh install of fvwm and
only "Style * ManualPlacement" in my ~/.fvwm2rc.

Actually the placement of the "Tip of the day" dialog is controlled by
the GConf key /apps/gnucash/dialogs/tip_of_the_day/window_position
(editable with "gconf-editor"). This setting overrides the placement
that you manually choose with FVWM. Also note that this setting is saved
across runs of GnuCash, so if you manually move the dialog then close
it, GnuCash will remember the new location in future runs.

The immediate solution to your problem is therefore to put a more
sensible value there.

I guess that in the mind of the GnuCash developers this is a feature and
not a bug, so it is unlikely that in the future GnuCash will adopt the
behavior that you would like to see.

Best,

-- 
Sébastien Villemot
Researcher in Economics at CEPREMAP & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-49-90 - GPG Key: 4096R/381A7594
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Fri, 07 Oct 2011 01:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Fri, 07 Oct 2011 01:21:03 GMT) (full text, mbox, link).


Message #19 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Vincent Lefevre <vincent@vinc17.net>
To: Sébastien Villemot <sebastien.villemot@ens.fr>
Cc: 643679@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Fri, 7 Oct 2011 03:18:08 +0200
On 2011-10-06 21:40:04 +0200, Sébastien Villemot wrote:
> Actually the placement of the "Tip of the day" dialog is controlled by
> the GConf key /apps/gnucash/dialogs/tip_of_the_day/window_position
> (editable with "gconf-editor"). This setting overrides the placement
> that you manually choose with FVWM. Also note that this setting is saved
> across runs of GnuCash, so if you manually move the dialog then close
> it, GnuCash will remember the new location in future runs.
> 
> The immediate solution to your problem is therefore to put a more
> sensible value there.

OK.

> I guess that in the mind of the GnuCash developers this is a feature and
> not a bug, so it is unlikely that in the future GnuCash will adopt the
> behavior that you would like to see.

It may be a feature, but currently, it's broken in two ways if GnuCash
wants to override the manual placement. First, it should choose a
default position that is not partly off screen! Second, it should
disable the manual placement (like what is done for its main window).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Sat, 15 Oct 2011 09:45:36 GMT) (full text, mbox, link).


Acknowledgement sent to Sébastien Villemot <sebastien.villemot@ens.fr>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Sat, 15 Oct 2011 09:45:38 GMT) (full text, mbox, link).


Message #24 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Sébastien Villemot <sebastien.villemot@ens.fr>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 643679@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Sat, 15 Oct 2011 11:44:07 +0200
[Message part 1 (text/plain, inline)]
Vincent Lefevre <vincent@vinc17.net> writes:

> On 2011-10-06 21:40:04 +0200, Sébastien Villemot wrote:
>> I guess that in the mind of the GnuCash developers this is a feature and
>> not a bug, so it is unlikely that in the future GnuCash will adopt the
>> behavior that you would like to see.
>
> It may be a feature, but currently, it's broken in two ways if GnuCash
> wants to override the manual placement. First, it should choose a
> default position that is not partly off screen!

My understanding is that the default position is middle-of-the-screen at
the first run of GnuCash, and that if you manually move the window then
the new position is stored in GConf and restored at next launch.

So my guess is that you moved it partly off screen some time ago and
that GnuCash remembers this position.

To confirm this, try to delete the GConf key
/apps/gnucash/dialogs/tip_of_the_day/window_position using gconf-editor,
and check that the default position chosen by GnuCash at next launch is
indeed middle-of-the-screen.

> Second, it should
> disable the manual placement (like what is done for its main window).

My guess is that GnuCash developers won't accept to change the current
default behavior. However, maybe they would accept to make this
configurable and have the behavior that you want as an configurable
alternative. Tell me if you want to turn this bug report into a wishlist
item for this.

Best,

-- 
Sébastien Villemot
Researcher in Economics at CEPREMAP & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-49-90 - GPG Key: 4096R/381A7594
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Sat, 15 Oct 2011 21:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Sat, 15 Oct 2011 21:27:05 GMT) (full text, mbox, link).


Message #29 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Vincent Lefevre <vincent@vinc17.net>
To: Sébastien Villemot <sebastien.villemot@ens.fr>
Cc: 643679@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Sat, 15 Oct 2011 23:15:03 +0200
On 2011-10-15 11:44:07 +0200, Sébastien Villemot wrote:
> My understanding is that the default position is middle-of-the-screen at
> the first run of GnuCash, and that if you manually move the window then
> the new position is stored in GConf and restored at next launch.

No, the default position is not middle-of-the-screen, as if I remove
the /apps/gnucash/dialogs/tip_of_the_day/window_position GConf key,
the position is exactly the one I choose via FVWM.

> So my guess is that you moved it partly off screen some time ago and
> that GnuCash remembers this position.

No, that's impossible: when I move the window with the window manager,
a part of the title bar must still be visible, because the window is
moved by dragging the title bar and the mouse pointer remains on screen
(ditto when setting the initial position). Here the whole title bar was
invisible.

Now, I sometimes run gnucash remotely (via SSH) from a machine that has
a larger screen. However even in this case, the Y window position should
remains non-negative. I would say that the window could be off-screen on
the bottom part, but here it was on the top part of the screen. Another
explanation could be that the window_position meaning changed in the
past.

> > Second, it should disable the manual placement (like what is done
> > for its main window).
> 
> My guess is that GnuCash developers won't accept to change the current
> default behavior.

I don't see why. This is a bug, which must be fixed. If GnuCash wants
to remember the window position, then fine[*]: it should place the
window at this position and that's all. Asking the user to choose the
window position then change this position is not a correct behavior
(GnuCash is the only application that behaves this way!).

[*] Well, perhaps even not. It might break

  http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2552674

but I'm not sure.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Sat, 15 Oct 2011 21:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Sat, 15 Oct 2011 21:33:03 GMT) (full text, mbox, link).


Message #34 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Vincent Lefevre <vincent@vinc17.net>
To: Sébastien Villemot <sebastien.villemot@ens.fr>
Cc: 643679@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Sat, 15 Oct 2011 23:29:29 +0200
On 2011-10-15 23:15:03 +0200, Vincent Lefevre wrote:
> I don't see why. This is a bug, which must be fixed. If GnuCash wants
> to remember the window position, then fine[*]: it should place the
> window at this position and that's all. Asking the user to choose the
> window position then change this position is not a correct behavior
> (GnuCash is the only application that behaves this way!).
> 
> [*] Well, perhaps even not. It might break
> 
>   http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2552674
> 
> but I'm not sure.

I've just checked: fvwm doesn't know _NET_WM_FULL_PLACEMENT. So, the
problem with GnuCash is only the one mentioned above.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Sun, 16 Oct 2011 15:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to Sébastien Villemot <sebastien.villemot@ens.fr>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Sun, 16 Oct 2011 15:51:08 GMT) (full text, mbox, link).


Message #39 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Sébastien Villemot <sebastien.villemot@ens.fr>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 643679@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Sun, 16 Oct 2011 17:48:03 +0200
[Message part 1 (text/plain, inline)]
Vincent Lefevre <vincent@vinc17.net> writes:

> On 2011-10-15 11:44:07 +0200, Sébastien Villemot wrote:
>> My understanding is that the default position is middle-of-the-screen at
>> the first run of GnuCash, and that if you manually move the window then
>> the new position is stored in GConf and restored at next launch.
>
> No, the default position is not middle-of-the-screen, as if I remove
> the /apps/gnucash/dialogs/tip_of_the_day/window_position GConf key,
> the position is exactly the one I choose via FVWM.

Do you mean that when you remove that key, then GnuCash respects the
position that you choose for the window? (and only in this case if I
understand correctly)

>> > Second, it should disable the manual placement (like what is done
>> > for its main window).
>> 
>> My guess is that GnuCash developers won't accept to change the current
>> default behavior.
>
> I don't see why. This is a bug, which must be fixed. If GnuCash wants
> to remember the window position, then fine[*]: it should place the
> window at this position and that's all. Asking the user to choose the
> window position then change this position is not a correct behavior
> (GnuCash is the only application that behaves this way!).

If GnuCash has changed the position that you had initially chosen, and
in addition has put it off-the-screen, then I agree that this is a
bug.

However I am not able to reproduce this behavior. Are you able to
produce a reproducible test case (ideally with a negative value in the
GConf key)? Maybe this has to do with your remote logins with a
different screen size, though I don't understand how this could create a
negative offset.

Best,

-- 
Sébastien Villemot
Researcher in Economics at CEPREMAP & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-49-90 - GPG Key: 4096R/381A7594
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Sun, 16 Oct 2011 22:39:10 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Sun, 16 Oct 2011 22:39:10 GMT) (full text, mbox, link).


Message #44 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Vincent Lefevre <vincent@vinc17.net>
To: Sébastien Villemot <sebastien.villemot@ens.fr>
Cc: 643679@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Mon, 17 Oct 2011 00:34:36 +0200
On 2011-10-16 17:48:03 +0200, Sébastien Villemot wrote:
> Do you mean that when you remove that key, then GnuCash respects the
> position that you choose for the window? (and only in this case if I
> understand correctly)

Yes, and only in this case.

> If GnuCash has changed the position that you had initially chosen, and
> in addition has put it off-the-screen, then I agree that this is a
> bug.
> 
> However I am not able to reproduce this behavior. Are you able to
> produce a reproducible test case (ideally with a negative value in the
> GConf key)? Maybe this has to do with your remote logins with a
> different screen size, though I don't understand how this could create a
> negative offset.

I've done a few tests, and without remote SSH, I can't reproduce this
bug. But I've noticed another one: if I move the tip window to some
position (near the bottom? but completely on screen) and restart
GnuCash, the tip window doesn't always reapper at the same place.
In such a case, with gconf-editor, I can see that window_position
changes after GnuCash is restarted. I haven't found a consistent way
to reproduce this.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Information forwarded to debian-bugs-dist@lists.debian.org, Micha Lenk <micha@debian.org>:
Bug#643679; Package gnucash. (Thu, 17 Nov 2011 23:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to Micha Lenk <micha@debian.org>. (Thu, 17 Nov 2011 23:57:03 GMT) (full text, mbox, link).


Message #49 received at 643679@bugs.debian.org (full text, mbox, reply):

From: Vincent Lefevre <vincent@vinc17.net>
To: Sébastien Villemot <sebastien.villemot@ens.fr>
Cc: 643679@bugs.debian.org
Subject: Re: Bug#643679: gnucash: the "GnuCash Tip Of The Day" window doesn't appear where it is positioned
Date: Fri, 18 Nov 2011 00:55:11 +0100
On 2011-10-16 17:48:03 +0200, Sébastien Villemot wrote:
> If GnuCash has changed the position that you had initially chosen, and
> in addition has put it off-the-screen, then I agree that this is a
> bug.

I could reproduce this problem. Reported as bug 649132.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun May 5 19:00:12 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.