summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings
AgeCommit message (Collapse)Author
2023-01-12LibGUI: Port AbstractThemePreview::set_theme_from_file to Core::StreamKarol Kosek
2023-01-12LibCore+Userland: Make Core::Timer::create_repeating() return ErrorOrSam Atkins
The FIXMEs must flow!
2023-01-07LibGUI+Userland: Rename `try_load_from_gml()` -> `load_from_gml()` :^)Sam Atkins
It's the only one, so the `try` prefix is unnecessary now.
2023-01-07Userland: Replace all uses of `load_from_gml` with `try_load_from_gml`Sam Atkins
MOAR FIXMES! ;^)
2022-12-15LibThreading+Everywhere: Support returning error from `BackgroundAction`Lucas CHOLLET
This patch allows returning an `Error` from the `on_complete` callback in `BackgroundAction`. It also adds a custom callback to manage errors returned during its execution.
2022-12-14LibGfx+Userland: Make Gfx::SystemTheme propagate errorsCygnix Proto
This patch introduces error propagation to Gfx::SystemTheme to remove instances of release_value_but_fixme_should_propagate_errors(). Userland applications that have been affected by this change have been updated to utilise this propagation and as a result 4 such instances of the aforementioned method have been removed.
2022-12-06Everywhere: Rename to_{string => deprecated_string}() where applicableLinus Groh
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-12-04DisplaySettings: Remove unnecessary check for an overridden themeOsamu-kj
Issue discussed in #16290
2022-11-15Userland: Remove workarounds for LibIPC include order sensitivityTimothy Flynn
2022-11-01Everywhere: Mark dependencies of most targets as PRIVATETim Schumacher
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
2022-10-12Userland: Properly populate GENERATED_SOURCESAli Mohammad Pur
We previously put the generated headers in SOURCES, which did not mark them as GENERATED (and did not produce a proper dependency). This commit moves all generated headers into GENERATED_SOURCES, and removes useless header SOURCES.
2022-09-29AK+Everywhere: Replace "protocol" with "scheme" url helpersnetworkException
URL had properly named replacements for protocol(), set_protocol() and create_with_file_protocol() already. This patch removes these function and updates all call sites to use the functions named according to the specification. See https://url.spec.whatwg.org/#concept-url-scheme
2022-09-24LibEDID: Remove head index when retrieving an EDID from DisplayConnectorLiav A
We simply don't need that field anymore, as it was used when one FramebufferDevice could contain multiple framebuffers within it, each for a connected screen head.
2022-09-12Everywhere: Use my very shiny serenityos.org email :^)networkException
2022-08-24WindowServer+DisplaySettings: Capitalize display mode dropdownJames Bellamy
Every other dropdown in settings is capitalized apart from this one. This commit fixes that.
2022-08-16LibGUI+WindowServer+DisplaySettings: Add Tooltips to SystemEffectsthankyouverycool
Tooltips can now be toggled on and off system-wide.
2022-08-16DisplaySettings: Update Workspaces tab GMLthankyouverycool
Removes some verbiage and arranges things consistent with other settings dialogs. Ideally we shouldn't litter UIs with shortcuts, tips, tricks, self-evident or redundant descriptions, etc, so this can be refined again in the future once there's an official way to expose/ customize keyboard shortcuts.
2022-08-09DisplaySettings: Add an Effects tabthankyouverycool
Effects tab provides the UI for setting SystemEffects. DisplaySettings is getting a bit crowded and might need a re-org at some point, but this seems like a good home for effects while the settings mature.
2022-08-03DisplaySettings: Capitalize `s` in screen settingsFiliph Siitam Sandström
2022-08-01Userland+Base: Make the window titlebar font configurable separatelyAndreas Kling
Instead of defaulting to "bold variant of the system default font", let's allow the user to set any font they want as the titlebar font.
2022-07-23Userland: Remove stale remainders of old framebuffer devicesLiav A
2022-07-12Everywhere: Add sv suffix to strings relying on StringView(char const*)sin-ack
Each of these strings would previously rely on StringView's char const* constructor overload, which would call __builtin_strlen on the string. Since we now have operator ""sv, we can replace these with much simpler versions. This opens the door to being able to remove StringView(char const*). No functional changes.
2022-06-28LibGUI+Applications: Use the new layout system in the settings screensFrHun
2022-06-17DisplaySettings: Use IPC calls instead of current_system_theme helpernetworkException
2022-06-17DisplaySettings: Handle an override theme being activenetworkException
This patch updates the "Theme" tab to react to an override theme being set. The preview will reflect the override theme and the combo box will show no selection.
2022-06-17DisplaySettings: Update selected theme on changenetworkException
Previously the "Theme" tab in DisplaySettings would only reflect the current theme on startup and get out of sync when a theme would get selected using the taskbar menu.
2022-06-14DisplaySettings: Use absolute path for loading mouse settings iconnetworkException
This patch fixes DisplaySettings crashing when launching it from a non root working directory.
2022-05-25DisplaySettings: Link to cursor themes from "Themes" tabMacDue
This removes a few clicks to access the mouse settings and puts all theming actions in one place.
2022-05-13LibGUI+Userland: Make Dialog::ExecResult an enum classSam Atkins
2022-05-12DisplaySettings: Set window modified stateSam Atkins
2022-05-09DisplaySettings: Add 2256x1504 resolutionLinus Groh
This is a common resolution of laptops with a 3:2 aspect ratio, such as the Framework Laptop or Microsoft Surface Laptop.
2022-05-08DisplaySettings: Make the copy action copy the background path as urlKarol Kosek
Closes: #13907
2022-05-07DisplaySettings: Fix Clang build failure in ThemePreviewWidgetMacDue
2022-05-07DisplaySettings: Center preview with center_window_group_within()MacDue
2022-05-05Everywhere: Purge all support and usage of framebuffer devicesLiav A
Long live the DisplayConnector object!
2022-05-05DisplaySettings+WindowServer: Add support for display connector devicesLiav A
2022-04-21LibGUI+Applications: Add --open-tab option to FooSettings applicationsSam Atkins
Similar to SystemMonitor's option of the same name, this allows you to launch the given application with the specific tab open.
2022-04-21LibGUI+Applications: Give SettingsWindow tabs a string IDSam Atkins
This gives us a convenient way to refer to them, which will be used in the following commit.
2022-04-21WindowServer: Add the screen mode property in the screen configurationkleines Filmröllchen
This will allow us to change between a couple of properties, for now it's only Device and Virtual. (How about Remote :^) ) These get handled by a different screen backend in the Screen.
2022-04-09LibGfx: Move other font-related files to LibGfx/Font/Simon Wanner
2022-04-03DisplaySettings+WindowServer: Allow updating theme without backgroundBen Maxwell
With this change you can now set the theme and background color at the same time in the Display Settings. Before if both were changed before hitting 'apply' the theme background color would overwrite the custom background.
2022-04-03DisplaySettings: Stop theme tab from overriding background colorBen Maxwell
Fixes #13448
2022-04-02DisplaySettings: Add theme selection and previewMacDue
2022-02-25Userland: Rename WindowServerConnection=>ConnectionToWindowServerItamar
This was done with CLion's automatic rename feature.
2022-02-18Userland: Dynamically update the MonitorSettingsWidget countdown timerstijndr
This causes the number of seconds in "Do you want to keep the new settings? They will be reverted after 10 seconds." to be dynamically updated.
2022-02-16LibCore+Everywhere: Return ErrorOr from ConfigFile factory methodsSam Atkins
I've attempted to handle the errors gracefully where it was clear how to do so, and simple, but a lot of this was just adding `release_value_but_fixme_should_propagate_errors()` in places.
2022-02-15DisplaySettings: Include aspect ratio in resolution list textForLoveOfCats
2022-02-14Applications: Use default constructors/destructorsLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-02-14WindowServer+Userland: Pass wallpapers as `Gfx::Bitmap` instead of pathJames Puleo
The WindowServer _really_ does not need to know the filesystem path to it's wallpaper, and allows setting arbitrary wallpapers (those outside of `/res/wallpapers`). The GUI::Desktop will keep track of the path to the wallpaper (if any), and save it to config if desired (to be persisted). This avoids the need to `unveil` paths to the wallpaper, fixing #11158