[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about üarent-frame changes
From: |
martin rudalics |
Subject: |
Re: Question about üarent-frame changes |
Date: |
Thu, 19 Sep 2024 10:10:11 +0200 |
User-agent: |
Mozilla Thunderbird |
> I'm saying that this scenario which you described:
>
>> Reparenting is useful because you can set up one child frame for some
>> special purpose, make it invisible when you don't need it, and move it
>> to another frame and make it visible there whenever you want to. On
>> GUIs, this approach has the advantage that you can avoid the (at least
>> here) costly process of setting up frame faces every time anew. Emacs
>> tooltips do that by default and I recall that showing a tooltip every
>> time incurred two entire GC cycles here.
>
> sounds not very useful to me on a TTY, because switching frames on a
> TTY will make the child frame invisible anyway. And why would I want
> to see a child of frame F1 when I display only frame F2?
Because the calling code may reparent the child frame from F1 to F2
whenever the user switches from frame F1 to frame F2. At least Po Lu
said that applications do such reparenting.
> So reparenting seems almost pointless on a TTY.
If the application asks for it, we'd have to decide what to do. Clone
the child frame in some way, for example, so that while there are two
physical child frames - one for F1 and one for F2 - the application sees
only one.
martin
- Re: Question about üarent-frame changes, (continued)
- Re: Question about üarent-frame changes, Gerd Möllmann, 2024/09/19
- Re: Question about üarent-frame changes, martin rudalics, 2024/09/19
- Re: Question about üarent-frame changes, Gerd Möllmann, 2024/09/19
- Re: Question about üarent-frame changes, martin rudalics, 2024/09/19
- Re: Question about üarent-frame changes, Gerd Möllmann, 2024/09/19
- Re: Question about üarent-frame changes, martin rudalics, 2024/09/19
- Re: Question about üarent-frame changes, Gerd Möllmann, 2024/09/19
- Re: Question about üarent-frame changes, Eli Zaretskii, 2024/09/19
- Re: Question about üarent-frame changes,
martin rudalics <=
- Re: Question about üarent-frame changes, Eli Zaretskii, 2024/09/19
- Re: Question about üarent-frame changes, Po Lu, 2024/09/19
- Re: Question about üarent-frame changes, Eli Zaretskii, 2024/09/19
- Re: Question about üarent-frame changes, martin rudalics, 2024/09/19
- Re: Question about üarent-frame changes, Eli Zaretskii, 2024/09/19
- Re: Question about üarent-frame changes, Gerd Möllmann, 2024/09/19
- Re: Question about üarent-frame changes, Po Lu, 2024/09/19