Bug 390921 - Full-screen applications launched outside of applications menu change system resolution
Summary: Full-screen applications launched outside of applications menu change system ...
Status: RESOLVED NOT A BUG
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.12.1
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 19:46 UTC by David
Modified: 2018-02-23 18:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2018-02-22 19:46:42 UTC
When launching a full-screen application that uses a resolution different from the one set in system setting by executing the executable file from Dolphin's terminal or from Konsole (e.g. './<file>'), the screen resolution is not restored to the value defined in the system settings after closing the application. When launching it from the Applications Menu, however, the screen resolution is restored.

Reproducible: always

Steps to reproduce:
-Install or download some application/game that works in full screen (e.g. 'freedoom', available in debian and ubuntu repositories).
-Open Dolphin.
-Go to the folder where the application's executable is.
-Execute the executable from Dolphin's terminal (press F4, then write ./<file>).
-If the application/game uses a resolution different from the one set in system settings (systemsettings5 -> Display and Monitor), change the resolution from within the application to something else.
-Close the application.
Comment 1 Sebastian Kügler 2018-02-23 11:10:58 UTC
You may not be running the same command, check your .desktop file what parameters it uses, make sure you run that command from the same environment.

This is not a source code, but a setup problem, so it doesn't make sense to track it as a software issue. I'm sorry if that sounds disappointing for you, but I'm looking at it from a developer point of view, and in that light, it's not a defect we can fix for you.

Thanks for the report, however!
Comment 2 David 2018-02-23 13:23:17 UTC
(In reply to Sebastian Kügler from comment #1)
> You may not be running the same command, check your .desktop file what
> parameters it uses, make sure you run that command from the same environment.
> 
> This is not a source code, but a setup problem, so it doesn't make sense to
> track it as a software issue. I'm sorry if that sounds disappointing for
> you, but I'm looking at it from a developer point of view, and in that
> light, it's not a defect we can fix for you.
> 
> Thanks for the report, however!

Nevertheless, isn't it a bug that an application changes the system resolution? It happens with all applications that I've tried, and also when the entry in the Applications Menu consists of manually adding an entry that points to the executable.
Comment 3 Sebastian Kügler 2018-02-23 16:37:58 UTC
I'd be at a loss why this would happen...
Comment 4 David 2018-02-23 18:26:15 UTC
(In reply to David from comment #2)
> (In reply to Sebastian Kügler from comment #1)
> > You may not be running the same command, check your .desktop file what
> > parameters it uses, make sure you run that command from the same environment.
> > 
> > This is not a source code, but a setup problem, so it doesn't make sense to
> > track it as a software issue. I'm sorry if that sounds disappointing for
> > you, but I'm looking at it from a developer point of view, and in that
> > light, it's not a defect we can fix for you.
> > 
> > Thanks for the report, however!
> 
> Nevertheless, isn't it a bug that an application changes the system
> resolution? It happens with all applications that I've tried, and also when
> the entry in the Applications Menu consists of manually adding an entry that
> points to the executable.

Sorry, from this comment, I meant to say: the resolution is NOT changed if I manually add an entry to the applications menu that just points to the executable AND then I launch it from the applications menu, whereas it does get changed when I launch the application by executing the very same executable file in a terminal.