Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 61

Thread: Qt 5.1 To Feature Improved Support For Wayland

  1. #31
    Join Date
    Jul 2011
    Posts
    363

    Default

    Quote Originally Posted by smitty3268 View Post
    There is a way to tell that applications are not responding (or otherwise something like a busy cursor wouldn't be possible).

    It's entirely legal (and was proposed on the wayland list) for the compositor (Weston, KWin, etc.) to override the default appearance of the app in that case.

    That allows the compositor to stick custom menus, or draw it's own titlebar + buttons on top of the hung app, and the compositor is free to force close, minimize, help drag the window, etc. to it's hearts content.

    I don't have a link, but i'm sure you can google to find it if you want.
    I think it work something like that on windows. It works but at least on windows 7 it give some sort of alien feeling when the application misbehave. In linux today with client side yada a frozen application has a more native behaviour.

  2. #32
    Join Date
    Jan 2009
    Posts
    1,348

    Default

    Quote Originally Posted by smitty3268 View Post
    There is a way to tell that applications are not responding (or otherwise something like a busy cursor wouldn't be possible).
    Last time I looked they were supposed to be using polling to determine if windows were responsive or not (I believe this works the same way as in android).

  3. #33
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,053

    Default

    Quote Originally Posted by liam View Post
    Last time I looked they were supposed to be using polling to determine if windows were responsive or not (I believe this works the same way as in android).
    Yup, one of the worst techniques to do anything in computing.

    Just like sending commands is always better for network use than sending pixmaps (scraping pixels, VNC-style), polling is just about always the worst possible solution. But it's probably the only possible one, forced by Wayland's design, just like the pixel-scraping for networking (or the other proposition, per-toolkit thing which nobody will implement, or with which every toolkit will be incompatible with each other. Seriously, it's a huge advantage to have network support for *every* app by default, not just those compiled with toolkit foo.)

  4. #34
    Join Date
    Dec 2012
    Posts
    196

    Default

    Quote Originally Posted by curaga View Post
    Yup, one of the worst techniques to do anything in computing.

    Just like sending commands is always better for network use than sending pixmaps (scraping pixels, VNC-style), polling is just about always the worst possible solution. But it's probably the only possible one, forced by Wayland's design, just like the pixel-scraping for networking (or the other proposition, per-toolkit thing which nobody will implement, or with which every toolkit will be incompatible with each other. Seriously, it's a huge advantage to have network support for *every* app by default, not just those compiled with toolkit foo.)
    In Real Time Systems, where determinism is everything, polling is the preferred method and usually, as in safety critical systems, interrupts are forbidden.
    Last edited by newwen; 01-31-2013 at 10:21 AM.

  5. #35
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,053

    Default

    In RT systems your app is usually the only important thing on the whole system. So its efficiency and monopolizing the cpu doesn't matter there.

  6. #36
    Join Date
    Dec 2010
    Posts
    1,120

    Default

    Quote Originally Posted by smitty3268 View Post
    Please do some research. This is just plain false.
    I did research. Wayland will only allow to kill unresponsive apps, not allow to minimize them.

  7. #37
    Join Date
    Oct 2008
    Posts
    3,096

    Default

    Quote Originally Posted by Awesomeness View Post
    I did research. Wayland will only allow to kill unresponsive apps, not allow to minimize them.
    Link, or please explain why the simple process above won't work.

  8. #38
    Join Date
    Jan 2009
    Posts
    1,348

    Default

    Quote Originally Posted by curaga View Post
    Yup, one of the worst techniques to do anything in computing.

    Just like sending commands is always better for network use than sending pixmaps (scraping pixels, VNC-style), polling is just about always the worst possible solution. But it's probably the only possible one, forced by Wayland's design, just like the pixel-scraping for networking (or the other proposition, per-toolkit thing which nobody will implement, or with which every toolkit will be incompatible with each other. Seriously, it's a huge advantage to have network support for *every* app by default, not just those compiled with toolkit foo.)

    I wouldn't argue about polling being a bad idea in general but sending commands isn't the best way for dumb retinal situations. Additionally, I don't know how well sending 3d commands would work from a performance POV.

    I'm not sure polling is there only option. Heck I'm not sure they settled on it. Only that it seemed to be the path they were going to use first.


    Hopefully there will be an fdo proposal made for sending drawing instructions across networks for those who want it but I'm fine with sending diffs.

  9. #39
    Join Date
    Dec 2010
    Posts
    1,120

    Default

    Quote Originally Posted by smitty3268 View Post
    Link, or please explain why the simple process above won't work.
    I thought you were all so omniscient and yet do do not know that?
    Check the Wayland video from the last Xorg conference, you genius! Michael recorded the entire conference and the videos were heavily featured and yet you missed that?

  10. #40
    Join Date
    May 2010
    Posts
    165

    Default

    Quote Originally Posted by Awesomeness View Post
    I did research. Wayland will only allow to kill unresponsive apps, not allow to minimize them.

    ONLY kill unresponsive apps?
    The display server that would later be called Weston has supported moving frozen windows since at least 2010!
    http://www.youtube.com/watch?v=Cs9Ly...tailpage#t=67s

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •