[haiku-development] Re: SetZoomLimits

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 4 Sep 2018 08:02:45 +0200

On Mon, Sep 03, 2018 at 08:45:09PM +0000, Sean Healy wrote:

On Mon, 03 Sep 2018 09:55:51 -0700, looncraz <looncraz@xxxxxxxxxxxx> wrote:
Again, I'm not sure this inconsistent behavior should really be considered  
a bug. It's not going to be noticeable to the end user. So if it's not  
going to be considered a bug, I can fix my test to check either the actual  
width/height I passed in, or 1 pixel less than what I passed in, since I  
can't be sure what I'll get back.

It's confusing to developers, and has no purpose (there is no way to
pretend it's a feature, really). So let's just fix it.


(Well, I guess I could calculate the Deskbar and Screen size myself, and  
determine whether I'll get an odd number result for my Window size, and  
then I'd know whether to expect the exact size or 1 pixel less. But that  
seems overly complicated.)


It sounds easier to submit a patch which fixes the problem on Haiku
side, indeed.

-- 
Adrien.

Other related posts: