MantisBT - Zandronum
View Issue Details
0002891Zandronum[All Projects] Bugpublic2016-10-13 22:542018-09-30 21:46
unknownna 
Torr Samaho 
lowtextalways
closedfixed 
3.0-beta 
3.03.0 
0002891: Some text is cut off with low resolutions in windowed mode with software renderer since 151228-1140
I noticed this when testing Edward-san's con_scaletext entry fix. For some reason, ever since 151228-1140, the window size is slightly smaller for any given resolution, resulting in some text being cut off. Earlier builds didn't have this issue.
See attached screenshot. Both builds used the same ini, with the resolution being set to 400x300, which is my default resolution for windowed mode when testing.
No tags attached.
png 151228-1140.png (65,521) 2016-10-13 22:54
/tracker/file_download.php?file_id=1943&type=bug
png

png 151004-2012.png (95,728) 2016-10-13 22:55
/tracker/file_download.php?file_id=1944&type=bug
png
Issue History
2016-10-13 22:54unknownnaNew Issue
2016-10-13 22:54unknownnaFile Added: 151228-1140.png
2016-10-13 22:55unknownnaFile Added: 151004-2012.png
2016-10-13 22:56unknownnaNote Added: 0015969
2016-10-13 23:19unknownnaNote Edited: 0015969bug_revision_view_page.php?bugnote_id=15969#r9716
2016-10-14 04:42WaTaKiDNote Added: 0015973
2016-10-14 07:47Edward-sanNote Added: 0015976
2016-10-14 07:47Edward-sanStatusnew => feedback
2016-10-14 08:29unknownnaNote Added: 0015977
2016-10-14 08:29unknownnaStatusfeedback => new
2016-10-14 08:30unknownnaSummarySome text is cut off with low resolutions in windowed mode since 151228-1140 => Some text is cut off with low resolutions in windowed mode with software renderer since 151228-1140
2016-10-14 08:57Edward-sanNote Added: 0015979
2016-10-14 08:57Edward-sanStatusnew => feedback
2016-10-14 08:57Edward-sanNote Edited: 0015979bug_revision_view_page.php?bugnote_id=15979#r9724
2016-10-14 09:08unknownnaNote Added: 0015980
2016-10-14 09:08unknownnaStatusfeedback => new
2016-11-21 07:34Torr SamahoNote Added: 0016239
2016-11-21 07:35Torr SamahoTarget Version => 3.0
2016-11-21 19:33Edward-sanNote Added: 0016263
2016-11-21 19:34Edward-sanStatusnew => feedback
2016-11-21 19:39Edward-sanNote Edited: 0016263bug_revision_view_page.php?bugnote_id=16263#r9888
2016-11-21 19:44Torr SamahoNote Added: 0016265
2016-11-22 02:14WaTaKiDNote Added: 0016281
2016-11-22 02:14WaTaKiDNote Edited: 0016281bug_revision_view_page.php?bugnote_id=16281#r9898
2016-11-22 07:09Torr SamahoNote Added: 0016284
2016-11-23 01:12WaTaKiDNote Added: 0016290
2016-11-23 07:11Torr SamahoNote Added: 0016295
2017-04-02 11:05Torr SamahoNote Added: 0017077
2017-04-02 11:05Torr SamahoAssigned To => Torr Samaho
2017-04-02 11:05Torr SamahoStatusfeedback => needs testing
2017-04-19 23:26CombinebobntNote Added: 0017234
2017-04-20 01:03Ru5tK1ngNote Added: 0017238
2017-04-20 01:03Ru5tK1ngStatusneeds testing => resolved
2017-04-20 01:03Ru5tK1ngResolutionopen => fixed
2017-04-20 01:03Ru5tK1ngFixed in Version => 3.0
2018-09-30 21:46Blzut3Statusresolved => closed

Notes
(0015969)
unknownna   
2016-10-13 22:56   
(edited on: 2016-10-13 23:19)
I forgot to mention that GZDoom 1.8.6 doesn't have this issue.

I wonder if this is a minor side-effect of switching over to VC++ 2015 with cmake.

(0015973)
WaTaKiD   
2016-10-14 04:42   
i wasnt able to reproduce the issue at first but i could once i switched to software

the official 151228-1140 beta (changeset: 4e5a837) can indeed reproduce the issue, but then unknownna's note got me curious so i built it using vs2005 and was unable to reproduce the issue

i even made 2 fresh clones afterwards and built 4e5a837 2 more times, once with cmake + vs2015 and once with vs2005, and the results were the same: issue is reproducable with the vs2015 build but not with the vs2005 build

thats all i have for now, but ill look more into it later
(0015976)
Edward-san   
2016-10-14 07:47   
If you can reproduce this with vs2015, can you check if it happens also with gzdoom 2.1 and 2.2 both in sw renderer (afair starting from 2.2 it is built with vs 2015)?
(0015977)
unknownna   
2016-10-14 08:29   
I'm unable to reproduce the issue in GZDoom 2.1.0 or 2.2.0.
(0015979)
Edward-san   
2016-10-14 08:57   
Sorry, but just to be sure enough, can you check if it happens with any version after gzdoom 2.0?

