Skip to content

Rendering glitches in Kivy Garden graph #16

Open
@gljivaer

Description

Bug description:
I'm using Kivy Garden graph widget to draw various graphs how population sizes change over time. Specifically I'm using the SmoothLinePlot module.

The program and graph drawing itself works fine, expect some minor glitches for which I still haven't managed to find out the reason.

After certain time point the plots become distorted with graphical artifacts showing below them and parts of the plots suddenly turn invisible. I must emphasize that even then the program doesn't crash or raise any exception but instead finishes its work. Furthermore when I write the coordinates of the plots to the text file, everything seems normal.

Check the pictures below for more clarity.

Normal behaviour:

scenario_screenshot_2019-8-4_13-3-48

Buggy behaviour:

scenario_screenshot_2019-8-4_12-47-21

To Reproduce:
On request I can provide the program itself.

Logs/output:
I don't see anything particularly useful in the logs.

[INFO   ] Logger: Record log in C:\Users\X\.kivy\logs\kivy_19-08-04_10.txt
[INFO   ] deps: Successfully imported "kivy_deps.glew" 0.1.12
[INFO   ] deps: Successfully imported "kivy_deps.sdl2" 0.1.22
[INFO   ] Kivy: v1.11.1
[INFO   ] Kivy: Installed at "C:\Users\X\AppData\Local\Programs\Python\Python37\lib\site-packages\kivy\__init__.py"
[INFO   ] Python: v3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
[INFO   ] Python: Interpreter at "C:\Users\X\AppData\Local\Programs\Python\Python37\pythonw.exe"
[INFO   ] Factory: 184 symbols loaded
[INFO   ] Image: Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] Window: Provider: sdl2
[INFO   ] GL: Using the "OpenGL" graphics system
[INFO   ] GL: GLEW initialization succeeded
[INFO   ] GL: Backend used <glew>
[INFO   ] GL: OpenGL version <b'4.4.0 - Build 20.19.15.4549'>
[INFO   ] GL: OpenGL vendor <b'Intel'>
[INFO   ] GL: OpenGL renderer <b'Intel(R) HD Graphics 5500'>
[INFO   ] GL: OpenGL parsed version: 4, 4
[INFO   ] GL: Shading version <b'4.40 - Build 20.19.15.4549'>
[INFO   ] GL: Texture max size <16384>
[INFO   ] GL: Texture max units <32>
[INFO   ] Window: auto add sdl2 input provider
[INFO   ] Window: virtual keyboard not allowed, single mode, not docked
[INFO   ] Text: Provider: sdl2
[INFO   ] GL: NPOT texture support is available
[WARNING] Lang: bin/ui/dynamic_classes.kv has already been included!
[WARNING] Lang: bin/ui/dynamic_classes.kv has already been included!
[WARNING] Lang: bin/ui/dynamic_classes.kv has already been included!
[INFO   ] Base: Start application main loop
[INFO   ] WindowSDL: exiting mainloop and closing.
[INFO   ] Base: Leaving application in progress...

Platform (please complete the following information):

  • OS: Windows 10
  • Python 3.7.4
  • Kivy 1.11.1; Kivy-Garden graph 0.4-dev

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions