View Issue Details

IDProjectCategoryView StatusLast Update
0005510The Dark ModCodingpublic30.04.2021 03:11
Reporterstgatilov Assigned Tocabalistic  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.09 
Target VersionTDM 2.10Fixed in VersionTDM 2.10 
Summary0005510: Avoid changing desktop resolution on Linux (as on Windows)
DescriptionFor a Linux player, TDM still changes desktop resolution on start.

It would be great to port recent FBO-related advancements from Windows side.
So that desktop resolution be never changed.
TagsNo tags attached.

Activities

cabalistic

cabalistic

24.04.2021 14:12

developer   ~0013905

Resolved with the switch to GLFW in revision 9310.
stgatilov

stgatilov

24.04.2021 14:49

administrator   ~0013907

I recall you wanted to return the desktop-resolution changing code back in order to "allow players do what they are used to do but should not".
Any plans on that?

As far as I understand, now both Windows and Linux never change desktop resolution.
cabalistic

cabalistic

24.04.2021 15:58

developer   ~0013908

Last edited: 24.04.2021 15:59

View 2 revisions

The new GLFW path for Linux can absolutely change the desktop resolution if you ask it to - unless you have selected borderless mode. It just defaults to the desktop resolution. And yes, I intend to restore that behaviour on the Windows side, too. I just wanted to get the Linux part out of the way first.

I will probably make borderless the default choice in the process and modify the GUI to disable the resolution selection if borderless is selected. Unless you have objections?
stgatilov

stgatilov

24.04.2021 16:12

administrator   ~0013909

No, I'm ok with it.
stgatilov

stgatilov

24.04.2021 16:20

administrator   ~0013910

For the reference, here is testing thread for the changes:
  https://forums.thedarkmod.com/index.php?/topic/20889-linux-testers-needed-new-window-management-and-input-handling/
stgatilov

stgatilov

30.04.2021 03:11

administrator   ~0013937

Related commits by Cabalistic:
  r9328. Restore fullscreen behavior to actually change the desktop resolution when requested
  r9329. Make borderless fullscreen the default choice

Issue History

Date Modified Username Field Change
27.01.2021 10:50 stgatilov New Issue
18.02.2021 15:40 stgatilov Assigned To => cabalistic
18.02.2021 15:40 stgatilov Status new => assigned
24.04.2021 14:12 cabalistic Status assigned => resolved
24.04.2021 14:12 cabalistic Resolution open => fixed
24.04.2021 14:12 cabalistic Fixed in Version => TDM 2.10
24.04.2021 14:12 cabalistic Note Added: 0013905
24.04.2021 14:49 stgatilov Note Added: 0013907
24.04.2021 15:59 cabalistic Note Added: 0013908
24.04.2021 15:59 cabalistic Note Edited: 0013908 View Revisions
24.04.2021 16:12 stgatilov Note Added: 0013909
24.04.2021 16:20 stgatilov Note Added: 0013910
30.04.2021 03:11 stgatilov Note Added: 0013937