Newbie with thunar bug.

Román rgmf at riseup.net
Thu Nov 20 17:05:51 CET 2014


Hi,

I think is not a refreshment problem. The problem is in thunar_file_load here:

/* query a new file info */
file->info = g_file_query_info (file->gfile,
                                THUNARX_FILE_INFO_NAMESPACE,
                                G_FILE_QUERY_INFO_NONE,
                                cancellable, &err);

g_file_query_info return a wrong size??? I tried this two lines:

fseek(fp, 0L, SEEK_END);
sz = ftell(fp);

And this gave me the correct size while the other one not, so I think the problem is in g_file_query_info (GIO) function for some reason I don't know but I continue struggling with this bug.

Cheers.



On Wed, 19 Nov 2014 16:01:39 +0000
Steve Dodier-Lazaro <sidnioulz at gmail.com> wrote:

> Hi Román,
> 
> Reloading a folder occurs when you click on 'View -> Reload' or press
> 'Ctrl+R'. If the problem is just a refreshment problem, reloading the
> folder should handle it indeed. However, isn't there a function for
> just reloading a file and the status bar that displays its size? Can
> you identify (maybe using breakpoints) how the copied files (except
> the last one which triggers the bug) are refreshing as part of the
> file copy operation?
> 
> Cheers,
> 
> 2014-09-29 17:12 GMT+01:00 Román <rgmf at riseup.net>:
> > Hello.
> >
> > I am looking at 9446 bug (https://bugzilla.xfce.org/show_bug.cgi?id=9446) and deeping in thunar code.
> >
> > It is a strange bug because if you navigate to other directory and back to target directory the sizes of files are okay so I ask myself: What is the difference between reload folder and open to a folder? I have been able to see that:
> > - When you open a folder thunar_folder_reload is called.
> > - When you reload a folder thunar_folder_reload is called.
> >
> > Can someone help me with this? Any hint?
> >
> > Thank you.
> > Cheers.
> >
> > --
> > Román <rgmf at riseup.net>
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org
> > https://mail.xfce.org/mailman/listinfo/xfce4-dev
> 
> 
> 
> -- 
> Steve Dodier-Lazaro
> PhD Student in Information Security
> University College London
> Free Software Developer
> OpenPGP : 1B6B1670
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev

-- 
Román <rgmf at riseup.net>


More information about the Xfce4-dev mailing list