Skip to content

ement-room-image-show unconditionally sets fullscreen frame-parameter #223

@progfolio

Description

@progfolio

OS/platform

Arch linux

Emacs version and provenance

GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-09-20
From arch user repository.

Emacs command

emacs

Emacs frame type

GUI

Actions taken

  1. Customize display-buffer-alist to prevent ement images from displaying in a new frame:
  (add-to-list 'display-buffer-alist
               (cons "^\\*Ement image: "
                     (cons 'display-buffer-below-selected
                           '((inhibit-same-window . t)
                             (reusable-frames . nil)))))
  1. Invoke ement-room-image-show on an image in any room.

Results

The altered display-buffer-alist rule is obeyed, but the current frame is resized.

Expected results

The frame should retain it's dimensions.

Backtrace

No response

Etc.

ement.el @ commit: 52faf4a

In ement-room-image-show:

    (pop-to-buffer new-buffer '((display-buffer-pop-up-frame)))
    (set-frame-parameter nil 'fullscreen 'maximized)))

would it be possible to set the frame parameter as part of the ACTION argument to pop-to-buffer?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions