Bug 473893 - Hovering the mouse cursor on parts of the application menu does not highlight the menu (in one user)
Summary: Hovering the mouse cursor on parts of the application menu does not highlight...
Status: RESOLVED DUPLICATE of bug 450243
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: 5.27.7
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-29 12:49 UTC by SimplySand
Modified: 2023-09-12 15:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The mouse is on the application setting but the border is not highlighted (30.41 KB, image/png)
2023-08-29 12:49 UTC, SimplySand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SimplySand 2023-08-29 12:49:25 UTC
Created attachment 161261 [details]
The mouse is on the application setting but the border is not highlighted

SUMMARY
Hovering the mouse cursor on parts of the application menu does not highlight the menu.

STEPS TO REPRODUCE
1. Open KDE Application launcher.
2. Hover mouse on an application category.

OBSERVED RESULT
The application menu category is not highlighted.

EXPECTED RESULT
The application menu category should be highlighted with a border around it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.4.12-arch1-1
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
This issue seems to be happening in both X11 and Wayland Plasma sessions. I have two users on this system and this issue seems to not be happening on the other user. Compositor settings are default ("Force smoothest animations") in both users.
Comment 1 Nate Graham 2023-08-29 19:50:38 UTC
This is due to the triangle mouse filter we have implemented here; the net effect is to make it not always switch categories on hover because this would make the category switch accidentally when you move your cursor diagonally into the main view. To make it always switch categories on hover, move the mouse more vertically than diagonally.
Comment 2 SimplySand 2023-09-01 13:39:28 UTC
I believe this is a bug. The highlight persists across logouts. And, it does not show up even if I scroll vertically upwards or downwards.

The only way I was able to make the highlight return was by deleting the plasma-svgelements and plasma_theme_default_v5.109.0.kcache
files in ~/.cache/ folder. This does not seem to be intentional.
Comment 3 Nate Graham 2023-09-01 15:57:17 UTC
Ok, that would also make sense as a different issue. It would most likely be either Bug 448750 or Bug 450243.

Did you recently upgrade the system or switch from a different Plasma style?
Comment 4 August Wikerfors 2023-09-10 21:43:42 UTC
I also had this issue and could solve it by deleting `~/.cache/plasma-svgelements`. I then did a bisection of the file to find the culprit which turned out to be this section:

