[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FileView.doesn't update on Dir-Change when View=Normal
[Thread Prev] | [Thread Next]
- Subject: Re: FileView.doesn't update on Dir-Change when View=Normal
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Sun, 25 Jan 2026 11:34:29 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 1/23/26 4:57 PM, Benoît Minisini wrote:
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 ClausIf 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 ClausThis should have been fixed in the last commit. Regards,
I just pulled and compiled the latest gambas-master to test if it is fixed. It does appear to be fixed as FileView will update the contents correctly when the Dir is changed even without Detailed view set.
However, on the VM, the user's Music directory is empty, and the attached image shows what FileView showed for that directory. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Attachment:
Screenshot_20260125_112124.png
Description: PNG image
| Re: FileView.doesn't update on Dir-Change when View=Normal | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| FileView.doesn't update on Dir-Change when View=Normal | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: FileView.doesn't update on Dir-Change when View=Normal | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: FileView.doesn't update on Dir-Change when View=Normal | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: FileView.doesn't update on Dir-Change when View=Normal | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |