gv 'Open File' dialog not displaying files

Bug #274767 reported by Bram Kuijper
8
Affects Status Importance Assigned to Milestone
gv (Ubuntu)
New
Medium
TJ

Bug Description

Binary package hint: gv

I have a problem with displaying files in directories containing a large number of files (~2000 files). If I select the directory, there will no files be displayed automatically. If I hover with the mouse pointer over the empty dialog box within the file 'Open File' dialog however, the files will be displayed. See the attached screen recording (ogg format).

1. start gv from the command line
2. choose 'open' from the left menu
3. select a directory in the left window of the 'Open File' dialog that contains a lot of files
4. no files are displayed in the right window of the 'Open File' dialog
5. hover with mouse pointer over the right window and files will be displayed.

hovering every time over the right window to get them displayed is annoying however, and files should just be displayed normally.

Revision history for this message
Bram Kuijper (terabyte) wrote :
Revision history for this message
Bram Kuijper (terabyte) wrote :

for me, the video only works when first saving it to disk...

Revision history for this message
Markus Steinborn (upstream maintainer of GNU gv) (msteinbo) wrote :

Thanks for reporting the bug.

I have fixed the bug in CVS upstream. It will be included in GNU gv 3.6.7. Currently I think I will release a prerelease soon.

Revision history for this message
Markus Steinborn (upstream maintainer of GNU gv) (msteinbo) wrote :

By the way: How can I update my E-Mail address in launchpad? My new address is <email address hidden> .

Revision history for this message
Matthew Flaschen (matthew-flaschen) wrote :

Markus, you can change your email at https://launchpad.net/~msteinbo/+editemails

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Old bug, but I can confirm I can still repeat this on 3.7.3-1 on Quantal; it's a bit temperamental but I managed to get a partial file list where more appeared as I hovered the mouse over it using a directory with a lot of files in and scrolling up and down a bit.

Changed in gv (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
TJ (tj) wrote :

According to the ChangeLog in the source package, and Markus' comments above, this is supposed to be fixed:

2009-01-02 Markus Steinborn <email address hidden>

        * src/FileSel.c: Bugfixed

2009-01-01 Markus Steinborn <email address hidden>

        * src/Vlist.c: Fix a regression from prev. patch: The scroll arrows
        on the page panel did not work any more.

        * src/FileSel.c: Changed in order to benefit from the changes in Vlist
        to support large lists.

How many files need to be in a directory to trigger this reliably?

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi TJ,
  Yeh I noticed that changelog.

The directory I'm using has 138 files in and is the Documentation/DocBook/media/v4l of a linux kernel tree (which has a handful of pdf's in)

The problem here is the 'reliably' - it's tempremental; if you spend a few minutes flipping between directories and scrolling up and down it'll trigger; it doesn't trigger on the first view of it or most of the time; so I guess it's some corner case involving the area to be redrawn.
I also noticed it in the left hand directory list in the same window, again rarely.

Revision history for this message
TJ (tj) wrote :

Hmmm, that sounds more like a memory-leak issue - allocation and freeing of memory buffers getting out of sync maybe. I'll try to reproduce it.

Changed in gv (Ubuntu):
assignee: nobody → TJ (tj)
status: Confirmed → In Progress
Revision history for this message
TJ (tj) wrote :

I've been unable to reproduce it using the exact same directory and tree you mentioned. I spent about 5 minutes clicking between directories back and forth to the media/v4l/ directory - some with hundreds of files in, some only a few.

I'm wondering if it could be specific to a particular video driver, compositor or screen configuration?

Changed in gv (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

interesting. my main desktop is KDE with the open Radeon drivers, I also managed to recreate it in a KDE kvm guest (Quantal guest, Project Neon KDE, running Cirrus graphics); I couldn't recreate it in a guest without a window manager, with ubuntu-2d or fvwm.
It could be a bad interaction with compositing - although I suspect the problem is really a timing interaction, something like receiving another scroll/refresh while in the middle of seeing to the previous one.

Changed in gv (Ubuntu):
status: Incomplete → New
Revision history for this message
TJ (tj) wrote : Re: [Bug 274767] Re: gv 'Open File' dialog not displaying files

On 11/08/12 18:52, Dave Gilbert wrote:
> interesting. my main desktop is KDE with the open Radeon drivers, I also managed to recreate it in a KDE kvm guest (Quantal guest, Project Neon KDE, running Cirrus graphics); I couldn't recreate it in a guest without a window manager, with ubuntu-2d or fvwm.
> It could be a bad interaction with compositing - although I suspect the problem is really a timing interaction, something like receiving another scroll/refresh while in the middle of seeing to the previous one.

In the absence of hard evidence I'd tend to agree with that although I'm having a hard time coming up with a way
to create a limited test program to demonstrate this bug!

Thinking hats on!

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.