(0015980)
unknownna   
2016-10-14 09:08   
It doesn't happene in any of them. I tested the following versions:

* 2.0.05
* 2.1.0
* 2.1.1
* 2.2.2
(0016239)
Torr Samaho   
2016-11-21 07:34   
Does this still happen in'https://bitbucket.org/Torr_Samaho/zandronum-zdoom-sync [^]' ?
(0016263)
Edward-san   
2016-11-21 19:33   
(edited on: 2016-11-21 19:39)
Torr, can you make a new zdoom-sync build or did you already post it somewhere else?

[edit] unknownna, do you use specific 'Text scaling' options? If you change them, does it make any difference?

(0016265)
Torr Samaho   
2016-11-21 19:44   
The latest build I have at hand is this one. Since the problem is not even in GZDoom 2.0.05, this build should be new enough anyway.
(0016281)
WaTaKiD   
2016-11-22 02:14   
while the issue is not reproducable with the build torr linked, ive hit a snag trying to find the commit in the zdoom-sync repo that fixed it

trying to compile builds with cmake + vs2015 before changeset 3ce80d3 end in failure with a ton of errors, for example 'http://pastebin.com/Zqe99a6T [^]' which i got from trying to build changeset 4aede71

im assuming 'https://bitbucket.org/Torr_Samaho/zandronum-zdoom-sync/commits/7b90a18c2f77cd2500e562d7cd1e10376fb37a62 [^]' is whats fixing those errors, since changeset 3ce80d3 succeeds and 184b01f fails

i guess all i can do now is compile builds before the 3.0-151228-1140 beta and hope i can atleast find when it broke

(0016284)
Torr Samaho   
2016-11-22 07:09   
Quote from WaTaKiD

im assuming'https://bitbucket.org/Torr_Samaho/zandronum-zdoom-sync/commits/7b90a18c2f77cd2500e562d7cd1e10376fb37a62 [^]' [^] is whats fixing those errors, since changeset 3ce80d3 succeeds and 184b01f fails

Yes, I'd say so too. You should be able to transplant this changeset on top of the 4.0 revisions you'd like to compile with "hg transplant".

Quote from WaTaKiD

i guess all i can do now is compile builds before the 3.0-151228-1140 beta and hope i can atleast find when it broke

Did it actually ever work in Zandronum with VC++ 2015?
(0016290)
WaTaKiD   
2016-11-23 01:12   
Quote from "Torr Samaho"
Yes, I'd say so too. You should be able to transplant this changeset on top of the 4.0 revisions you'd like to compile with "hg transplant".


it took me a minute to find out that in tortoisehg its actually called graft, but yea that was most definitely very useful, especially being able to graft multiple at once instead of one at a time

unfortunately, as unsurprising as this may sound, im likely doing something wrong
ive compiled many builds from the 'zdoom-sync' repo, even going as far back as changeset 9c3b373 (with a few grafted changesets) which is "equivalent to gzdoom 1.8.6" and i was unable to reproduce the issue
however when i build that same changeset from the 'zandronum' repo (with just as many grafts), the issue is reproducable

so idk, maybe im just biting off more than i can chew here and trying to rush through or something

Quote from "Torr Samaho"
Did it actually ever work in Zandronum with VC++ 2015?


good question, for all i know, the issue came with vs2015 by default and was later fixed by g/zdoom when they switched to vs2015 and noticed it
but again, im messing something up somewhere because my results arent making sense
(0016295)
Torr Samaho   
2016-11-23 07:11   
Quote from WaTaKiD

it took me a minute to find out that in tortoisehg its actually called graft, but yea that was most definitely very useful, especially being able to graft multiple at once instead of one at a time

FYI, graft and transplant are actually two different mechanisms that do almost the same thing. Now that you mention graft, it's actually better suited for your case. I usually use transplant, since I mostly transfer changes from one repo to another, which graft cannot do, but is also not needed for you.

Quote from WaTaKiD

unfortunately, as unsurprising as this may sound, im likely doing something wrong
ive compiled many builds from the 'zdoom-sync' repo, even going as far back as changeset 9c3b373 (with a few grafted changesets) which is "equivalent to gzdoom 1.8.6" and i was unable to reproduce the issue
however when i build that same changeset from the 'zandronum' repo (with just as many grafts), the issue is reproducable

That's could be a very important observation. It sounds as if this is actually a Zandronum and not a ZDoom bug.

So you say Zandronum based on GZDoom 1.8.6 + some grafts shows the problem, but the latest Zandronum version from the zdoom-sync-branch does not? If so, it should be possible to find out when this was fixed in Zandornum by bisection, shouldn't it?
(0017077)
Torr Samaho   
2017-04-02 11:05   
I can reproduce the issue with the binaries in "ZandroDev3.0-151228-1140windows.zip", but it works fine for me in the last beta build. So looks like one of our other fixes has taken care of this already. Can somebody confirm that this works fine now?
(0017234)
Combinebobnt   
2017-04-19 23:26   
r170416-0710

looked at every options menu in software singleplayer 400x300, nothing looked bad like that screenshot so I guess it's good
(0017238)
Ru5tK1ng   
2017-04-20 01:03   
I also didn't encounter any issues with text cut off with the latest beta.