Bug Report Possible Scrolling Text Bug

ThatTromboneGuy

New Member
I believe that I have found a bug that involves scrolling text.

So what I was planning on doing with the scrolling text was making a ticker for whatever song I was currently playing in rhythm game that I play called osu!. It would scroll the song name and info across a part of the screen so viewers could see all of it. So I have a program that takes the name and info of the song and puts it into a text file, but only while I am playing said song. As soon as I stop playing the song, it will delete the text in the file to make room for whatever song is going to be played next. Now obviously the only way to get this text into the ticker is to use the "Read from file" feature on a text source.

So here is where I encounter the problem. It works great when I create the source since there is already something there, but whenever I go to change the song, it will wont pull up whatever song I start to play next. The spot where the text is supposed to be just remains blank.

Now this is where it gets interesting. The new song name and info is still being read, and it is still in the text source, but it is only visible when I disable the scrolling filter. As soon as I disable it, the text will show up normally, just without any scroll. But as soon as I try to add the filter back on, the text will go away and it will again just be an empty text box.

I have no idea what is causing this, or if it's just because I'm doing something wrong, but I was definitely able to achieve this in the original OBS, and it's something that is rather important so I can have a quality stream. If this could be looked into at all I would greatly appreciate it! I have uploaded the logs for the session I was doing when I encountered this, so hopefully that will help a bit.

Log for my session: https://gist.github.com/0c677d4151f78d2e02fa90fd7da22c30
 

R1CH

Forum Admin
Developer
I've been looking into this and can't seem to reproduce it at all. What program are you using to update the file?
 

ThatTromboneGuy

New Member
I've been looking into this and can't seem to reproduce it at all. What program are you using to update the file?

I haven't read through the links that Suslik V posted yet, but the program is called Osu Stream Companion. Here is a link to the page where you can download it and read what it does. Hopefully this can be a bit of help. It only works with osu! though, so if you don't have the game I'm not sure what all you will be able to do with it.

https://osu.ppy.sh/forum/t/209616
 

ThatTromboneGuy

New Member

That's exactly what is happening to mine it seems. I think it has something to do with OBS not knowing what to do with the scroll filter when there is no text present in the file it's routed to or something. Hopefully it can be fixed easily or soon. I am trying to switch from classic to studio, and I love studio so far, but the text scrolling not working is a fairly big issue.
 

R1CH

Forum Admin
Developer
I do see a bug with the way empty text + filters are (not) rendered, but it shouldn't cause disappearing text permanently, only a graphical glitch, but I'm not really sure yet.
 

Suslik V

Active Member
step by step guide to reproduce a bug:
  1. create the '1.txt' file in notepad with text '123';
  2. save text file;
  3. run OBS Studio;
  4. add 'Text (FreeType 2)' source to scene;
  5. check 'Read from file'
  6. point 'Text File (UTF-8 or UTF-16)' to your '1.txt' file;
  7. close 'Text (FreeType 2)' properties window with OK button;
  8. add filter Scroll to 'Text (FreeType 2)' source;
  9. set Horizontal Speed = 20;
  10. check 'Limit Width' and set 'Width' value = 20 (the value less than text width to make it visible letter by letter);
  11. close filter dialog;
  12. start Recording (actually, you may skip this step);
  13. delete '123' text from '1.txt' file and save changes (you'll get empty txt file);
  14. look at Studio's preview window (it blank);
  15. add '456' text to '1.txt' file and save changes;
  16. look at Studio's preview window (STILL blank);
  17. go to filters and disable (make invisible) Scroll filter;
  18. look at Studio's preview window (you'll see static '456' text);

Log file just in case: https://gist.github.com/f18174100bdf4bc0af66d519e693dcce

P.S. in recorded video text disappears too and doesn't return back.
 
Last edited:

ThatTromboneGuy

New Member
step by step guide to reproduce a bug:
  1. create the '1.txt' file in notepad with text '123';
  2. save text file;
  3. run OBS Studio;
  4. add 'Text (FreeType 2)' source to scene;
  5. check 'Read from file'
  6. point 'Text File (UTF-8 or UTF-16)' to your '1.txt' file;
  7. close 'Text (FreeType 2)' properties window with OK button;
  8. add filter Scroll to 'Text (FreeType 2)' source;
  9. set Horizontal Speed = 20;
  10. check 'Limit Width' and set 'Width' value = 20 (the value less than text width to make it visible letter by letter);
  11. close filter dialog;
  12. start Recording (actually, you may skip this step);
  13. delete '123' text from '1.txt' file and save changes (you'll get empty txt file);
  14. look at Studio's preview window (it blank);
  15. add '456' text to '1.txt' file and save changes;
  16. look at Studio's preview window (STILL blank);
  17. go to filters and disable (make invisible) Scroll filter;
  18. look at Studio's preview window (you'll see static '456' text);

Log file just in case: https://gist.github.com/f18174100bdf4bc0af66d519e693dcce

P.S. in recorded video text disappears too and doesn't return back.

Thanks for taking the time to write all that out. Hopefully that will help solve the issue.
 

ThatTromboneGuy

New Member
I do see a bug with the way empty text + filters are (not) rendered, but it shouldn't cause disappearing text permanently, only a graphical glitch, but I'm not really sure yet.

Hmm. Hopefully it can get figured out. Let me know if you have any luck with it!
 
Top