please apply this upstream patch into kde