[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileView.doesn't update on Dir-Change when View=Normal


Le 23/01/2026 à 02:55, Claus Dietrich a écrit :
Am 22.01.26 um 22:08 schrieb Benoît Minisini:
Le 22/01/2026 à 19:21, Claus Dietrich a écrit :
I just reviewed a request in the German Gambas-Club and could confirm that


FileView1.View = FileView.Detailed

FileView1.Dir =<dir>


updates the contents of the FileView when I change the directory. But when I use


FileView1.View = FileView.Normal

FileView1.Dir =<dir>


the FileView does not update its contents. Is that the expected behaviour?

In this case the following helps:


FileView1.View = FileView.Normal

FileView1.Current = "*"

FileView1.Dir =<dir>


Best regards

Claus


If you have made a little project to check the bug, can you send it? Otherwise can you make some?

Of course. Here you are. It took me some time because the behavior of the FileView (no matter whether GTK+3 or QT5) is hard to control resp. to predict.

When I start the program, the FileView is in FileView.Normal - mode. When I click on the buttons to change the directory, the FileView doesn't update.

When I activate the FileView.Detailed - mode with the checkbox and click on the buttons to change the directory, the FileView updates.

When I reactivate the FileView.Normal - mode by unchecking the checkbox and click on the buttons to change the directory, the FileView updates.

What I found even more weird:

When I add a second FileView and set FileView2.View = FileView.Detailed, the first one also updates at any time in FileView.Normal - mode.

Hope that it does the same on your platform.

Best regards

Claus


This should have been fixed in the last commit.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: FileView.doesn't update on Dir-Change when View=NormalLee <t.lee.davidson@xxxxxxxxx>
References:
FileView.doesn't update on Dir-Change when View=NormalClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: FileView.doesn't update on Dir-Change when View=NormalBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: FileView.doesn't update on Dir-Change when View=NormalClaus Dietrich <claus.dietrich@xxxxxxxxxx>