```
[/usr/share/plasma/desktoptheme/default/widgets/viewitem.svgz]
1453140548=149.98999679593442,89.26325999999995,48.02159224000002,4
1512821610=198.00000999999997,141.26330000000007,4,4
1631025021=149.99999996406558,141.26316000000008,48.02159224000002,4
2050632902=150,93.26324,48,48
2632459182=146,93.2473946204002,4,48.015719999999874
2884844610=198.00000999999997,93.26327075710401,4,48.00002719999975
3103348305=198,89.26325999999995,4,4
3570230456=146,141.26326000000006,4,4
510788432=146,89.24743999999987,4,4
Invalidelements=2589109529,682515743,3706998595,1958406670,4075293107,1980301697,3431642574,4274371856,1847725191,2618865315,1890297207,1677679986,2671664376,1458260536,3969488329,157283297,2710188526,1603390450,1172518423,3262351588,2007860278,1020683060,77454039,1763180896,1171037613,1248647059,2912243716,2592782827,1881683675,24305884,1799176840,4285607696,1596437084,854780324,2601952906,1859124578,1151750742,2042836810,2046109781,1247649513,1270450211,2724573885,1966350002,4279736337,2562863151,3107604869,4239039258,151906528,3706653060,537644919,673001060,3257239112,1255543198,3611971808,349992444,2597892943,351993083,74302960,1156840534,1257055087,2967941340,2599823948,2111083537,3666692977,1782473487,3137775216,1391976645,1062858384,3963465161,1323374494,4260163343,4018644923,4037245415,3902902692,1869248661,2037884401,63341078,1741582329,3447798142,574570295,3566240867,2207970714,2729277078,1164177310,1317301407,603379525,3432448522,2965974712,1171083540,3118613111,3110400467,127561088,4020244666,4051562214,1782937446,3907623424,1994756132,1015315511,1427861358,1881025496,34694804,1429039554,1064039732,2701763914,3140504433,154890290,1466824276,2565877643,3115337683,2584003919,1792231732,3424721368,3152271729,4249661930,338223687,1961261489,3058122494,477190397,1169800980,3906334628,1243532655,1810400256,1160975534,1153555287,3914832648,576768311,2715080417,355568723,2083658512,3145343171,3148993749,1986473088,1236666856,2604973451,3694293637,1463369812,2214038681,82398250,2845426141,2748326077,59794711,2927218531,1569152863,2556560161,3713014897,849414052,2208832153,2216668079,1273430820,562181833,79380950,676013080,575492136,1572160092,2492603464,3871512528,3752455918,1963128348,3311387354,4025852383,1891999963,884576922,3424819087,38074106,3754398701,4277868002,3750979053,1739323128,4087565847,3901425829,3280474597,3113667794,258287013,1320576515,3282451172,1256462970,1148471466,2905723729,1796537425,1230716373,4090307862,2632932770,3904049409,3914143927,4040261499,1141357026,1770360765,508218978,3701337221,1168016046,504781191,513332579,3966907835,2112318133,1109542165,1875435246,2621689762,1594509661,2691803452,4081897834,1241758696,1385823170,2996039141,852976293,40561686,1719270492,3898466759,1599611996,2717888494,1456251472,1955131570,1471372842,565729655,878927252,1808932111,544126070,2320218066,1381196656,3593752342,3005004243,443344041,2366620213,1267462735,757109560,161577696,1574686047,1993580160,3008013020,4087273238,1461705557,1565639913,3423305951,3725421499,333306634,2086725137,3909615361,3623806688,1774855791,1790893876,3616590305,2183759669,2913716487,509888355,2750134287,3615251204,9378127,3745849225,3428674520,1807488875,2723822527,652309691,1311832735,1233129356,1782848349,2958035820,1127069822,1253148817,1793650741,2395544248,1744322808,3679161207,2041167445,3290078018,4185118133,1245398126,346975995,4048522215,392449680,2744007602,2915531527,1238212683,2629121492,681357848,582927187,1259693603,3987454502,1168710264,3901058213,1856082019,74432470,1846805091,1765771375,2979073536,2568385916
LastModified=1692417838
NaturalSize_1=257,161
```

The minimal change needed to fix the problem seems to be to delete `3871512528` from `Invalidelements`. After restarting plasmashell the section is then changed to:

