Full brightness handle for brightness slider

I wonder if it would be possible to have an option for the circle of the brightness slider to always be at full brightness, no matter what the current global screen brightness is

The problem its supposed to solve is that usually, when leaving the house while the screen is at a very low brightness setting, i have a hard time seeing the brightness slider or anything at all on the screen in the sunlight

im not aware of any- or why not i have never seen a feature like this in a smartphone, even though its a very obvious solution. Theres probably a good reason though.

Does the community have any ideas or thoughts about this? Please, enlighten me.

Turn adaptive brightness control off in Display Settings.

You could use Owlfish for that. Set a relatively high brightness and extra dim only when it’s dark. Brightness will change automatically when you go outside.
See Owlfish – night light and extra dim all in one

1 Like

Thank you, but i have it off already. also, i dont know how that would help in the scenario mentioned.

Thanks for your idea, im going to check it out - but i expect it to not be for me or maybe even other users who just dont like automatic brightness controls.

So you want to permanently park the slider handle at maximum. That’s so wrong that i don’t know what to say.

Maybe you should have adaptive brightness on so that you don’t have this problem to start with?

i dont like the adaptive brightness control. it just never hits the spot for me. what exactly is so wrong about my suggestion? If you criticize the idea like that, at least give me the opportunity to understand or iterate on it please.

It is a slider handle - it is what you move to move the slider with.
(Yes, yes you can tap anywhere, but that’s what it represents).

Working around a problem you created yourself is bad - you could just choose not to have the issue in the first place. Or just find a bit of shade, or prepare - if you really insist on making problems for yourself.

its a -brightness- slider handle. if you think about, it doesnt make sense that you dont see it, if you actually could or should. dont take this personal - im just not convinced by your argumentation and its fine to have different opinions. but picture this: you slide down the top menu, and for a brief moment the brightnes slider handle gently glows up.

That’s perfectly fine.
I’m just very confused why you think anyone would care about your self-inflicted problem.

its just a qol thing id love to see. maybe even about acessibility. And im just posting and asking for opinions on the forums here to figure out whether its possible and if theres others who agree or not. the rethorics with the ā€œself inflicted problemā€ arent necessary - i absolutely inflict a lot of problems on myself all the time and thats pretty common id think.

1 Like

I think Attah misunderstood your idea (not the first time), but then again I don’t see how you expect a setting that affects the whole screen equally (brightness) to be made different for just part of it (the slider). Since no phone ever made does it, it must either be very difficult or else impossible.

2 Likes

I thought about this too, and it would need (trust me, I’m no programmer, so just waving generally in any direction here :slightly_smiling_face:) some UI component specific brightness setting. Would be a good option when it comes to accessibility, as @Pherbs85 mentioned. The manual mode in the brightness is quite low in lighter conditions, and then again the automatic brightness setting is too bright (when the default is the lowest value) in darker environment.

So, there’s either too low (manual, bright environment), or too bright (automatic, low light conditions). The automatic setting being too bright isn’t as big issue, because you can always tap the automatic mode off (and on again). But not seeing what you’re going to tap on the screen is a straight up accessibility issue.

So, a UI element to ā€œpop upā€ certain elements would indeed be useful in these kind of scenarios.

If I correctly understand, you propose functionality, when slide from top to show the settings menu , the screen goes to full brightness. When you close top menu, the behaviour is back to settings. This probably could be implemented. I never used Situations and similar apps, maybe already applicable?

Isn’t that something (LED) TVs can do? Selectively making certain areas of the screen brighter depending on what kind of image is shown, to improve - not quite sure what maybe perceived blackness of other, darker areas.

I imagine it would require very specialized access to the hardware, but it is something that exists.

If it were possible, you could make only the the slider show at full brightness, while the rest of the screen stays at normal level.

Maybe it could be tied to either volume buttons, or the fingerprint reader/power button. That sounds feasible.

Like, hold the finger on the fp reader for 5 seconds, brightness goes to full, release and it’s back to normal.

Just as a workaround for the problem (of going into direct sunlight) I’ve opted for the white ā€˜Ilmava’ ambience in my ambience favourites for outside usage.

All the proposed solutions seem to me just like workarounds. The real fix for this problem in my opinion would be that the automatic brightness behavior can be adjusted. Then you could make it so the automatically set brightness does fit your liking and the dark screen in bright area problem is gone.

3 Likes

Another solution would be a patch for multi finger brightness control like with the old volume control patches. WIth some chatgpt help, i got this:

unified_diff.patch

+++ b/usr/share/lipstick-jolla-home-qt5/compositor.qml
@@ -499,10 +499,58 @@
 
         enabled: !systemGesturesDisabled && largeScreen
         orientation: Lipstick.compositor.topmostWindowOrientation
         fingers: 3
         direction: MultiPointTouchDrag.Vertical
