You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "me2seeks (via GitHub)" <gi...@apache.org> on 2026/09/22 02:53:25 UTC

[I] bug(desktop): expanded deep-thinking content is clipped at the right edge [maka]

me2seeks opened a new issue, #5580:
URL: https://github.com/apache/maka/issues/5580

   ## What happened
   
   When a long `深度思考` disclosure is expanded in Desktop, the reasoning content can be clipped at the right edge instead of wrapping to the available width. In the session `WAF日志接入与字段映射配置`, the visible line ends at `and limiting it to support` while additional reasoning is not visible or readable.
   
   This is different from the newline-collapse problem fixed by #1938: the screenshot already shows multiple lines, but the expanded content is still clipped horizontally.
   
   ## How to reproduce
   
   1. Run Maka Desktop on a Windows host connected to an Ubuntu/WSL Desktop environment.
   2. Use the Command Code provider with a reasoning-capable model.
   3. Open the session `WAF日志接入与字段映射配置`.
   4. Find a long collapsed `深度思考` item and expand it.
   5. Observe the right edge of the expanded reasoning text.
   
   Expected:
   
   - The reasoning content wraps inside the available conversation width.
   - All generated reasoning remains readable without horizontal clipping.
   
   Actual:
   
   - The line is cut at the right edge; text after the visible `support` is not available in the expanded row.
   
   ## Environment
   
   - Maka baseline checked: `8bde344b18` (`origin/main`)
   - Host OS: Windows
   - Desktop environment: Ubuntu on WSL, with a GUI available
   - Surface: Maka Desktop/Electron
   - Provider/model: Command Code
   - Session: `WAF日志接入与字段映射配置`
   
   ## Logs, screenshots, or additional context
   
   - User-provided screenshot shows the clipped expanded `深度思考` row.
   - A local Desktop/Xvfb reproduction also confirmed that a long Markdown `pre/code` descendant keeps `white-space: pre` and has `scrollWidth` much larger than its reasoning container; the surrounding disclosure layer clips the overflow. The fix should preserve normal Markdown layout while making long reasoning content fit its owning width.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [I] bug(desktop): expanded deep-thinking content is clipped at the right edge [maka]

Posted by "me2seeks (via GitHub)" <gi...@apache.org>.
me2seeks commented on issue #5580:
URL: https://github.com/apache/maka/issues/5580#issuecomment-5770546699

   take


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [I] bug(desktop): expanded deep-thinking content is clipped at the right edge [maka]

Posted by "me2seeks (via GitHub)" <gi...@apache.org>.
me2seeks closed issue #5580: bug(desktop): expanded deep-thinking content is clipped at the right edge
URL: https://github.com/apache/maka/issues/5580


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [I] bug(desktop): expanded deep-thinking content is clipped at the right edge [maka]

Posted by "me2seeks (via GitHub)" <gi...@apache.org>.
me2seeks commented on issue #5580:
URL: https://github.com/apache/maka/issues/5580#issuecomment-5770571396

   Follow-up after source and renderer verification: this is the same process-disclosure width defect already fixed by merged PR #5561.\n\nEvidence on current  ():\n- With the #5561  constraint, the open disclosure body stays 792px wide.\n- Removing that declaration and adding a long unbreakable child widens the body to 16,128px; the reasoning content and Bash row then extend off-canvas and are clipped at the disclosure paint boundary.\n- The local  used for the report is , 12 commits behind , so it does not contain #5561.\n\nClosing this report as a duplicate of #5561; no additional code change or PR is needed upstream.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org