Project

General

Profile

Bug #2009

Taskbar doesn't scale itself and game world correctly in small display modes

Added by vermil about 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Defect
Target version:
-
Start date:
2015-04-02
% Done:

10%

Tags:

Description

On my 16:10 monitor, when I select a non 16:10 resolution in Dday, the taskbar doesn't appear to scale correctly and the game world has numerous missing materials around the edges.

640x480Shot.jpg (133 KB) 640x480Shot.jpg vermil, 2015-04-02 17:49

Associated revisions

Revision 252586f8 (diff)
Added by skyjake about 9 years ago

UI|libappfw: Scale UI smaller with small window sizes/resolutions

Since the UI style doesn't scale dynamically, we can apply a window
transformation to scale the window contents smaller if they wouldn't
fit properly in the window.

IssueID #2009

Revision a346281a (diff)
Added by skyjake about 9 years ago

UI|libappfw: Only allow UI downscaling on HiDPI displays

On a non-retina display, text would simply become unreadable. Better to use
the -dpi and -fontsize switches instead.

IssueID #2009

Revision bbe63d68 (diff)
Added by skyjake about 9 years ago

UI|libappfw: Scale UI smaller with small window sizes/resolutions

Since the UI style doesn't scale dynamically, we can apply a window
transformation to scale the window contents smaller if they wouldn't
fit properly in the window.

IssueID #2009

Revision 15b91f6f (diff)
Added by skyjake about 9 years ago

UI|libappfw: Only allow UI downscaling on HiDPI displays

On a non-retina display, text would simply become unreadable. Better to use
the -dpi and -fontsize switches instead.

IssueID #2009

History

#1 Updated by vermil about 9 years ago

The Taskbar doesn't appear to scale correctly at resolutions below 1024x768.

The edges of the game world don't appear to render correctly at 1024x768 or below when the renderer appearance menu is open. Progressively worse the lower the resolution goes.

#2 Updated by vermil about 9 years ago

To ramble some more; the second one looks like a bug, but I suppose the first one might be personal preference; option(s) to manually scale the size of the taskbar and the horizontal scale of the renderer appearance menu.

#3 Updated by skyjake about 9 years ago

Please attach a screenshot (or two) to clarify the issue.

#4 Updated by vermil about 9 years ago

A 640x480 screen resolution image at the start of Doom2 Map01, with the renderer appearance menu open, is attached.

#5 Updated by skyjake about 9 years ago

  • Subject changed from Taskbar doesn't scale it'self and game world correctly at non 16:10 resolutions to Taskbar doesn't scale itself and game world correctly at non 16:10 resolutions

Thanks for the screenshot, that issue is known (UI style doesn't scale at all with regard to display resolution).

What about the 16:10 aspect ratio, though? Any screenshot of that?

#6 Updated by vermil about 9 years ago

My apologies, I meant 16:9.

Certainly, the few non 4:3 resolutions below 1024x768 that my card allows, appear to render the game world without issue. But any 4:3 resolution below 1024x768 produces rendering errors as shown in my screenshot, that get progressively worse the lower the resolution is below 1024x768.

Though I have noted that Dday doesn't appear to have a fall back, i.e it reverts back to the previous resolution, if it for some reason offers an unsupported resolution that the user selects?

#7 Updated by skyjake about 9 years ago

  • Tags set to UI, TaskBar, Client
  • Category set to Defect
  • Status changed from New to In Progress
  • Assignee set to skyjake
  • Target version set to 1.15
  • % Done changed from 0 to 10

As a quick workaround, I tried scaling down the UI in very low resolutions like 640x480, however the quality of text became too low to be readable. This kind of scaling only works on HiDPI displays where one has more pixel information to work with.

What would be the motivation to use such a low resolution nowadays, though? Particularly with 1.15 introducing Pixel Doubling effects that make the game world more pixelated but allow keeping the UI sharp.

The issue where the game world is rendered in a glitchy way in a very tall viewport is a separate issue that's related to the handling of large Field of View angles.

#8 Updated by skyjake about 9 years ago

  • Target version deleted (1.15)

#9 Updated by skyjake about 9 years ago

  • Subject changed from Taskbar doesn't scale itself and game world correctly at non 16:10 resolutions to Taskbar doesn't scale itself and game world correctly in small display modes

#10 Updated by vermil about 9 years ago

Certainly, pixel doubling does reduce the motivation to use low resolutions (though I assume running the actual resolution, rather than pixel doubling to emulate it, would be less hardware intensive?).

It's more a case of it not looking professional if Dday can't display in every resolution it presents to the user in all cases; an extreme option would be for Dday not to display resolutions below X, if Deng team don't have interest in maintaining low resolutions.

On my computer, Dday also presents a low resolution my monitor doesn't support, which blanks my screen when selected. Hence my additional comment about Dday not appearing to have a fall back (i.e reverting back to the previous resolution) in such a case.

#11 Updated by skyjake about 9 years ago

vermil wrote:

running the actual resolution, rather than pixel doubling to emulate it, would be less hardware intensive?

Yeah it is a little less intensive to use a lower actual resolution, however on modern hardware the difference should be quite negligible.

The UI can support any font sizes and resolutions, however in practice the problem is that the UI widgets don't all yet support updating their style at runtime. So one can already manually use the -dpi and -fontsize options to scale down the UI to fit smaller resolutions.

On my computer, Dday also presents a low resolution my monitor doesn't support, which blanks my screen when selected. Hence my additional comment about Dday not appearing to have a fall back (i.e reverting back to the previous resolution) in such a case.

Well, Doomsday shows the modes that the operating systems tells are available. I assume you're using Windows, so I would guess the video driver and monitor settings don't completely match up with each other.

#12 Updated by skyjake almost 9 years ago

  • Priority changed from Normal to Low

#13 Updated by skyjake almost 8 years ago

  • Status changed from In Progress to Closed
Closing this as there are now several ways to rescale the UI:
  • Small scaling adjustments via the UI Settings dialog.
  • "-dpi" option that affects all UI rules.
  • "-fontsize" option for sizing text.

Also available in: Atom PDF