Zim

Some popup windows grow vertically every time that they are displayed

Bug #1395626 reported by Raphaël Hertzog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

Every time that I open the "new page" or "new sub-page" window, it gets a bit higher.
The same goes with the quicknote window.

See http://bugs.debian.org/770705 for the initial report in Debian. This is with zim 0.62 with a few patches backported from bzr.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Sorry for the long time-out -- cleaning up months of old mail.

Just tried to reproduce, but don't see the same behavior. Wondering if it may be theme related somehow.

Revision history for this message
Raphaël Hertzog (hertzog) wrote :

I don't think so, I have the default theme on GNOME Shell.

It might be window-manager related maybe... did you try it on GNOME with GNOME Shell ?

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1395626] Re: Some popup windows grow vertically every time that they are displayed

Yes, I'm using GNOME 3 with GNOME shell under Ubuntu (using some PPA to get
the GNOME Shell instead of Unity).

Reason I'm thinking about theming is that we ask the window for it's size
and store that in our state information. When we next show the same window,
we ask the window to render at that size. If the window keeps growing, that
suggests to me that there is a mismatch between the self-reported size of
the window, and the size it will get if you ask to render at that size. I
could imagine e.g. window border to be counted wrongly, etc. but this is
just a guess.

Regards,

Jaap

On Sun, Jun 14, 2015 at 12:02 PM, Raphaël Hertzog <email address hidden>
wrote:

> I don't think so, I have the default theme on GNOME Shell.
>
> It might be window-manager related maybe... did you try it on GNOME
> with GNOME Shell ?
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1395626
>
> Title:
> Some popup windows grow vertically every time that they are displayed
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1395626/+subscriptions
>

Revision history for this message
Raphaël Hertzog (hertzog) wrote :

On Sun, 14 Jun 2015, Jaap Karssenberg wrote:
> Reason I'm thinking about theming is that we ask the window for it's size
> and store that in our state information. When we next show the same window,
> we ask the window to render at that size. If the window keeps growing, that
> suggests to me that there is a mismatch between the self-reported size of
> the window, and the size it will get if you ask to render at that size. I
> could imagine e.g. window border to be counted wrongly, etc. but this is
> just a guess.

My theme is the "Adwaita" default theme. If you send me a patch that would
print out some debugging information about the reported window size, I can
compare it to the real size (as mesured by a screenshotting tool for
example).

Cheers,
--
Raphaël Hertzog ◈ Debian Developer

Do you like what I do? Support my free software work on Debian and Ubuntu:
http://raphaelhertzog.com/support-my-work/

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Easiest test would be a small python script like: http://www.pygtk.org/pygtk2tutorial/examples/helloworld.py

Than add 2 lines, before and after the "main" function:

hello.window.set_default_size(300, 300)
hello.main()
print ">>", hello.window.get_size()

This should print the 300x300, or what ever you resized too while the window was running

Changed in zim:
status: New → Incomplete
Revision history for this message
Raphaël Hertzog (hertzog) wrote :

FWIW I no longer experience this problem on Debian Stretch/Sid. I don't remember when it got fixed.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

OK, in that case we leave it "incomplete" for now. Let it expire if no-one
else sees the same issue.

Regards,

Jaap

On Tue, Feb 16, 2016 at 2:03 PM, Raphaël Hertzog <email address hidden> wrote:

> FWIW I no longer experience this problem on Debian Stretch/Sid. I don't
> remember when it got fixed.
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1395626
>
> Title:
> Some popup windows grow vertically every time that they are displayed
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1395626/+subscriptions
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
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.