Anonymous | Login | Signup for a new account | 2025-07-26 10:00 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0002420 | Zandronum | [All Projects] Suggestion | public | 2015-08-28 22:51 | 2016-02-29 21:45 | ||||||||
Reporter | Monsterovich | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | needs review | Resolution | open | ||||||||||
Platform | OS | Linux, I guess | OS Version | Any | |||||||||
Product Version | 3.0-beta | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002420: SDL implementation of alt+enter, alt+f4 and alt+tab | ||||||||||||
Description | This is my attempt to add these very useful controls. (windows has them by default!!!) I'd be happy to see them in the future zandronum versions if it's possible. 'https://bitbucket.org/Monsterovich/zandronum-new/commits/043027152a2409c59372b3c779b663e2107dba39 [^]' | ||||||||||||
Attached Files | |||||||||||||
![]() |
|
Torr Samaho (administrator) 2015-11-15 16:01 |
Would you mind posting a pull request for ZDoom with this? If ZDoom adds it, I can backport it to 3.0. |
Monsterovich (reporter) 2015-11-16 14:31 edited on: 2015-11-16 22:37 |
It's not possible, because the last zdoom revision has SDL 2.0 instead of 1.2 that already works with these controls. The problem is that SDL 2.0 uses fake fullscreen which makes these controls possible in Xorg, but it slows peformance down VERY VERY bad. See this'http://postimg.ru/img/2015-11/16/3nhak2wirhrycpf9a1fzg0p9i.png [^]' screenshot. I guess, we should stay at 1.2, because "new" doesn't always mean "better". I just added these controls for 1.2 like it is made in other games. (e.x. quake1-3 engine based games are using sdl 1.2) So, what should I do? |
Dusk (developer) 2016-02-06 01:22 |
And you're sure that you didn't just have cl_capfps on? |
Monsterovich (reporter) 2016-02-08 23:29 |
Eh. I tried to change that cvar already and I still have low fps in zdoom 2.8, this is an obvious SDL 2.0 issue. The new fullscreen is a true sort of crap. I "enjoyed" it. |
Monsterovich (reporter) 2016-02-08 23:37 |
This issue also happened with Doomsday and Alienarena (quake3 engine game) when they upgraded SDL to 2.0. Now it lags very hard in both. |
Torr Samaho (administrator) 2016-02-09 07:05 |
Did you report the issue at the ZDoom forum? According to the release log of ZDoom 2.8, they consider the move to SDL 2 to be a major improvement. |
Monsterovich (reporter) 2016-02-09 10:06 edited on: 2016-02-09 15:02 |
Quote to get answers like... Your CPU is just slow. Buy a new PC! I may try, but I predict their reaction to things like "%s works bad in zdoom". Especially, if no one cares about linux users. Quote According to the zdoom code, they just replaced 1.2 functions with 2.0, nothing more. There were no special reasons to move to SDL 2.0. May be it's because 2 > 1. I have to learn more info about SDL 2.0, but it seems like they just removed normal fullscreen. It's very bad. |
Monsterovich (reporter) 2016-02-09 11:18 edited on: 2016-02-09 16:54 |
UPDATE: In zdoom 2.8 they forced users to use SDL_WINDOW_FULLSCREEN_DESKTOP instead SDL_WINDOW_FULLSCREEN. I tried SDL_WINDOW_FULLSCREEN with "cl_capfps false" So.. - It works a bit faster, but I still have 60-65 fps vs 120 in zandronum. I don't like this "improvement". - It's fake fullscreen anyway. Yes, SDL devs removed normal fullscreen. - Alt+tab works (randomly) worse than in my patch for SDL1.2. - Alt+enter is not working at all. - And this'http://postimg.ru/img/2016-02/09/pmbjs6y9d1725bwjone27o3bs.jpg [^]' happens everytime. I don't want to discuss this SDL 2.0 drama here, please stay at SDL 1.2 where everything works fine. EDIT: 'http://forum.zdoom.org/viewtopic.php?f=1&t=50712&p=883540#p883540 [^]' |
Dusk (developer) 2016-02-09 17:53 |
This kind of really is your own fault for not reporting. Now you see, for 4.0 we'll likely upgrade to 2.8 which upgrades to SDL to 2.0. So even if your patch was added we'd have to revert it anyway, so I'm tempted to just close this now. |
Torr Samaho (administrator) 2016-02-09 18:35 |
Quote from Monsterovich Unfortunately, we can't do both stay faithful to ZDoom in terms of modding features and pile up delta for things where we don't like what ZDoom is doing. Since the majority of users wants us to follow ZDoom, we'll have to switch to SDL 2.0 eventually. If switching from SDL 1.2 to 2.0 has such a drastic drawback, you should be able to convince the ZDoom devs to look for a solution. It goes without saying that you need to report this in a level-headed manner. Accusations won't get you anywhere. |
Monsterovich (reporter) 2016-02-10 10:14 edited on: 2016-02-10 10:19 |
Quote No. These people just want to get more USEFUL features in the future versions. That's all. This doesn't mean that you should backport every crap from zdoom. Quote When they merge something in (g)zdoom, they don't even check the code quality, but you should do that. I know about this since my friend wrote SWGL for GZDoom. Quote This is like talking with Graf Zahl about quake demos. It makes no sense. |
Torr Samaho (administrator) 2016-02-21 21:19 |
Quote from Monsterovich We can't cherry pick the ZDoom changes. This will get unmaintainable. Can you provide some reference that confirms that SDL 2 only has "fake fullscreen", like you called it earlier? |
Monsterovich (reporter) 2016-02-21 22:35 edited on: 2016-02-21 22:39 |
Quote SDL wiki says that SDL_WINDOW_FULLSCREEN should work like "real" fullscreen, but actually it don't. It changes the screen resolution, but it works like SDL_WINDOW_FULLSCREEN_DESKTOP. My previous screenshot shows this:'http://postimg.ru/img/2016-02/09/pmbjs6y9d1725bwjone27o3bs.jpg. [^]' SDL_WINDOW_FULLSCREEN allows to draw everything behind the fullscreen window. Unlike SDL2 SDL1 in fullscreen mode eats all input on linux, but it works much faster than new. Plus you can write the custom controls for Alt+Tab and Alt+Enter like I did. I can't do anything to SDL2. The fullscreen code is already integrated in it and it's bugged. (see screenshot ^^^) SDL always was a mess. |
StrikerMan780 (reporter) 2016-02-22 00:44 |
Moving to SDL2 even if they just remapped the current functions is good not just because of something dumb like 2 > 1. SDL2 handles a lot of shit better than SDL1, and is oftentimes less buggy overall. |
Monsterovich (reporter) 2016-02-23 09:51 |
Quote I have more issues with SDL2 than with SDL1. |
Dusk (developer) 2016-02-23 10:01 |
We still need to decide what to do with the patch. We could apply it for Zandronum 3.0, and revert it for 4.0's SDL2 upgrade, or we could reject it now and close this ticket. |
Monsterovich (reporter) 2016-02-23 22:06 edited on: 2016-02-23 22:07 |
Quote Yes, this "upgrade". Seriously, why don't you understand that SDL2 just broke everything? You may merge my patch right now. |
Dusk (developer) 2016-02-23 22:25 edited on: 2016-02-23 22:26 |
If SDL2 broke everything, then why does it work just fine for me and everybody else? You only have yourself to blame for not reporting this in time. In fact, you can still take this to ZDoom if you're civil about it. Who knows, maybe a backportable fix can be made. |
Monsterovich (reporter) 2016-02-24 13:18 edited on: 2016-02-24 18:12 |
Quote Quote Who are these people? There are only 2.5 people who are playing zandro on linux. It just can't work for everybody. SDL2 vs SDL1 It's like you had 300 fps, and now you have 150. It works smoothly too, but it's not the same. I have 120 fps with SDL1 and I got 50-60 with SDL2. I see the difference. Quote "Monsterovich is an idiot. WON'T FIX." Actually, they don't care. |
Edward-san (developer) 2016-02-24 19:16 |
Quote from Monsterovich With no proof, your story goes poof. |
Monsterovich (reporter) 2016-02-25 13:57 |
Quote This issue is still not fixed. That's proof. |
Dusk (developer) 2016-02-25 14:20 |
Alright, enough of this argument. It's clear you cannot be reasoned with. Torr can add this patch if he wants it, and revert it for 4.0. That's all there is to here now. |
Torr Samaho (administrator) 2016-02-28 21:51 edited on: 2016-02-28 21:53 |
Quote from Monsterovich Did you ask the SDL devs about this? It's hard to believe that SDL2 is as bad as you claim. |
Monsterovich (reporter) 2016-02-29 21:45 |
Quote I can do that, but it works obviously like I said in my previous post. Quote I believed when some games moved to SDL2. |
Only registered users can voice their support. Click here to register, or here to log in. | |
Supporters: | Monsterovich Korshun |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2015-08-28 22:51 | Monsterovich | New Issue | |
2015-11-15 16:01 | Torr Samaho | Note Added: 0013807 | |
2015-11-15 16:01 | Torr Samaho | Assigned To | => Torr Samaho |
2015-11-15 16:01 | Torr Samaho | Status | new => feedback |
2015-11-16 14:31 | Monsterovich | Note Added: 0013824 | |
2015-11-16 14:31 | Monsterovich | Status | feedback => assigned |
2015-11-16 14:33 | Monsterovich | Note Edited: 0013824 | View Revisions |
2015-11-16 14:38 | Monsterovich | Note Edited: 0013824 | View Revisions |
2015-11-16 22:37 | Monsterovich | Note Edited: 0013824 | View Revisions |
2016-02-06 01:22 | Dusk | Note Added: 0014327 | |
2016-02-08 23:29 | Monsterovich | Note Added: 0014395 | |
2016-02-08 23:37 | Monsterovich | Note Added: 0014396 | |
2016-02-09 07:05 | Torr Samaho | Note Added: 0014398 | |
2016-02-09 10:06 | Monsterovich | Note Added: 0014399 | |
2016-02-09 11:18 | Monsterovich | Note Added: 0014400 | |
2016-02-09 11:20 | Monsterovich | Note Edited: 0014400 | View Revisions |
2016-02-09 11:30 | Monsterovich | Note Edited: 0014399 | View Revisions |
2016-02-09 14:58 | Monsterovich | Note Edited: 0014400 | View Revisions |
2016-02-09 15:02 | Monsterovich | Note Edited: 0014399 | View Revisions |
2016-02-09 16:28 | Monsterovich | Note Edited: 0014400 | View Revisions |
2016-02-09 16:53 | Monsterovich | Note Edited: 0014400 | View Revisions |
2016-02-09 16:54 | Monsterovich | Note Edited: 0014400 | View Revisions |
2016-02-09 17:53 | Dusk | Note Added: 0014403 | |
2016-02-09 17:53 | Dusk | Assigned To | Torr Samaho => |
2016-02-09 17:53 | Dusk | Status | assigned => new |
2016-02-09 18:35 | Torr Samaho | Note Added: 0014404 | |
2016-02-10 10:14 | Monsterovich | Note Added: 0014407 | |
2016-02-10 10:15 | Monsterovich | Note Edited: 0014407 | View Revisions |
2016-02-10 10:19 | Monsterovich | Note Edited: 0014407 | View Revisions |
2016-02-21 21:19 | Torr Samaho | Note Added: 0014470 | |
2016-02-21 22:35 | Monsterovich | Note Added: 0014472 | |
2016-02-21 22:37 | Monsterovich | Note Edited: 0014472 | View Revisions |
2016-02-21 22:39 | Monsterovich | Note Edited: 0014472 | View Revisions |
2016-02-22 00:44 | StrikerMan780 | Note Added: 0014473 | |
2016-02-23 09:51 | Monsterovich | Note Added: 0014478 | |
2016-02-23 10:01 | Dusk | Note Added: 0014479 | |
2016-02-23 22:06 | Monsterovich | Note Added: 0014483 | |
2016-02-23 22:07 | Monsterovich | Note Edited: 0014483 | View Revisions |
2016-02-23 22:25 | Dusk | Note Added: 0014486 | |
2016-02-23 22:26 | Dusk | Note Edited: 0014486 | View Revisions |
2016-02-24 13:18 | Monsterovich | Note Added: 0014489 | |
2016-02-24 13:25 | Monsterovich | Note Edited: 0014489 | View Revisions |
2016-02-24 18:12 | Monsterovich | Note Edited: 0014489 | View Revisions |
2016-02-24 19:16 | Edward-san | Note Added: 0014492 | |
2016-02-25 13:57 | Monsterovich | Note Added: 0014494 | |
2016-02-25 14:20 | Dusk | Note Added: 0014495 | |
2016-02-25 14:21 | Dusk | Status | new => needs review |
2016-02-28 21:51 | Torr Samaho | Note Added: 0014517 | |
2016-02-28 21:53 | Torr Samaho | Note Edited: 0014517 | View Revisions |
2016-02-29 21:45 | Monsterovich | Note Added: 0014519 |
Copyright © 2000 - 2025 MantisBT Team |