Desktop displays incorrectly after screen resize in KDE5 Plasma. KDE4 worked correctly












0















I have a dual monitor setup. Native resolution is 1920x1080. So the complete screen area is 3840x1080. I can set up this with System Settings in KDE or with xrandr. Works as expected.



For various reasons I want to scale the size of the screen. That is, have a larger frame buffer and then scale the screen. So everything on screen appears smaller.



I use an xrandr command for that:



xrandr --fb 4320x1215 --output HDMI-1 --scale 1.125x1.125 --pos 2160x0 --primary --output HDMI-2 --scale 1.125x1.125 


Note the total screen area is now 4320x1215 instead of 3840x1080.



This worked fine in KDE4.



In KDE5 using Plasma it does not work anymore. That is, the screen size IS 4320x1215 now. I can move my mouse through that area. I can move windows into that area. But the Plasma desktop does NOT resize to the new screen size. The task bar is stuck at the old position.



enter image description here



As you can see in the images, X knows the screen is larger now. I can shift windows below the task bar or right of the desktop area. But the desktop does not resize. It used to resize correctly in KDE4.



When I log out of KDE the screen size is set to 1920x1080 again. The two monitors show the same login screen. That is how it was in the past.



I did create a wallpaper with the full screen size 2160x1215, but KDE insists on scaling it to 1920x1080 anyway.



Any suggestions?










share|improve this question













migrated from stackoverflow.com Jan 26 at 2:36


This question came from our site for professional and enthusiast programmers.



















  • I see I did not add the Plasma version. It is very well hidden, but according to Debian it is kde-plasma-desktop 5.92

    – Hans Linkels
    Jan 25 at 16:57
















0















I have a dual monitor setup. Native resolution is 1920x1080. So the complete screen area is 3840x1080. I can set up this with System Settings in KDE or with xrandr. Works as expected.



For various reasons I want to scale the size of the screen. That is, have a larger frame buffer and then scale the screen. So everything on screen appears smaller.



I use an xrandr command for that:



xrandr --fb 4320x1215 --output HDMI-1 --scale 1.125x1.125 --pos 2160x0 --primary --output HDMI-2 --scale 1.125x1.125 


Note the total screen area is now 4320x1215 instead of 3840x1080.



This worked fine in KDE4.



In KDE5 using Plasma it does not work anymore. That is, the screen size IS 4320x1215 now. I can move my mouse through that area. I can move windows into that area. But the Plasma desktop does NOT resize to the new screen size. The task bar is stuck at the old position.



enter image description here



As you can see in the images, X knows the screen is larger now. I can shift windows below the task bar or right of the desktop area. But the desktop does not resize. It used to resize correctly in KDE4.



When I log out of KDE the screen size is set to 1920x1080 again. The two monitors show the same login screen. That is how it was in the past.



I did create a wallpaper with the full screen size 2160x1215, but KDE insists on scaling it to 1920x1080 anyway.



Any suggestions?










share|improve this question













migrated from stackoverflow.com Jan 26 at 2:36


This question came from our site for professional and enthusiast programmers.



















  • I see I did not add the Plasma version. It is very well hidden, but according to Debian it is kde-plasma-desktop 5.92

    – Hans Linkels
    Jan 25 at 16:57














0












0








0








I have a dual monitor setup. Native resolution is 1920x1080. So the complete screen area is 3840x1080. I can set up this with System Settings in KDE or with xrandr. Works as expected.



For various reasons I want to scale the size of the screen. That is, have a larger frame buffer and then scale the screen. So everything on screen appears smaller.



I use an xrandr command for that:



xrandr --fb 4320x1215 --output HDMI-1 --scale 1.125x1.125 --pos 2160x0 --primary --output HDMI-2 --scale 1.125x1.125 


Note the total screen area is now 4320x1215 instead of 3840x1080.



This worked fine in KDE4.



In KDE5 using Plasma it does not work anymore. That is, the screen size IS 4320x1215 now. I can move my mouse through that area. I can move windows into that area. But the Plasma desktop does NOT resize to the new screen size. The task bar is stuck at the old position.



enter image description here



As you can see in the images, X knows the screen is larger now. I can shift windows below the task bar or right of the desktop area. But the desktop does not resize. It used to resize correctly in KDE4.



When I log out of KDE the screen size is set to 1920x1080 again. The two monitors show the same login screen. That is how it was in the past.



I did create a wallpaper with the full screen size 2160x1215, but KDE insists on scaling it to 1920x1080 anyway.



Any suggestions?










share|improve this question














I have a dual monitor setup. Native resolution is 1920x1080. So the complete screen area is 3840x1080. I can set up this with System Settings in KDE or with xrandr. Works as expected.



For various reasons I want to scale the size of the screen. That is, have a larger frame buffer and then scale the screen. So everything on screen appears smaller.



I use an xrandr command for that:



xrandr --fb 4320x1215 --output HDMI-1 --scale 1.125x1.125 --pos 2160x0 --primary --output HDMI-2 --scale 1.125x1.125 


Note the total screen area is now 4320x1215 instead of 3840x1080.



This worked fine in KDE4.



In KDE5 using Plasma it does not work anymore. That is, the screen size IS 4320x1215 now. I can move my mouse through that area. I can move windows into that area. But the Plasma desktop does NOT resize to the new screen size. The task bar is stuck at the old position.



enter image description here



As you can see in the images, X knows the screen is larger now. I can shift windows below the task bar or right of the desktop area. But the desktop does not resize. It used to resize correctly in KDE4.



When I log out of KDE the screen size is set to 1920x1080 again. The two monitors show the same login screen. That is how it was in the past.



I did create a wallpaper with the full screen size 2160x1215, but KDE insists on scaling it to 1920x1080 anyway.



Any suggestions?







kde xrandr plasma-tv






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 25 at 16:45







Hans Linkels











migrated from stackoverflow.com Jan 26 at 2:36


This question came from our site for professional and enthusiast programmers.









migrated from stackoverflow.com Jan 26 at 2:36


This question came from our site for professional and enthusiast programmers.















  • I see I did not add the Plasma version. It is very well hidden, but according to Debian it is kde-plasma-desktop 5.92

    – Hans Linkels
    Jan 25 at 16:57



















  • I see I did not add the Plasma version. It is very well hidden, but according to Debian it is kde-plasma-desktop 5.92

    – Hans Linkels
    Jan 25 at 16:57

















I see I did not add the Plasma version. It is very well hidden, but according to Debian it is kde-plasma-desktop 5.92

– Hans Linkels
Jan 25 at 16:57





I see I did not add the Plasma version. It is very well hidden, but according to Debian it is kde-plasma-desktop 5.92

– Hans Linkels
Jan 25 at 16:57










1 Answer
1






active

oldest

votes


















0














I found a workaround, maybe even the solution. While I was looking for something else I stumbled onto this command:



kquitapp5 plasmashell && kstart5 plasmashell


Which restarts the plasmashell (duh!). But all important, when it restarts it takes up the correct resolution.



Since I execute the xrandr commands in a shell script anyway it is easy to add these commands.



I guess KDE4 does more or less the same when it detects a different resolution or frame buffer size.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398630%2fdesktop-displays-incorrectly-after-screen-resize-in-kde5-plasma-kde4-worked-cor%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown
























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I found a workaround, maybe even the solution. While I was looking for something else I stumbled onto this command:



    kquitapp5 plasmashell && kstart5 plasmashell


    Which restarts the plasmashell (duh!). But all important, when it restarts it takes up the correct resolution.



    Since I execute the xrandr commands in a shell script anyway it is easy to add these commands.



    I guess KDE4 does more or less the same when it detects a different resolution or frame buffer size.






    share|improve this answer




























      0














      I found a workaround, maybe even the solution. While I was looking for something else I stumbled onto this command:



      kquitapp5 plasmashell && kstart5 plasmashell


      Which restarts the plasmashell (duh!). But all important, when it restarts it takes up the correct resolution.



      Since I execute the xrandr commands in a shell script anyway it is easy to add these commands.



      I guess KDE4 does more or less the same when it detects a different resolution or frame buffer size.






      share|improve this answer


























        0












        0








        0







        I found a workaround, maybe even the solution. While I was looking for something else I stumbled onto this command:



        kquitapp5 plasmashell && kstart5 plasmashell


        Which restarts the plasmashell (duh!). But all important, when it restarts it takes up the correct resolution.



        Since I execute the xrandr commands in a shell script anyway it is easy to add these commands.



        I guess KDE4 does more or less the same when it detects a different resolution or frame buffer size.






        share|improve this answer













        I found a workaround, maybe even the solution. While I was looking for something else I stumbled onto this command:



        kquitapp5 plasmashell && kstart5 plasmashell


        Which restarts the plasmashell (duh!). But all important, when it restarts it takes up the correct resolution.



        Since I execute the xrandr commands in a shell script anyway it is easy to add these commands.



        I guess KDE4 does more or less the same when it detects a different resolution or frame buffer size.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 25 at 20:43







        Hans Linkels





































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398630%2fdesktop-displays-incorrectly-after-screen-resize-in-kde5-plasma-kde4-worked-cor%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How do I know what Microsoft account the skydrive app is syncing to?

            When does type information flow backwards in C++?

            Grease: Live!