Window is blank

Bug #494237 reported by Vadim Peretokin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kupfer
Fix Released
High
Unassigned

Bug Description

It broke. I don't know why or how, but it did.

I imagine it'll be fixed after a restart...

Ubuntu KK, PPA

Revision history for this message
Vadim Peretokin (vperetokin) wrote :
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

Hi, I've seen this on rare occations too. If you find a good recipe for reproduction, let me know. I'll try as well, this is a pretty bad bug if it hits many users.

I think it must be something with GTK that changed in v2.18 or so.

Changed in kupfer:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

I've seen this rarely before, but now I have found where it comes from I think:

1. Show the third pane ("indirect object pane"), for example Desktop -> Open With.. -> (Don't need to select anything here)
2. Press and hold Ctrl+Space or other shortcut so that the window flashes show/hide, until it blanks.

Isolated to this line of code.. progress so far, now we just have to find out why showing this widget in the wrong moment blanks.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

That diff is simply illustration. It's not a fix!

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 494237] Re: Window is blank

Actually the Kupfer window does not come up when I have any menus open.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

I think I struck gold while working on something different (of course, the hours I used aimed directly at fixing this bug were fruitless).

This latest git change (or later) and the issue should be no more:

http://git.gnome.org/cgit/kupfer/commit/?id=2fddd2930e08ce24692588afc4921ce3366065b8

It is a workaround of this bug, or rather the removal of a different workaround for the window position.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Well, I haven't ran into it yet, will let you know if I ever do again.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

It fixed the only way I had of reproducing it, but I have found a new way. In Kupfer: "Write some text" -> Large Type, then quickly somehow show Kupfer again. Often this leads to a blank window.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

I have checked in changes to mitigate this bug so far that I want to mark this as fixed.

Notes for future reference:
Removing any window size change on show/hide (activate/put_away) will remove this issue. It is still reproducible by showing the third pane, then pressing and holding Kupfer's keybinding to flicker the window quickly a lot of times.

Changed in kupfer:
assignee: nobody → Ulrik Sverdrup (ulrik-sverdrup)
status: Confirmed → Fix Committed
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Is this fix released? In "0+c19.1-0kupferhope1~karmic1", I'm running into this issue again - after resuming from a suspend is the cause for me. I'm not sure how to restart Kupfer either.

Changed in kupfer:
status: Fix Committed → Confirmed
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

I committed some changes directly intended to mitigate this bug, but it seems it can still come back. I have seen it again, although the ways I invented to reproduce the bug previously were all fixed.

So while 19.1 contained some changes to make the bug harder to hit (at least in my testing), the real bug cause still escapes me.. :-(

How to restart kupfer:

1. Activate Kupfer with launcher or keyboard shortcut.
2. Type Quit or press Ctrl+Q
3. Press space or down-arrow to show the result list, verifying that you selected the quit item.
4. Press Return to activate.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Thank you

On Jan 13, 2010 4:56 PM, "Ulrik Sverdrup" <email address hidden> wrote:

I committed some changes directly intended to mitigate this bug, but it
seems it can still come back. I have seen it again, although the ways I
invented to reproduce the bug previously were all fixed.

So while 19.1 contained some changes to make the bug harder to hit (at
least in my testing), the real bug cause still escapes me.. :-(

How to restart kupfer:

1. Activate Kupfer with launcher or keyboard shortcut.
2. Type Quit or press Ctrl+Q
3. Press space or down-arrow to show the result list, verifying that you
selected the quit item.
4. Press Return to activate.

-- Window is blank https://bugs.launchpad.net/bugs/494237 You received this
bug notification becau...

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

Here is the latest commit directed at this problem: http://git.gnome.org/browse/kupfer/commit/?id=9618c57a565bb448e252e0170123b33e77c28678

Since the only weapon is the timing, it is unlikely that that's the last of this bug. If you ever see the bug again (in versions after that commit, which went in after c19.1, but before the next version), please mark this bug confirmed again.

Changed in kupfer:
status: Confirmed → Incomplete
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

$ apt-cache policy kupfer
kupfer:
  Installed: 0+c19.1-0kupferhope1~karmic1
  Candidate: 0+c19.1-0kupferhope1~karmic1
  Version table:
 *** 0+c19.1-0kupferhope1~karmic1 0
        500 http://ppa.launchpad.net karmic/main Packages
        100 /var/lib/dpkg/status
     0+c10-1ubuntu1 0
        500 http://gpl.savoirfairelinux.net karmic/universe Packages
vadi@vadi-laptop:~/Downloads$

I got the blank window again after resuming from suspend. To note, this was probably the main reason for me behind the other blank Kupfers - it was blank after resuming.

Changed in kupfer:
status: Incomplete → Confirmed
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

to be honest the tested version is before, not after the most recent commit.

Changed in kupfer:
status: Confirmed → Incomplete
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

last pieces should be dead, in git master we don't do window resizing anymore.

Changed in kupfer:
status: Incomplete → Fix Committed
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

I have seen this bug again, and tried to fix it again.

Newest try is this commit: http://git.gnome.org/browse/kupfer/commit/?id=0f80de2c09eca0c713a9ee3b31af92142c6459b2

(This commit is located in a development version after Kupfer v203 but before the release after that)

Any kupfer version after that where you see a window blanking -- please report it as a bug. I will close this old bug as fixed so that people file new bugs if something comes up.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Okay.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

And that didn't work at all :-) so here is the lastest try again and again.. well this time I actually had an idea, trying something different than race conditions at least.

http://git.gnome.org/browse/kupfer/commit/?id=3271a1d2a31a48457d167cd5bb9d52b21e1f37b8

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

Let's kill this bug once and for all. With v204, it's dead. Hooray! :-)

Changed in kupfer:
status: Fix Committed → Fix Released
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Awesome

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.