Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I freaking hate WPF

I freaking hate WPF

Scheduled Pinned Locked Moved The Lounge
csharpwpfcomtoolsjson
13 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Christian Graus

    So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    G Offline
    G Offline
    GlobX
    wrote on last edited by
    #3

    Heisenburg?


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    L D 2 Replies Last reply
    0
    • C Christian Graus

      So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      S Offline
      S Offline
      Super Lloyd
      wrote on last edited by
      #4

      Give a try to http://videorendererelement.codeplex.com/[^] perhaps? And.. peace bro! ;P

      A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

      C 1 Reply Last reply
      0
      • G GlobX

        Heisenburg?


        Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #5

        I'm (un)certain you're right in principal

        MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

        1 Reply Last reply
        0
        • C Christian Graus

          So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #6

          Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.

          D M 2 Replies Last reply
          0
          • G GlobX

            Heisenburg?


            Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

            D Offline
            D Offline
            dave dolan
            wrote on last edited by
            #7

            +1

            1 Reply Last reply
            0
            • L Lost User

              Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.

              D Offline
              D Offline
              dave dolan
              wrote on last edited by
              #8

              10 to 1 it's flash. (I wouldn't know for sure.)

              C 1 Reply Last reply
              0
              • S Super Lloyd

                Give a try to http://videorendererelement.codeplex.com/[^] perhaps? And.. peace bro! ;P

                A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #9

                Thanks but we already have a DirectX one, it's the flicker and issues we had with that, that set me on this path.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                1 Reply Last reply
                0
                • D dave dolan

                  10 to 1 it's flash. (I wouldn't know for sure.)

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #10

                  It couldn't be WPF. The Silverlight control is far more complete ( although I'd suspect most porn sites had a system that worked before Silverlight existed, so why would they change it ? )

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                  1 Reply Last reply
                  0
                  • L Lost User

                    Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.

                    M Offline
                    M Offline
                    Mark_Wallace
                    wrote on last edited by
                    #11

                    _Josh_ wrote:

                    Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.

                    You're right, so I shall have to commence extensive research into how they do it.

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    L 1 Reply Last reply
                    0
                    • M Mark_Wallace

                      _Josh_ wrote:

                      Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.

                      You're right, so I shall have to commence extensive research into how they do it.

                      I wanna be a eunuchs developer! Pass me a bread knife!

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #12

                      Mark Wallace wrote:

                      You're right, so I shall have to commence extensive research into how they do it.

                      You better make a pot of coffee then

                      1 Reply Last reply
                      0
                      • C Christian Graus

                        So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?

                        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                        OriginalGriffO Offline
                        OriginalGriffO Offline
                        OriginalGriff
                        wrote on last edited by
                        #13

                        "I freaking hate WPF" Well, at least it doesn't suck, eh?

                        Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups