Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextInput large string rendering issues #4166

Open
illright opened this issue Apr 11, 2016 · 5 comments
Open

TextInput large string rendering issues #4166

illright opened this issue Apr 11, 2016 · 5 comments
Labels
Component: Widgets kivy/uix, style.kv Platform: Linux Type: Bug A bug or something not working as intended

Comments

@illright
Copy link
Contributor

During my app tests, I've noticed something very strange. The multiline TextInput renders text as usual, but when I add more text to a single line than some fixed size, the entire line becomes a black strip. In my test I've used the letter "M" 630 times and 631st is messing up the text. As for other letters, it takes more of them, but the same glitch occurs. Screenshot provided.
default

@KeyWeeUsr
Copy link
Contributor

I had similar problem, on pc and on android. On android it was much lower amount of characters. I think it may depend on the Texture max size in OpenGL that you can see when your app starts.

@kived
Copy link
Contributor

kived commented Apr 11, 2016

Completely black or white textures like this are generally indicative of either exceeding the Texture max size, or running out of VRAM for the GPU. Likely the former in this case, as @KeyWeeUsr noted.

@KeyWeeUsr
Copy link
Contributor

Isn't there some warning directly in OpenGL that could be redirected into console? Then a user could catch when either max size or VRAM is not enough. It'd be nice, like that warning with max iterations in Clock.

@akshayaurora
Copy link
Member

The correct solution here is to get TextInput to make sure long textures
are not used, the view pane is not big and maybe we could look at trying to
make sure only certain more chars than in the view window are
rendered...Just like we do for text vertically(lines)...

On Mon, Apr 11, 2016 at 8:55 PM, Peter Badida notifications@github.com
wrote:

Isn't there some warning diretly in OpenGL that could be redirected into
console? Then a user could catch when either max size or VRAM is not
enough. It'd be nice, like that warning with max iterations in Clock.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#4166 (comment)

@dessant dessant added the Component: Widgets kivy/uix, style.kv label Apr 23, 2016
@stale
Copy link

stale bot commented Oct 7, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 7, 2017
@stale stale bot removed the stale label Oct 12, 2017
@matham matham removed the pinned label Nov 1, 2020
@Julian-O Julian-O added Platform: Linux Status: On-hold PR is on hold and should not be merged until issues inside are resolved Type: Bug A bug or something not working as intended and removed Status: On-hold PR is on hold and should not be merged until issues inside are resolved labels Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Widgets kivy/uix, style.kv Platform: Linux Type: Bug A bug or something not working as intended
Projects
None yet
Development

No branches or pull requests

7 participants