all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: "7296@debbugs.gnu.org" <7296@debbugs.gnu.org>
Subject: bug#7296: display-pixel-height not enough
Date: Sat, 30 Oct 2010 20:59:24 +0200	[thread overview]
Message-ID: <AANLkTikZa7-9ZiHFr3VTXQBXfZ3wzWvzO0KZ03Gx7Sar@mail.gmail.com> (raw)
In-Reply-To: <7C6D3056-3E04-46E5-A731-A2E996197F03@swipnet.se>

On Sat, Oct 30, 2010 at 8:30 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:
>
>
> 30 okt 2010 kl. 19:41 skrev Lennart Borgman <lennart.borgman@gmail.com>:
>
>> On Sat, Oct 30, 2010 at 7:27 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:
>>>
>>>
>>> Lennart Borgman skrev 2010-10-30 16.05:
>>>>
>>>> On Sat, Oct 30, 2010 at 12:45 PM, Jan Djärv<jan.h.d@swipnet.se>  wrote:
>>>>>
>>>>>
>>>>> Lennart Borgman skrev 2010-10-30 11.25:
>>>>>>
>>>>>> On Sat, Oct 30, 2010 at 9:28 AM, Jan Djärv<jan.h.d@swipnet.se>    wrote:
>>>>>>>
>>>>>>> The bug does not include any explanation why the current situation is a
>>>>>>> problem or a use case that describes it.  So I don't know what this
>>>>>>> information is for.  If it is for making an Emacs frame as tall as it
>>>>>>> can
>>>>>>> be, that information is not it.
>>>>>>
>>>>>>
>>>>>> The Emacs frame can be partly hidden by the taskbar even when the
>>>>>> frame is the active w32 window if the height is set to the value
>>>>>> x-dsiplay-pixel-height (when for example the frame is aligned to the
>>>>>> top and the taskbar is at the bottom of the display), that is the
>>>>>> problem. Sorry if that was unclear.
>>>>>
>>>>> What package does this?
>>>>
>>>> Every function that tries to maximize just height will do it.
>>>
>>> I'd rather see that those functions let the window manager do the job, i.e.
>>> set fullscreen to fullheight.  I don't know if W32/Nextstep has something
>>> similar, but if they do, that is a better solution to implement.
>>
>>
>> Then please tell those that do the window managers this ;-)
>>
>> Maybe I am not explaining this very well since you said this. What the
>> window manager on w32 does is giving the size of the total display and
>> the work area of the display (through some API:s). We are currently
>> using the total display size. What we should do instead is using the
>> work area size. (I don't know if the total display size actually is
>> useful at all on w32 since it is not needed to maximize a window on
>> w32.)
>>
>> Can you please tell me what is unclear? (I of course expect similar
>> solutions on other platforms.)
>
> Emacs should refrain from trying to maximize frames itself, because it is not so simple as you state to just replace one height with another.

I never said something about using those values for maximizing a
frame. You simply do not do it that way on w32.

> I know that W32 has some mechanism to maximize a window without fiddling with height and width. You should check if there is a similar way to maximize just height by asking the system to do it.

I told how to do this earlier in this thread. Or did not that message reach you?

> It is why Emacs only does maximizing and fullscreen by delegering it to the window manager in X.

Yes, it should do it the same way on w32, but you can not do it for
just height or just width on w32. (But you can set height (or width)
to the same value as it is with a maximized window.)





  reply	other threads:[~2010-10-30 18:59 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 10:11 bug#7296: display-pixel-height not enough Lennart Borgman
2010-10-28 18:01 ` Eli Zaretskii
2010-10-28 20:39   ` Lennart Borgman
2010-10-29  7:59     ` Eli Zaretskii
2010-10-29  8:03       ` Lennart Borgman
2010-10-29 10:12         ` Eli Zaretskii
2010-10-29  8:42       ` Lennart Borgman
2010-10-29 10:13       ` Jan Djärv
2010-10-29 10:57         ` Eli Zaretskii
2010-10-29 12:28           ` Lennart Borgman
2010-10-29 13:15             ` Jan D.
2010-10-29 13:38               ` Lennart Borgman
2010-10-29 14:51                 ` Drew Adams
2010-10-29 16:53                 ` Jan Djärv
2010-10-29 17:37                   ` Stefan Monnier
2010-10-29 19:27                     ` Lennart Borgman
2010-10-29 19:59                     ` Jan D.
2010-10-29 16:24               ` Stefan Monnier
2010-10-29 19:57                 ` Jan D.
2010-10-29 20:05                   ` Lennart Borgman
2010-10-30  7:28                     ` Jan Djärv
2010-10-30  9:25                       ` Lennart Borgman
2010-10-30 10:45                         ` Jan Djärv
2010-10-30 14:05                           ` Lennart Borgman
2010-10-30 15:06                             ` Drew Adams
2010-10-30 15:14                               ` Lennart Borgman
2010-10-30 17:27                             ` Jan Djärv
2010-10-30 17:41                               ` Lennart Borgman
2010-10-30 18:30                                 ` Jan Djärv
2010-10-30 18:59                                   ` Lennart Borgman [this message]
2010-10-31 10:51                                     ` Jan Djärv
2010-10-31 12:46                                       ` Lennart Borgman
2010-11-01 11:37                                         ` Jan Djärv
2010-11-01 12:00                                           ` Lennart Borgman
2010-11-01 19:38                                             ` Jan Djärv
2010-11-01 20:26                                               ` Eli Zaretskii
2010-11-01 20:35                                                 ` Lennart Borgman
2010-11-01 21:11                                                 ` Jan Djärv
2010-11-01 21:40                                                   ` Eli Zaretskii
2010-11-02  1:09                                                     ` Jason Rumney
2010-11-02  4:01                                                       ` Eli Zaretskii
2010-11-02 13:25                                                         ` Jan D.
2010-11-02 14:53                                                           ` Eli Zaretskii
2010-11-02 16:10                                                             ` Lennart Borgman
2010-11-02 17:48                                                             ` Drew Adams
2010-11-02 17:54                                                             ` Jan Djärv
2010-10-31  3:47                                   ` Stefan Monnier
2010-10-31  4:13                         ` YAMAMOTO Mitsuharu
2010-10-31 10:46                           ` Lennart Borgman
2010-11-01  0:10                             ` YAMAMOTO Mitsuharu
2010-11-01  0:24                               ` Lennart Borgman
2010-11-01  0:56                                 ` YAMAMOTO Mitsuharu
2010-11-01  1:26                                   ` Lennart Borgman
2010-11-01  2:46                                     ` YAMAMOTO Mitsuharu
2010-11-01 10:20                                       ` Lennart Borgman
2010-11-01 11:40                                         ` Jan Djärv
2010-11-01 12:04                                           ` Lennart Borgman
2010-11-01 19:40                                             ` Jan Djärv
2010-11-02  3:45                                         ` YAMAMOTO Mitsuharu
2010-11-01  7:44                                     ` Jason Rumney
2010-11-01 10:12                                       ` Lennart Borgman
2010-11-01 15:09                                     ` Drew Adams
2010-11-01 18:08                                       ` Lennart Borgman
2010-11-02 14:24                                       ` Stefan Monnier
2010-11-02 15:24                                         ` Lennart Borgman
2010-11-02 17:17                                           ` Stefan Monnier
2010-10-31 10:53                           ` Jan Djärv
2010-11-02 18:24 ` Drew Adams
2015-01-03 18:46 ` martin rudalics
2015-02-13 18:29   ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikZa7-9ZiHFr3VTXQBXfZ3wzWvzO0KZ03Gx7Sar@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=7296@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.