+    }
+
+    // Configurable multi-finger brightness gesture, separate from volume control.
+    ConfigurationGroup {
+        id: brightnessGestureConfig
+        path: "/desktop/lipstick-jolla-home/brightnessgesture"
+
+        property bool gestureEnabled: true
+        property int fingerCount: 3
+    }
+
+    DisplaySettings {
+        id: brightnessGestureDisplaySettings
+    }
+
+    MultiPointTouchDrag {
+        id: brightnessGestureItem
+
+        // On large screens, three fingers are reserved for the volume gesture.
+        enabled: root._displayOn && !root.systemGesturesDisabled
+                 && brightnessGestureConfig.gestureEnabled
+                 && (!root.largeScreen || brightnessGestureConfig.fingerCount === 4)
+        orientation: Lipstick.compositor.topmostWindowOrientation
+        fingers: brightnessGestureConfig.fingerCount === 4 ? 4 : 3
+        direction: MultiPointTouchDrag.Vertical
+
+        property real sensitivity: 2.0
+        property int startBrightness: 1
+
+        onActiveChanged: {
+            if (active)
+                startBrightness = brightnessGestureDisplaySettings.brightness
+        }
+
+        onDeltaChanged: {
+            if (!active)
+                return
+
+            var maximum = brightnessGestureDisplaySettings.maximumBrightness
+            if (maximum <= 1)
+                return
+
+            var target = Math.round(startBrightness + sensitivity * maximum * delta)
+            target = Math.max(1, Math.min(maximum, target))
+
+            if (brightnessGestureDisplaySettings.brightness !== target)
+                brightnessGestureDisplaySettings.brightness = target
+        }
     }
 
     function updateScreenOrientation() {
         if (orientationLock == "portrait") {
             screenOrientation = (sensorOrientation & Qt.PortraitOrientation)
--- a/usr/share/jolla-settings/pages/display/display.qml
+++ b/usr/share/jolla-settings/pages/display/display.qml
@@ -1,10 +1,11 @@
 import QtQuick 2.0
 import Sailfish.Silica 1.0
 import com.jolla.settings 1.0
 import com.jolla.settings.system 1.0
 import org.nemomobile.systemsettings 1.0
+import Nemo.Configuration 1.0
 
 Page {
     property alias displaySettings: displaySettings
 
     SilicaFlickable {
@@ -126,10 +127,35 @@
                          qsTrId("settings_display-la-brightness_base_level")
                        : //% "Brightness"
                          qsTrId("settings_display-la-brightness")
             }
 
+            // Persistent gesture settings shared with Lipstick's compositor.
+            TextSwitch {
+                id: brightnessGestureSwitch
+                automaticCheck: false
+                checked: brightnessGestureConfig.gestureEnabled
+                text: qsTr("Brightness gesture")
+                description: qsTr("Swipe up or down with multiple fingers to adjust brightness")
+                onClicked: brightnessGestureConfig.gestureEnabled = !checked
+            }
+
+            ComboBox {
+                id: brightnessFingerCombo
+                enabled: brightnessGestureConfig.gestureEnabled
+                label: qsTr("Number of fingers")
+                currentIndex: brightnessGestureConfig.fingerCount === 4 ? 1 : 0
+
+                menu: ContextMenu {
+                    // Only update persistent settings for a user selection,
+                    // not when currentIndex is initialized from the config.
+                    onActivated: brightnessGestureConfig.fingerCount = index === 1 ? 4 : 3
+                    MenuItem { text: qsTr("Three fingers") }
+                    MenuItem { text: qsTr("Four fingers") }
+                }
+            }
+
             /*
             TextSwitch {
                 automaticCheck: false
                 checked: displaySettings.lowPowerModeEnabled
                 //% "Sneak Peek"
@@ -224,10 +250,18 @@
                 }
             }
         }
     }
 
+    ConfigurationGroup {
+        id: brightnessGestureConfig
+        path: "/desktop/lipstick-jolla-home/brightnessgesture"
+
+        property bool gestureEnabled: true
+        property int fingerCount: 3
+    }
+
     DisplaySettings {
         id: displaySettings
 
         function timeoutIndex(value) {
             for (var i = 0; i < timeoutModel.count; ++i) { 

This adds a switch in the display settings to enable o disable gesture based brightness and a selection between 3 and for 4 fingers.

Since openrepos is read only i can not add this to the web catalog.

You’re talking about HDR. That requires the screen to have been specifically designed to support it. I don’t know if there are any phones with HDR screens, but they would presumably be expensive if they exist.