```
[/usr/share/plasma/desktoptheme/default/widgets/viewitem.svgz]
1274892082=41,141.46826,4,4.000299999999925
1453140548=149.98999679593442,89.26325999999995,48.02159224000002,4
1512821610=198.00000999999997,141.26330000000007,4,4
1631025021=149.99999996406558,141.26316000000008,48.02159224000002,4
1882812791=41,89.45302000000004,4,4.014979999999923
2050632902=150,93.26324,48,48
2313442839=45.00000096406558,141.46856000000014,48.02159224000002,4.000299999999925
2540470041=93.00000000000006,89.46800000000007,4,4.000299999999925
2632459182=146,93.2473946204002,4,48.015719999999874
2884844610=198.00000999999997,93.26327075710401,4,48.00002719999975
3103348305=198,89.26325999999995,4,4
3385099007=44.98999679593439,89.46800000000007,48.02159224000002,4.000299999999925
3480202028=93.00001000000003,93.46837075710414,4,48.00002719999975
3570230456=146,141.26326000000006,4,4
3871512528=45,93.46828000000005,48,48
418148642=93.00001,141.46839999999997,4,4.014979999999923
510788432=146,89.24743999999987,4,4
636575466=41,93.45249462040033,4,48.015719999999874
Invalidelements=1109542165,1385823170,1461705557,1847725191,1238212683,1782848349,4249661930,1808932111,2958035820,1731323950,1792231732,2568385916,2845426141,575492136,1603390450,1569152863,3706998595,3140504433,1171037613,3113667794,2618865315,1156840534,1168016046,82398250,1739323128,3428674520,3118613111,477190397,1245398126,74302960,1565639913,4277868002,69294084,1596437084,4239039258,3280474597,1233129356,4025852383,3290078018,757109560,4185118133,4020244666,9378127,1869248661,1317301407,504781191,3611971808,1955131570,3005004243,3262351588,2597892943,1471372842,2395544248,392449680,682515743,852976293,2601952906,3423305951,2207970714,1966350002,2604973451,3745849225,1890297207,1572160092,2492603464,1168710264,3706653060,3901058213,1846805091,4087273238,2621689762,2565877643,1270450211,1993580160,1463369812,652309691,77454039,2046109781,1021442690,2111083537,3752455918,127561088,333306634,1856082019,3257239112,3424721368,2599823948,34694804,2183759669,3566240867,518933909,3969488329,3701337221,2913716487,346975995,3679161207,3713014897,2083658512,3615251204,3431642574,1799176840,161577696,582927187,1236666856,603379525,1153555287,3750979053,40561686,1243532655,63341078,3909615361,258287013,1744322808,4060400964,1267462735,151906528,3907623424,3115337683,3963465161,1599611996,1782937446,2206102343,1980301697,2715080417,2216668079,1259693603,1148471466,2214038681,2729277078,1719270492,4040261499,1316917809,1793650741,878927252,3145343171,2717888494,338223687,1770360765,2584003919,1273430820,2037884401,2112318133,2723822527,1064039732,673001060,3987454502,1741582329,3287126586,2208832153,1677679986,1247649513,1807488875,1062858384,1796537425,2912243716,1790893876,3616590305,351993083,355568723,1458260536,1765771375,1986473088,3447798142,3311387354,2556560161,4018644923,1782473487,2701763914,1311832735,3966907835,1594509661,3152271729,2366620213,1141357026,2744007602,1763180896,2691803452,1994756132,79380950,1169800980,2748326077,1391976645,1881683675,537644919,157283297,4087565847,2710188526,2007860278,3901425829,1456251472,3107604869,4081897834,1248647059,2629121492,854780324,676013080,1875435246,443344041,349992444,576768311,1891999963,4044976981,4279736337,3666692977,1881025496,544126070,2927218531,4285607696,1859124578,1810400256,4075293107,1574686047,3904049409,4274371856,2086725137,3008013020,534303105,3058122494,1172518423,74432470,1381196656,2671664376,154890290,3282451172,2562863151,3137775216,1466824276,24305884,1160975534,2965974712,3898466759,509888355,2589109529,1253148817,2905723729,849414052,3914832648,1963128348,3902902692,884576922,1320576515,508218978,565729655,574570295,1230716373,2915531527,4260163343,1774855791,2979073536,2042836810,59794711,1958406670,4051562214,1127069822,2041167445,4048522215,38074106,3148993749,3432448522,681357848,3725421499,1323374494,1256462970,2724573885,2967941340,3914143927,3593752342,1151750742,562181833,2592782827,2320218066,1015315511,1245184954,2996039141,2086575815,3623806688,1020683060,1427861358,2632932770,1961261489,1255543198,1257055087,1164177310,1241758696,3754398701,4090307862,3906334628,513332579,3424819087,3694293637,1171083540,2750134287,3110400467,66906856,4037245415,1429039554
LastModified=1692417838
NaturalSize_1=257,161
```
Comment 5 Nate Graham 2023-09-11 16:53:04 UTC
Very impressive. That makes this a duplicate of Bug 450243.

*** This bug has been marked as a duplicate of bug 450243 ***
Comment 6 SimplySand 2023-09-12 15:01:29 UTC
(In reply to Nate Graham from comment #3)
> Ok, that would also make sense as a different issue. It would most likely be
> either Bug 448750 or Bug 450243.
> 
> Did you recently upgrade the system or switch from a different Plasma style?

I haven't changed my theme nor upgraded in a while. I updated my system to 5.27.8 today and didn't face such an issue either. This occured out of the blue.