Reproduction instructions: 1. Choose an RTL UI (e.g. Arabic) 2. Create a new Calc document. 3. Select two adjacent cells (e.g. one below the other) 4. resize the window Expected result: Selected cells keep the same shading between steps 3 and 4, as well as a stronger-color surrounding rectangle. Actual result: The entire cell area is shaded in the color of the surrounding rectangle. Build info: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7ef1c437f30b0869a5b9fa33809bac2c6665ace3 CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: qt5 (cairo+xcb) Locale: en-IL (en_IL); UI: ar-SA Calc: CL threaded Seeing this also with gtk3 and gen VCL's. I suspect this might have something to do with the work on the active cell rectangle before 25.8 but I'm not sure. This doesn't happen with LO 25.2.4.3
Created attachment 201867 [details] A resized Calc 26.2 window, Arabic UI, with a selection
Created attachment 202127 [details] Before and after of cell selection I noticed weirdness in cell selection and bibisected with linux-64-26.2 to a7c39fb097435f5219ee8dc6ec3fec62b14ebd5b Allow changing ViewInformation2D in BaseProcessor2D I'm guessing it's the same issue as reported here.
I didn't need any RTL UI or resizing, though.
(In reply to Buovjaga from comment #2) > Created attachment 202127 [details] > Before and after of cell selection The "before" image looks like you've already selected a range of cells.
(In reply to Eyal Rozenberg from comment #4) > (In reply to Buovjaga from comment #2) > > Created attachment 202127 [details] > > Before and after of cell selection > > The "before" image looks like you've already selected a range of cells. Yes, before the causing commit and after it.
(In reply to Buovjaga from comment #5) > Yes, before the causing commit and after it. Ah, I thought you meant "before selection" and "after selection". At any rate - it's not clear to me your screenshot shows the same phenomenon I'm talking about; and I can't reproduce except with RTL UI. I'll attach a reference screenshot.
Created attachment 202136 [details] A resized Calc 26.2 window, English UI, with a selection (for reference) Compare this screenshot to the screenshot for an RTL UI, in attachment 201867 [details]. We only see the light shading of the selection - not the whole selection colored with the active cell border color.
(In reply to Eyal Rozenberg from comment #7) > Created attachment 202136 [details] > A resized Calc 26.2 window, English UI, with a selection (for reference) > > Compare this screenshot to the screenshot for an RTL UI, in attachment > 201867 [details]. We only see the light shading of the selection - not the > whole selection colored with the active cell border color. I can't repro, so let's treat it separately after all. I created bug 167768 Can you bibisect this issue you discovered?
(In reply to Buovjaga from comment #8) > Can you bibisect this issue you discovered? Not immediately, but: * It's not there with 25.2.5.2 nor with 25.8.0.2 . * I'm guessing it may have something to do with the active selection rectangle work from a few months back.
(In reply to Eyal Rozenberg from comment #9) > (In reply to Buovjaga from comment #8) > > Can you bibisect this issue you discovered? > > Not immediately, but: > > * It's not there with 25.2.5.2 nor with 25.8.0.2 . > * I'm guessing it may have something to do with the active selection > rectangle work from a few months back. I bet it's due to some lower level graphics refactoring, regardless of any interplay with the active selection work.