<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/tktable/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/tktable/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Nov 2020 14:34:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tktable/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#271 TableDisplay() is broken by default in X11</title><link>https://sourceforge.net/p/tktable/bugs/271/?limit=100#19d0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm not sure the Xft clipping bug in core Tk was ever reported; it still exists, so I have opened a ticket: &lt;a href="https://core.tcl-lang.org/tk/info/4476fd6144" rel="nofollow"&gt;https://core.tcl-lang.org/tk/info/4476fd6144&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Chavez</dc:creator><pubDate>Fri, 27 Nov 2020 14:34:11 -0000</pubDate><guid>https://sourceforge.net4c3593ad73721d9f89f019401351f0177a1c25bd</guid></item><item><title>#309 Visual artifacts in Tktable cells with MacOSX Cocoa tk</title><link>https://sourceforge.net/p/tktable/bugs/309/?limit=100#22e7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am now prompted to believe there were two separate issues: the one originally reported here, which may have been resolved by Tk at some point; and a new one which I believe was introduced in Tk Aqua 8.6.9. I likely unintentionally hijacked this ticket, as both issues have slightly similar descriptions, same steps for reproducing, and same &lt;code&gt;-drawmode slow&lt;/code&gt; workaround.&lt;/p&gt;
&lt;p&gt;The new issue will be resolved by Tk Aqua 8.6.11, which now has a working &lt;code&gt;XSetClipRectangles()&lt;/code&gt; implementation (https://core.tcl-lang.org/tk/info/b505e5f6a9). But in order to take advantage of it, Tktable must be recompiled with a tiny change (undefine &lt;code&gt;NO_XSETCLIP&lt;/code&gt; in tkTable.c; I am attaching a more complete patch provided to me by Marc Culler, a Tk Aqua developer). Once this is done, &lt;code&gt;-drawmode slow&lt;/code&gt; should no longer be used in order to avoid the fuzzy text observed on Retina displays.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Chavez</dc:creator><pubDate>Fri, 11 Sep 2020 21:02:13 -0000</pubDate><guid>https://sourceforge.net12f5065c5c6c190d14ce77570e7106775452b574</guid></item><item><title>#309 Visual artifacts in Tktable cells with MacOSX Cocoa tk</title><link>https://sourceforge.net/p/tktable/bugs/309/?limit=100#7b1c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Someone who reported this same issue &lt;a class="" href="https://groups.google.com/d/msg/comp.lang.tcl/6cA8zsvgEaM/-0ICboFtDQAJ" rel="nofollow"&gt;on comp.lang.tcl&lt;/a&gt; notices that the &lt;code&gt;-drawmode slow&lt;/code&gt; workaround causes fuzzy text when using a Retina display.&lt;/p&gt;
&lt;p&gt;Normal cells (not overflowing with text):&lt;br/&gt;
&lt;img rel="nofollow" src="https://i.imgur.com/pPsymzy.png"/&gt;&lt;/p&gt;
&lt;p&gt;Fuzzy cells when using &lt;code&gt;-drawmode slow&lt;/code&gt;:&lt;br/&gt;
&lt;img rel="nofollow" src="https://i.imgur.com/jGzpnbM.png"/&gt;&lt;/p&gt;
&lt;p&gt;I believe this is because &lt;code&gt;-drawmode slow&lt;/code&gt; causes the entire table to be drawn into a pixmap, but text and other content drawn into pixamps is being done at non-Retina (1x) scale, and so when the pixmap is drawn to the screen, it is magnified 200% and antialiased, resulting in fuzzy text. I have opened another Tk ticket for this: &lt;a href="https://core.tcl-lang.org/tk/info/e2e9ce70b2" rel="nofollow"&gt;https://core.tcl-lang.org/tk/info/e2e9ce70b2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Resolving this might mean that either Tk should make drawing into pixmaps "Retina-aware" (which I suspect there are issues with doing so), or Tktable should not draw into pixmaps (maybe there are issues with doing this as well).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Chavez</dc:creator><pubDate>Mon, 13 Apr 2020 15:30:48 -0000</pubDate><guid>https://sourceforge.netccd5c7e95d7287be6a806c484a941486c7f57550</guid></item><item><title>#309 Visual artifacts in Tktable cells with MacOSX Cocoa tk</title><link>https://sourceforge.net/p/tktable/bugs/309/?limit=100#e7b5</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have investigated this issue further and filed a Tk bug: &lt;a href="https://core.tcl-lang.org/tk/info/685ac3072790118c" rel="nofollow"&gt;https://core.tcl-lang.org/tk/info/685ac3072790118c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The problem is that, on Aqua, any cells with overflowing text will have their text erroneously appear behind the text of every later cell (i.e. a cell in a later column in the same row, or a cell in a later row) with overflowing text (unless &lt;code&gt;-drawmode slow&lt;/code&gt; is used). The problem is more clearly seen by overflowing a cell with whitespace or non-overlapping text:&lt;/p&gt;
&lt;p&gt;&lt;br/&gt;&lt;br/&gt;
&lt;img rel="nofollow" src="https://i.imgur.com/XVlIKT2.png"/&gt;&lt;img rel="nofollow" src="https://i.imgur.com/o6EMcGj.png"/&gt;&lt;br/&gt;
&lt;br/&gt;&lt;/p&gt;
&lt;p&gt;Examining the drawing code in &lt;code&gt;TableDisplay()&lt;/code&gt; (tkTable.c), the &lt;code&gt;clipWind&lt;/code&gt; pixmap is used when cells have overflowing text: the background and contents already drawn to the cell are copied into &lt;code&gt;clipWind&lt;/code&gt; using &lt;code&gt;XCopyArea()&lt;/code&gt; the text is then drawn into &lt;code&gt;clipWind&lt;/code&gt; and then only the text-containing portion of the cell is copied from &lt;code&gt;clipWind&lt;/code&gt; into &lt;code&gt;window&lt;/code&gt; using &lt;code&gt;XCopyArea()&lt;/code&gt;. The assumption is that existing contents of &lt;code&gt;clipWind&lt;/code&gt; are overwritten by the first &lt;code&gt;XCopyArea()&lt;/code&gt; for each cell that uses it, but this fails on Aqua, except for &lt;code&gt;-drawmode slow&lt;/code&gt;, where &lt;code&gt;window&lt;/code&gt; is a pixmap rather than the actual window (the pixmap gets copied to the actual window with &lt;code&gt;XCopyArea()&lt;/code&gt; after the entire table is drawn into it).&lt;/p&gt;
&lt;p&gt;So this would indicate &lt;code&gt;XCopyArea()&lt;/code&gt; is broken on Aqua, at least when the source is not a pixmap, which seems to likely be the case. When the source of an &lt;code&gt;XCopyArea()&lt;/code&gt; operation is an actual window rather than a pixmap, it relies on a known-broken function &lt;code&gt;TkMacOSXBitmapRepFromDrawableRect()&lt;/code&gt;, which as I understand it, is broken due to the limitation of there being no apparent way to read from a Mac window's "backing store" and get a bitmap or other representation of what has already been drawn so far; maybe the issue is unfixable without drastic changes to Tk.&lt;/p&gt;
&lt;p&gt;Some workarounds seem possible from Tktable. It could always use an approach similar to &lt;code&gt;-drawmode slow&lt;/code&gt; on Aqua (I'm not sure it's even perceptibly "slow" compared to the other drawing modes on Aqua). Another would be to recreate &lt;code&gt;clipWind&lt;/code&gt; for each cell that uses it (this might be the easiest change, since it only involves moving 2 statements). Another is to avoid using &lt;code&gt;XCopyArea()&lt;/code&gt; with &lt;code&gt;window&lt;/code&gt; as the source, by redrawing into &lt;code&gt;clipWind&lt;/code&gt; what is currently being copied into it, draw the text into &lt;code&gt;clipWind&lt;/code&gt;, and then only use &lt;code&gt;XCopyArea()&lt;/code&gt; to copy the result from &lt;code&gt;clipWind&lt;/code&gt; into &lt;code&gt;window&lt;/code&gt; (I have not had success with this approach; maybe there is a problem in &lt;code&gt;XCopyArea()&lt;/code&gt; even when the source is a pixmap). But I have not completely verified if any of these workarounds truly work, e.g. when using embedded windows.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Chavez</dc:creator><pubDate>Wed, 08 Apr 2020 08:50:02 -0000</pubDate><guid>https://sourceforge.net81c6b627545fd93082f491a7b1e855cb6bc4267e</guid></item><item><title>#309 Visual artifacts in Tktable cells with MacOSX Cocoa tk</title><link>https://sourceforge.net/p/tktable/bugs/309/?limit=100#1953</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This issue seems to still be present under Tk 8.6.9.1 (encountered by a user of Tcl::pTk::TableMatrix: &lt;a href="https://rt.cpan.org/Ticket/Display.html?id=129543" rel="nofollow"&gt;https://rt.cpan.org/Ticket/Display.html?id=129543&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Any updates on this? Is this an upstream Tk issue (was a ticket ever opened)?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Chavez</dc:creator><pubDate>Sun, 12 May 2019 11:33:34 -0000</pubDate><guid>https://sourceforge.net3dfb2c30a6c1867c16270e8497cdf14ed9eea77c</guid></item><item><title>#318 project status and documentation</title><link>https://sourceforge.net/p/tktable/bugs/318/?limit=25#060b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Yes - multiple columns&lt;br/&gt;
Yes - images in any cell, though done different from treeview&lt;br/&gt;
I think it has Py3 support (as part of tkinter?)&lt;br/&gt;
Screenshots are on the wiki.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Hobbs</dc:creator><pubDate>Tue, 20 Feb 2018 06:17:27 -0000</pubDate><guid>https://sourceforge.net4d85f911dcc6700c9c47386a1c45082de9e5e504</guid></item><item><title>project status and documentation</title><link>https://sourceforge.net/p/tktable/bugs/318/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;What is the current status of the project?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Can I have multiple columns?&lt;/li&gt;
&lt;li&gt;Can I use images in the columns - not only in the first one (like&lt;br/&gt;
   tkinter.Treeview is restricted)&lt;/li&gt;
&lt;li&gt;Python3 support?&lt;/li&gt;
&lt;li&gt;screenshots&lt;/li&gt;
&lt;li&gt;example code&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">buhtz</dc:creator><pubDate>Fri, 16 Feb 2018 13:01:23 -0000</pubDate><guid>https://sourceforge.netf20e6f6ca3a6555a71fd7f3b835c51d70e83ba45</guid></item><item><title>#300 TkTable version in man page is wrong (2.8), should be 2.10</title><link>https://sourceforge.net/p/tktable/bugs/300/?limit=25#b50e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Problem: bad man page&lt;/p&gt;
&lt;p&gt;New file for &lt;strong&gt;"tkTable.3tk.gz"&lt;/strong&gt; This file has been modified from package tk-table_2.10-3_amd64.deb.  In &lt;strong&gt;Ubuntu (various flavors) 16.04&lt;/strong&gt; the ".OP" was changed to ".OPP" possibly for some 'groff' conflict.  Also fixed the ".CS" line that was too long at the end of the file.&lt;/p&gt;
&lt;p&gt;Also attached a diff file for patching, if that is desired.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Ramsell</dc:creator><pubDate>Sun, 11 Jun 2017 15:34:31 -0000</pubDate><guid>https://sourceforge.neta15744cf04cb1a42e4feec0c96960f1a0fd2ccf1</guid></item><item><title>#317 Can I upload the wrapper library for tktable on PyPI?</title><link>https://sourceforge.net/p/tktable/bugs/317/?limit=25#9c5f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: to make it available on PyPI, it would probably be nice that as part of the eventual&lt;code&gt;pip install tktable&lt;/code&gt; also the original tktable is installed automatically, in case it isn't already in the user's system.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nelson</dc:creator><pubDate>Thu, 01 Sep 2016 13:53:29 -0000</pubDate><guid>https://sourceforge.net4f060c68024d6d7cf68b925f061bda1e1836e021</guid></item><item><title>Can I upload the wrapper library for tktable on PyPI?</title><link>https://sourceforge.net/p/tktable/bugs/317/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I've a uploaded the Python wrapper library for tktable on Github, so that people could obtain it more easily, since nowadays Github is highly used. I was wondering if there would be any problems in uploading this wrapper library to PyPI, in terms of license.&lt;/p&gt;
&lt;p&gt;Thanks for your support!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nelson</dc:creator><pubDate>Thu, 01 Sep 2016 13:51:47 -0000</pubDate><guid>https://sourceforge.net87b93de480a3817bc18729b1ed47f28d04fd73c2</guid></item></channel></rss>