<p>Scenario 1:</p>
<ol>
<li>Create a new offer to buy bitcoin for dollars</li>
<li>Put $600 in the "Amount in USD to spend" field</li>
<li>Set the "Below % from market price" field to 2%</li>
</ol>
<p>Result: The "Amount in USD to spend" has been changed to $588.<br>
Expected: The "Amount in USD to spend" should remain $600.</p>
<p>Scenario 2:</p>
<ol>
<li>Create a new offer to buy bitcoin for dollars</li>
<li>Put $600 in the "Amount in USD to spend" field</li>
<li>Set the "Fixed price in USD for 1 BTC" field to $100</li>
</ol>
<p>Result: The "Amount in USD to spend" has been changed to $50.<br>
Expected: The "Amount in USD to spend" should remain $600.</p>
<p>Scenario 3:</p>
<ol>
<li>Create a new offer to buy bitcoin for dollars</li>
<li>Put 0.5 BTC in the "Amount of BTC to buy" field</li>
<li>Set the "Fixed price in USD for 1 BTC" field to $1000.  The "Amount in USD to spend" field will be updated to read $500.</li>
<li>Put $600 in the "Amount in USD to spend" field</li>
</ol>
<p>Result: The "Amount in USD to spend" field will revert to reading $500.<br>
Expected: The "Amount in USD to spend" field will revert to reading $600 - the number you input.</p>
<p>Note that this behavior doesn't happen for all inputs. For example, if you delete a 0 in $500, it will update to $50.00. If you put in $50 it will revert. If you put in $50.00 it <em>won't</em> revert. The logic on this field is VERY broken. Please don't just try fixing this bug with a patchover. The code obviously needs refactoring so the logic is cleaner.</p>
<p>Scenario 4:</p>
<ol>
<li>Create a new offer to buy bitcoin for dollars</li>
<li>Put $600 in the "Amount in USD to spend" field</li>
<li>Put 0.05 BTC in the "Amount of BTC to buy" field</li>
</ol>
<p>Result: The "Fixed price in USD for 1 BTC" or "Below % from market price" remain empty.<br>
Expected: The "Fixed price in USD for 1 BTC" or "Below % from market price" should be updated so the equation is fulfilled (just like the  "Amount in USD to spend" field).</p>
<p>These fields just don't work intuitively or even correctly. Updating one part of the equation should update other parts of the equation, but it should anchor on the values the USER input, not on an arbitrary field.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/3050?email_source=notifications&email_token=AJFFTNUXES52U452V7M4DATQCUDWTA5CNFSM4IJCGR4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDFQRIA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTNOXR2ZRA3SQDLRSDQCUDWTANCNFSM4IJCGR4A">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNW4ZTOZEONJUCPDBUTQCUDWTA5CNFSM4IJCGR4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDFQRIA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/3050?email_source=notifications\u0026email_token=AJFFTNUXES52U452V7M4DATQCUDWTA5CNFSM4IJCGR4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDFQRIA",
"url": "https://github.com/bisq-network/bisq/issues/3050?email_source=notifications\u0026email_token=AJFFTNUXES52U452V7M4DATQCUDWTA5CNFSM4IJCGR4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDFQRIA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>