Ticket UUID: | e2e9ce70b2151e26ef430c05bac25dcb2db7a2ed | |||
Title: | Aqua: Retina-aware alternative to drawing into pixmaps | |||
Type: | RFE | Version: | 8.6.10 | |
Submitter: | chrstphrchvz | Created on: | 2020-04-13 15:18:58 | |
Subsystem: | 82. X11 Emulation | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Open | Last Modified: | 2020-08-09 16:11:01 | |
Resolution: | None | Closed By: | nobody | |
Closed on: | ||||
Description: |
As a workaround for the Tktable issue of improperly drawn cells with overflowing text on Aqua ([685ac30727]), the currently suggested workaround is to use However, a user that tried the Without With I believe this is because when To resolve this, it would seem that either Tk should make drawing to pixmaps "Retina-aware", or Tktable should avoid drawing to pixmaps (I'm not sure how or whether it can do so). There exist approaches for handling the underlying Can/should drawing into pixmaps be made Retina-aware, or is X11 compatibility the priority and this is won't-fix (at least for Tk 8.6)? | |||
User Comments: |
chrstphrchvz added on 2020-08-09 16:11:01:
It appears there already was an attempt to give pixmaps an associated scale factor: the pixelpower attribute. Although, the purpose of that appears more in the hope of supporting captures of windows from Retina displays rather than drawing offscreen at Retina resolution. But I've come to believe that Tk is obligated to remain compatible with existing X11 API usage in programs and extensions despite any limitations, and that attributes like pixelpower are non-solutions which break API/ABI compatibility and should possibly be reverted (although doing so means breaking the ABI again): [fcd6717d8b]. So I believe this ticket should be an RFE rather than a bug: it should focus on a new or alternative API for Retina-aware offscreen drawing, if such a feature is useful/desirable for programs. For Tktable specifically: I think offscreen drawing may not be strictly necessary, but also that any solution Tk Aqua provides will likely require at least a minor change made in Tktable. |
