unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Emacs's set-frame-size can not work well with gnome-shell?
@ 2020-01-22  8:04 tumashu
  2020-01-22  9:09 ` martin rudalics
  2020-01-22 15:55 ` Eli Zaretskii
  0 siblings, 2 replies; 12+ messages in thread
From: tumashu @ 2020-01-22  8:04 UTC (permalink / raw)
  To: Dmitry Gutov, martin rudalics, tumashu; +Cc: emacs-devel@gnu.org


>  > Unfortunately, I'm getting reports that the Lucid build is much slower
>  > than GTK at least for some others:
> 
> I can't comment on that.  I only have non-optimized Lucid builds here
> and they are much too slow to do anything with child frames at all.

Today I test lucid emacs again,  maybe the slowness is  posn-at-point

(benchmark 1000 '(posn-at-point (point)))

"Elapsed time: 0.684959s"

for posframe call posn-at-point


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Emacs's set-frame-size can not work well with gnome-shell?
@ 2020-01-10  2:34 tumashu
  2020-01-10  9:56 ` martin rudalics
  2020-01-16  9:18 ` martin rudalics
  0 siblings, 2 replies; 12+ messages in thread
From: tumashu @ 2020-01-10  2:34 UTC (permalink / raw)
  To: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]

Hello:


When I use child-frame with gnome-shell, I find that set-frame-size is very slow and can not resize at all.
Is it emacs's problem or gnome problem?


```
(defun open-test (buffer)
  (display-buffer-in-child-frame
   buffer '((child-frame-parameters
             . ((width . 40)
                (height . 10)
                (top . 50)
                (left . 50)
                )))))

(defun resize-test (frame)
  (set-frame-height frame 20))

(setq-local test-buffer (get-buffer-create "test child-frame"))
(setq-local test-frame (window-frame (open-test test-buffer)))

(resize-test test-frame)
```
The below links are relate infos of this problem:

1. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1733

2. https://github.com/tumashu/company-posframe/issues/17

3. https://github.com/tumashu/company-posframe/issues/2





[-- Attachment #2: Type: text/html, Size: 1765 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-01-23  0:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-22  8:04 Emacs's set-frame-size can not work well with gnome-shell? tumashu
2020-01-22  9:09 ` martin rudalics
2020-01-22 10:01   ` tumashu
2020-01-22 10:03   ` tumashu
2020-01-22 17:33     ` martin rudalics
2020-01-22 22:30       ` tumashu
2020-01-22 15:55 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2020-01-10  2:34 tumashu
2020-01-10  9:56 ` martin rudalics
2020-01-11  1:29   ` tumashu
2020-01-11  7:50     ` martin rudalics
2020-01-11 10:36       ` tumashu
2020-01-16  9:18 ` martin rudalics
2020-01-16  9:27   ` Dmitry Gutov
2020-01-16  9:44     ` martin rudalics
2020-01-16 10:12       ` Dmitry Gutov
2020-01-16 10:22         ` martin rudalics
2020-01-16 15:03           ` Dmitry Gutov
2020-01-16 18:33             ` martin rudalics
     [not found]               ` <15405719-d58d-44db-f1df-ad3bb272b2fc@yandex.ru>
     [not found]                 ` <aba0683f-466c-76cf-9024-e18bfc9fdc94@gmx.at>
2020-01-18  2:05                   ` Dmitry Gutov
2020-01-18  8:32                     ` martin rudalics
2020-01-20 13:37                       ` Dmitry Gutov
2020-01-20 15:57                         ` martin rudalics
2020-01-20 23:02                           ` Dmitry Gutov
2020-01-21  8:29                             ` martin rudalics
2020-01-21 12:11                               ` Dmitry Gutov
2020-01-21 16:12                                 ` martin rudalics
2020-01-21 22:26                                   ` Dmitry Gutov
2020-01-22  9:08                                     ` martin rudalics
2020-01-22 11:35                                       ` Dmitry Gutov
2020-01-22 13:18                                         ` tumashu
2020-01-22 17:35                                         ` martin rudalics
2020-01-22 22:40                                           ` tumashu
2020-01-23  0:21                                           ` Dmitry Gutov
2020-01-23  0:39                                             ` tumashu

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).