Read-only mirror of https://gitlab.gnome.org/GNOME/gnome-shell
2717ca9d08
StBoxLayout implements StScrollable, which, semantically, means that the StBoxLayout size may not match the minimum size reported by the layout manager. In this specific case, the layout manager by is a ClutterBoxLayout by default. For example: +--------------+ | Viewport | +------+--------------+-----------------+ | | | | | | | Content | | | | | +------+--------------+-----------------+ | | +--------------+ So, assuming that: - ContentSize = the minimum size of the content; - ViewportSize = the allocated size of the viewport; When allocating StBoxLayout, it must assume ViewportSize, but must pass ContentSize to the layout manager. That way, the children of StBoxLayout are correctly placed within it, even if it's bigger than ViewportSize. And here's the problem: right now, StBoxLayout assumes ViewportSize AND also passes it to layout manager. Commit 77c4c6b6d specifically exposed this bug by relying entirely on StBoxLayout to arrange the app and window icons. Fix that by using ViewportSize to allocate StBoxLayout itself, but passing ContentSize to the layout manager. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/153 |
||
---|---|---|
.settings | ||
browser-plugin | ||
data | ||
docs/reference | ||
js | ||
man | ||
meson | ||
po | ||
src | ||
subprojects | ||
tests | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.project | ||
config.h.meson | ||
COPYING | ||
gnome-shell.doap | ||
HACKING.md | ||
meson_options.txt | ||
meson.build | ||
NEWS | ||
README.md |
GNOME Shell
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience.
For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see the project wiki.
Bugs should be reported to the GNOME bug tracking system.
License
GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.