Skip to content

Full-screen overlay #6

@joeytwiddle

Description

@joeytwiddle

Why? I use Fluxbox with the window focus mode: Mouse Focus (strict). That means whenever my mouse is over a window for more than 300 milliseconds, that window will be focused and raised to the front.

As a result, if my mouse is hovering over Albert, but then I type and Albert shrinks due to filtering, and now my mouse is hovering over the window behind Albert, then that window will gain keyboard focus!

So admittedly this is my fault for using Fluxbox's strict focus mode. But anyway, here are two ways that Albert could avoid that problem:

  1. Create a full-screen overlay behind Albert. If my mouse is not directly on the Albert list, it would be on Albert's overlay instead, so at least it won't focus the window behind Albert.

  2. Or, never shrink Albert's size: When the results list shortens, just leave a blank area.

Solution number 1 comes with a bonus feature: This overlay could also be used to darken everything on screen except for Albert, for those users who want to emphasise Albert as a modal. Conceptually, this is probably the same as just having a huge shadow. Here is an artist's impression:

albert_overlay_suggestion

Any additional behaviour should be optional, because some users want Albert to keep working how it does now.

(My current version: albert=0.11.1-1~webupd8~trusty0 from this ppa on Ubuntu 14.04. It is not easy to get the latest version compiled on this OS.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions