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. WPF Sucks!

WPF Sucks!

Scheduled Pinned Locked Moved The Lounge
wpfcsharpvisual-studioperformancequestion
36 Posts 20 Posters 3 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.
  • S Shog9 0

    Rama Krishna Vavilala wrote:

    4. Does not work everywhere properly aka Remote Desktops.

    That. ...Is a show-stopper for me. I've played with WPF briefly for a couple of personal, toy projects, but any desktop UIs i do for work must function over Citrix / Net Meeting / Remote Desktop.

    C Offline
    C Offline
    Chris Meech
    wrote on last edited by
    #15

    Reminds me of some early implementations of X-Windows on Unix. You'd move your mouse all around the screen and bring the network to it's knees as a several thousand mouse-move messages went down the wire for the server to process. :)

    Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

    1 Reply Last reply
    0
    • D Douglas Troy

      No, he didn't, it was supposed to be rendered using WPF, but ... well ... you get the idea ...


      :..::. Douglas H. Troy ::..
      Bad Astronomy |VCF|wxWidgets|WTL

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #16

      Precisely - it's a databinding quirk in WPF...

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      1 Reply Last reply
      0
      • R Rama Krishna Vavilala

        Ok this is the my second post on this topic as people are using my WPF Rocks! to post their rants. My aim is to get the good and the bad of WPFs. Why do you think WPF sucks? Here are my reasons:- 1. Of course it's no doubt that the top one would be the poor VS 2008 designer. (Again please don't post that the problems will be solved by Expression Blend that's not the point of this post), 2. XAML is verbose. 3. Poor performance. 4. Does not work everywhere properly aka Remote Desktops. Anything else?

        N Offline
        N Offline
        Nicholas Butler
        wrote on last edited by
        #17

        That the promised multithreading support did not make it to production was a shame. But the show stopper for me is the weak typing. The compiler cannot verify the magic strings in XAML which, having earned my spurs in Ada, seems like a step back to the stone ages to me. Nick

        ---------------------------------- Be excellent to each other :)

        1 Reply Last reply
        0
        • D Douglas Troy

          No, he didn't, it was supposed to be rendered using WPF, but ... well ... you get the idea ...


          :..::. Douglas H. Troy ::..
          Bad Astronomy |VCF|wxWidgets|WTL

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #18

          :laugh:

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          In testa che avete, signor di Ceprano?

          1 Reply Last reply
          0
          • T Todd Smith

            Why are people choosing WPF in the first place? What is selling them on it? Some specific demos? Promises of a better tomorrow :rolleyes:?

            Todd Smith

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #19

            It was a corporate mandate, not a personal choice on my part.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            N 1 Reply Last reply
            0
            • R Rama Krishna Vavilala

              Ok this is the my second post on this topic as people are using my WPF Rocks! to post their rants. My aim is to get the good and the bad of WPFs. Why do you think WPF sucks? Here are my reasons:- 1. Of course it's no doubt that the top one would be the poor VS 2008 designer. (Again please don't post that the problems will be solved by Expression Blend that's not the point of this post), 2. XAML is verbose. 3. Poor performance. 4. Does not work everywhere properly aka Remote Desktops. Anything else?

              D Offline
              D Offline
              Douglas Troy
              wrote on last edited by
              #20

              Admittedly, I have had little time and experience with WPF, however, I can list out the "suckage" I have encountered, in my short time with it: 0). Large XAML Windows, Controls, etc... crash VS without so much as an error message. I have this happen on two different machines, with various projects. I'd love to report it, but since I have no error message, well ... 1). Complex XAML won't even render in the VS editor; if it opens without crashing. 2). Slow. Slow slow slow slow slow. It's freak'in S-L-O-W in the IDE, slow outside the IDE, and even typing text in some of the controls renders ... SLOW. Ok, I've totally just killed that word, it's lost all meaning now. Frankly, it's so bad, what little WPF I have done, I do manually outside the IDE. 3). Build a WPF solution with no errors. Close studio, come back to that same solution, having no files changed in the solution what-so-ever. Run. Get dozens of XAML related namespace not found errors. The only "fix" is to rebuild the entire solution. Makes me want to stab myself in the forehead with a spork to relieve the pain in my brain that this causes; my company will no longer let me near the plastic utensils because of this. 4). Intellisense. Oh ... wait ... sorry ... there is none for XAML files. What they've done to us, is what drug dealers do: get us all hooked on using something, and then take it away. But unfortunately, there are no street vendors I can shell a bunch of money out to that can give me a FIX! Ok, now my eye's twitching. That's all I've got, it's making my brain hurt ... someone ... hand me a spork.


              :..::. Douglas H. Troy ::..
              Bad Astronomy |VCF|wxWidgets|WTL

              J 1 Reply Last reply
              0
              • D Douglas Troy

                Admittedly, I have had little time and experience with WPF, however, I can list out the "suckage" I have encountered, in my short time with it: 0). Large XAML Windows, Controls, etc... crash VS without so much as an error message. I have this happen on two different machines, with various projects. I'd love to report it, but since I have no error message, well ... 1). Complex XAML won't even render in the VS editor; if it opens without crashing. 2). Slow. Slow slow slow slow slow. It's freak'in S-L-O-W in the IDE, slow outside the IDE, and even typing text in some of the controls renders ... SLOW. Ok, I've totally just killed that word, it's lost all meaning now. Frankly, it's so bad, what little WPF I have done, I do manually outside the IDE. 3). Build a WPF solution with no errors. Close studio, come back to that same solution, having no files changed in the solution what-so-ever. Run. Get dozens of XAML related namespace not found errors. The only "fix" is to rebuild the entire solution. Makes me want to stab myself in the forehead with a spork to relieve the pain in my brain that this causes; my company will no longer let me near the plastic utensils because of this. 4). Intellisense. Oh ... wait ... sorry ... there is none for XAML files. What they've done to us, is what drug dealers do: get us all hooked on using something, and then take it away. But unfortunately, there are no street vendors I can shell a bunch of money out to that can give me a FIX! Ok, now my eye's twitching. That's all I've got, it's making my brain hurt ... someone ... hand me a spork.


                :..::. Douglas H. Troy ::..
                Bad Astronomy |VCF|wxWidgets|WTL

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #21

                If you'll come this way Mr. Troy, we have your little white room all prepared for you. And no, the pretty white jacket here comes free of charge! The straps, oh don't worry about those, they're just a fashion accessory...

                ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Oh

                D 1 Reply Last reply
                0
                • J Jim Crafton

                  If you'll come this way Mr. Troy, we have your little white room all prepared for you. And no, the pretty white jacket here comes free of charge! The straps, oh don't worry about those, they're just a fashion accessory...

                  ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Oh

                  D Offline
                  D Offline
                  Douglas Troy
                  wrote on last edited by
                  #22

                  Crayons damn-it! I want crayons! And a big box too, not those cheesy little 8 or 16 colors, I wan the full 64 or 128! ... and not those crappy wax ones like you get at restaurants that just irritate you because they don't actually draw anything, I want real Crayola's.


                  :..::. Douglas H. Troy ::..
                  Bad Astronomy |VCF|wxWidgets|WTL

                  J 1 Reply Last reply
                  0
                  • S Shog9 0

                    If I understand it correctly, the problem is that the original plan was to allow for a more efficient means of remote drawing (than simply rendering to a bitmap server-side and sending it across) when both client and server supported it... But it never really got tested/refined properly and was eventually dropped. I'm still holding out hope that this will all be working properly somewhere down the line (.NET 4 + We7en perhaps?). It sounds great, in theory. But everything i had hoped to use it for is well under development now, so...

                    R Offline
                    R Offline
                    Ray Cassick
                    wrote on last edited by
                    #23

                    In the future when everything is written to run via the browser and MS comes up with 'Windows Browser Edition' where the only thing you get is the IE browser that points to a server fro your experience this will go away :)


                    LinkedIn[^] | Blog[^] | Twitter[^]

                    1 Reply Last reply
                    0
                    • D Douglas Troy

                      Crayons damn-it! I want crayons! And a big box too, not those cheesy little 8 or 16 colors, I wan the full 64 or 128! ... and not those crappy wax ones like you get at restaurants that just irritate you because they don't actually draw anything, I want real Crayola's.


                      :..::. Douglas H. Troy ::..
                      Bad Astronomy |VCF|wxWidgets|WTL

                      J Offline
                      J Offline
                      Jim Crafton
                      wrote on last edited by
                      #24

                      Crayons are a version 2.0 feature. We do have some nice shiny things over here though....(snickers). Remember to breathe, think nice thoughts, and empoweralize yourself.

                      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Oh

                      D 1 Reply Last reply
                      0
                      • R Rama Krishna Vavilala

                        Ok this is the my second post on this topic as people are using my WPF Rocks! to post their rants. My aim is to get the good and the bad of WPFs. Why do you think WPF sucks? Here are my reasons:- 1. Of course it's no doubt that the top one would be the poor VS 2008 designer. (Again please don't post that the problems will be solved by Expression Blend that's not the point of this post), 2. XAML is verbose. 3. Poor performance. 4. Does not work everywhere properly aka Remote Desktops. Anything else?

                        E Offline
                        E Offline
                        Electron Shepherd
                        wrote on last edited by
                        #25

                        Rama Krishna Vavilala wrote:

                        Does not work everywhere properly aka Remote Desktops.

                        What does it do / not do that it shouldn't /should?

                        Server and Network Monitoring

                        J R 2 Replies Last reply
                        0
                        • J Jim Crafton

                          Crayons are a version 2.0 feature. We do have some nice shiny things over here though....(snickers). Remember to breathe, think nice thoughts, and empoweralize yourself.

                          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Oh

                          D Offline
                          D Offline
                          Douglas Troy
                          wrote on last edited by
                          #26

                          Jim Crafton wrote:

                          empoweralize yourself.

                          I tried that once, and took out the breaker boxes on the 1st, 2nd and 3rd floors. Unfortunately, even after all that, I didn't retain a charge for very long ... :rolleyes:


                          :..::. Douglas H. Troy ::..
                          Bad Astronomy |VCF|wxWidgets|WTL

                          1 Reply Last reply
                          0
                          • E Electron Shepherd

                            Rama Krishna Vavilala wrote:

                            Does not work everywhere properly aka Remote Desktops.

                            What does it do / not do that it shouldn't /should?

                            Server and Network Monitoring

                            J Offline
                            J Offline
                            Jim Crafton
                            wrote on last edited by
                            #27

                            Just a guess, but I would imagine that because of the way it renders things, with it's reliance on a DirectX based scenegraph things may not show up in RD. Also for text/font rendering WPF uses a completely separate display engine from the traditional GDI one that most of the rest of Windows uses. I would guess that also causes problems.

                            ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Oh

                            1 Reply Last reply
                            0
                            • T Todd Smith

                              Why are people choosing WPF in the first place? What is selling them on it? Some specific demos? Promises of a better tomorrow :rolleyes:?

                              Todd Smith

                              J Offline
                              J Offline
                              Judah Gabriel Himango
                              wrote on last edited by
                              #28

                              Data binding is huge. Extensibility beyond the OwnerDrawn junk in WinForms/Win32 UI programming is another boon. We're still using trusty old WinForms here at work, but we are planning to switch as the tools and APIs mature.

                              Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                              modified on Thursday, May 14, 2009 4:58 PM

                              M 1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                It was a corporate mandate, not a personal choice on my part.

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                N Offline
                                N Offline
                                NormDroid
                                wrote on last edited by
                                #29

                                Change jobs, you hate it period.

                                Software Kinetics - Moving software

                                1 Reply Last reply
                                0
                                • R Rama Krishna Vavilala

                                  Ok this is the my second post on this topic as people are using my WPF Rocks! to post their rants. My aim is to get the good and the bad of WPFs. Why do you think WPF sucks? Here are my reasons:- 1. Of course it's no doubt that the top one would be the poor VS 2008 designer. (Again please don't post that the problems will be solved by Expression Blend that's not the point of this post), 2. XAML is verbose. 3. Poor performance. 4. Does not work everywhere properly aka Remote Desktops. Anything else?

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

                                  1 - this is true 2 - this is very true 3 - this is somewhat true, but reality is needed. Rendering a video on a DirectX surface, costs more than doing it in media player. The end. 4 - It actually works fine with the latest version of GoToMeeting. The big one for me is memory usage. WPF leaks memory if you use a lot of images or videos, and there's no Dispose methods, so the only way to write a media heavy app that works in WPF is to bulldoze the GC regularly. The image resizing stuff is also very buggy, it destroys some images. I told MS this years ago, still no fix.

                                  Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                                  1 Reply Last reply
                                  0
                                  • E Electron Shepherd

                                    Rama Krishna Vavilala wrote:

                                    Does not work everywhere properly aka Remote Desktops.

                                    What does it do / not do that it shouldn't /should?

                                    Server and Network Monitoring

                                    R Offline
                                    R Offline
                                    Rama Krishna Vavilala
                                    wrote on last edited by
                                    #31

                                    In my case, I was demoing an app to clients over remote desktop. It was an informal demo and the app to demo was not on the machine so I rded into my work machine and tried to launch the application. It did not launch at all. However, other times it did launch well. To date I still don't know why it works sometimes and other times it does not. Of course, the other problem being it does not perform well on RD.

                                    1 Reply Last reply
                                    0
                                    • D DaveyM69

                                      This post is kind of pointless - but just wanted to say I'm glad you're trying to get a balanced view. I played with WPF when it first came out (in VS and Blend) and thought cool! Then I tried to do a real world utility app in it and after a few days of pulling my hair out I gave up as I could have finished it long ago in WinForms. If it is really the way we're going, then I'm quite happy to put in the time learning, but I've yet to be convinced that it's going to be here to stay and not dropped like a MS fad. I've followed the various posts over the last few weeks (silently) with great interest, and I'm hoping the way you've posed both your questions will bring out the real answers.

                                      Dave
                                      BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
                                      Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
                                      Why are you using VB6? Do you hate yourself? (Christian Graus)

                                      M Offline
                                      M Offline
                                      Mycroft Holmes
                                      wrote on last edited by
                                      #32

                                      Welcome to the fence, I've been down this track with MS so many times over the years only to see the technology "deprecated" that I'll stay here on the fence for a while. I can make winforms sit up and beg so I'll stick with that while my work is all data centric CRUD and reporting.

                                      Never underestimate the power of human stupidity RAH

                                      1 Reply Last reply
                                      0
                                      • J Judah Gabriel Himango

                                        Data binding is huge. Extensibility beyond the OwnerDrawn junk in WinForms/Win32 UI programming is another boon. We're still using trusty old WinForms here at work, but we are planning to switch as the tools and APIs mature.

                                        Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                                        modified on Thursday, May 14, 2009 4:58 PM

                                        M Offline
                                        M Offline
                                        Mycroft Holmes
                                        wrote on last edited by
                                        #33

                                        Ok so your still on the fence too, but with a plan. I'm following Pete's LOB work with interest and hoping the whole WPF thing stabilises or dissapears shortly.

                                        Never underestimate the power of human stupidity RAH

                                        1 Reply Last reply
                                        0
                                        • L leppie

                                          0. The font rendering is broken. (0 because that is the killer for me)

                                          xacc.ide
                                          IronScheme - 1.0 beta 3 - out now!
                                          ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                                          C Offline
                                          C Offline
                                          christhecoder
                                          wrote on last edited by
                                          #34

                                          This is a major issue for WPF, and I can't believe MS haven't fixed it in the 3+ years WPF has been available. Blurry unreadable fonts will never be accepted in serious applications. Some people tell me when I point it out in my own apps that they didn't really notice it, but it really stands out for me. A related issue is when you put a raster graphic (such as a png image) in your app (such as a 16x16 toobar button image) it gets completely destroyed (WPF blurs the image), and there's nothing you can do about it.

                                          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