flet-dev / examples

Flet sample applications
MIT License
420 stars 171 forks source link

Home store routing example not working properly #100

Closed Lauel09 closed 7 months ago

Lauel09 commented 7 months ago

Hello! I was running the home-store.py routing example from here, and I faced this issue:

  1. It starts with this: image
  2. Then I click on 'Visit Store': image
  3. I do the step 1 and 2 twice, then I land on this: image This produces ping sound everytime, I click by mouse. Terminal:-
    
    (python_flutter) ➜  python_flutter python3 src/main.py

(flet:19284): Gdk-CRITICAL **: 13:47:24.916: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed



My system:
OS: Ubuntu 22.04.3 LTS x86_64
Kernel: 6.2.0-36-generic
ndonkoHenri commented 7 months ago

You are right! this is a bug which popped up in v0.12.0 to be precise.

I am just from noticing that, the content of the window reappears when the window is moved.

Lauel09 commented 7 months ago

You are right! this is a bug which popped up in v0.12.0 to be precise.

I am just from noticing that, the content of the window reappears when the window is moved.

Oh, yes when I was trying to screenshot it, it returned back to normal, then I did the same thing and it disappeared.

What is the bug? Can you give me brief, if it's possible, I might be able to contribute.

FeodorFitsner commented 7 months ago

It's a bug, looking into that.

FeodorFitsner commented 7 months ago

Closing in favour of https://github.com/flet-dev/flet/issues/2082