Re: move_panel not working with pads
Bill Gray <[email protected]> Mon, 15 Jun 2026 18:12:27 -0400
| Newsgroups | gmane.comp.lib.ncurses.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 6/15/26 16:56, Thomas Dickey wrote:
> On Mon, Jun 15, 2026 at 02:57:45PM -0400, Bill Gray wrote:
>> Hmmm... please post the test code you're using for this? Have you tried
>> it with PDCursesMod? (Its panel library is a near-total rewrite, but its
>> move_panel() does use mvwin() internally.)
>
> yes... a test-program is needed to see how it compares with the
> various implementations :-)
It occurs to me to wonder : is the panel library warranteed to work
if you feed it a pad (or subpad or sub-window) instead of a plain old
window? I've never tried it.
Is there a use case for calling new_panel( ) with a pad?
-- Bill
>> -- Bill
>>
>> On 6/15/26 14:20, Giorgos Xou wrote:
>>> move_panel internally uses mvwin, which doesn't work with pads (pdcurses
>>> seems to be affected by this as well). Maybe pnoutrefresh could be used
>>> internally for that specific case or some kind of an alternative new
>>> mvpad function?
>>>
>>> (It just happened that I was again looking deep into how panels work
>>> internally and just happened to stumble upon this issue.)
>>>
>>> *Cross-refs: *
>>> 3. ncurses 6.3 - patch 20211106 <https://github.com/mirror/ncurses/commit/f399f54c6c4ea2143afcbf704ce9af0be52b63fc>
>>> 2. hide_panel/show_panel not working with pads.
>>> <https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00037.html>
>>> 1. https://github.com/wmcbrine/PDCurses/issues/124
>>> <https://github.com/wmcbrine/PDCurses/issues/124>
>>
>>
>