Bug 446488 - In Wayland mode start menu is centered
Summary: In Wayland mode start menu is centered
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 5.23.3
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-12-04 18:27 UTC by Thomas Hoberg
Modified: 2022-02-13 04:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screen shot (222.35 KB, image/jpeg)
2021-12-04 18:27 UTC, Thomas Hoberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hoberg 2021-12-04 18:27:24 UTC
Created attachment 144218 [details]
screen shot

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Installed CentOS 8.5 on a clean VM from scratch, enabled epel-repos added full plasma desktop, switch to KDE Plasma login
2. Start menu button is at the default left bottom, but the menu opens at the center position, like Windows 11
3. logged out, switched to an X11 session
4. Start menu opens left above start button--the menu position changes between Wayland and X11!


OBSERVED RESULT
Start menu opens centered, far away from the the start button

EXPECTED RESULT
Start menu should open right above the start button on the left (or whereever it is)

Since this came so close after Windows 11 making the center menu a default, I was assuming this was actually intended as a "feature" and tried to find options to change it. After comparing with the X11 behavior, I am more inclined to believe it's an actuall bug.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.23.3
(available in About System)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
KVM machine running on oVirt, but same results on physical host
Comment 1 Nate Graham 2021-12-04 20:10:15 UTC
Well that's weird. Bug 444449 also had a case of the menu appearing in the center of the panel rather than at its correct position.
Comment 2 David Edmundson 2021-12-05 07:02:10 UTC
It's a bug,

Please include output of

WAYLAND_DEBUG=1 plasmashell --replace and recreating this issue
Comment 3 Thomas Hoberg 2021-12-09 14:19:38 UTC
(In reply to David Edmundson from comment #2)
> It's a bug,
> 
> Please include output of
> 
> WAYLAND_DEBUG=1 plasmashell --replace and recreating this issue

Ok, I tried. Hopefully the right stuff is included in here...

Just confirmed with an other fresh VM, Wayland vs. X11 is centered vs. left.

I also noticed that the "eth0" connected window, which is typically placed on the right (and will be placed there with X11), pops up in the middle with Wayland.

[1083937,183]  -> wl_surface@62.commit()
[1083937,186]  -> wl_display@1.sync(new id wl_callback@207)
[1083937,585] wl_display@1.delete_id(207)
[1083937,592] wl_display@1.delete_id(209)
[1083937,596] wl_callback@209.done(1569608)
[1083942,294] wl_pointer@20.motion(1569617, 312,000000, 1780,000000)
[1083942,306] wl_pointer@20.frame()
[1083950,539] wl_callback@207.done(1039)
[1083950,546] wl_buffer@211.release()
[1083950,664]  -> wl_surface@62.frame(new id wl_callback@209)
[1083950,673]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1083950,676]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1083950,689]  -> wl_surface@62.commit()
[1083950,691]  -> wl_display@1.sync(new id wl_callback@207)
[1083951,093] wl_display@1.delete_id(207)
[1083951,100] wl_display@1.delete_id(209)
[1083951,104] wl_callback@209.done(1569615)
[1083952,583] wl_pointer@20.motion(1569627, 348,000000, 1732,000000)
[1083952,594] wl_pointer@20.frame()
[1083973,322] wl_pointer@20.motion(1569638, 389,000000, 1683,000000)
[1083973,333] wl_pointer@20.frame()
[1083973,412] wl_callback@207.done(1039)
[1083973,418] wl_buffer@210.release()
[1083973,518]  -> wl_surface@62.frame(new id wl_callback@209)
[1083973,525]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1083973,528]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1083973,541]  -> wl_surface@62.commit()
[1083973,543]  -> wl_display@1.sync(new id wl_callback@207)
[1083978,077] wl_display@1.delete_id(207)
[1083978,084] wl_pointer@20.motion(1569647, 526,000000, 1497,000000)
[1083978,091] wl_pointer@20.frame()
[1083981,438] wl_pointer@20.motion(1569656, 569,000000, 1439,000000)
[1083981,449] wl_pointer@20.frame()
[1083984,350] wl_display@1.delete_id(209)
[1083984,359] wl_callback@209.done(1569653)
[1083984,404] wl_callback@207.done(1039)
[1083984,408] wl_buffer@211.release()
[1083984,520]  -> wl_surface@62.frame(new id wl_callback@209)
[1083984,529]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1083984,532]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1083984,557]  -> wl_surface@62.commit()
[1083984,560]  -> wl_display@1.sync(new id wl_callback@207)
[1083984,659] wl_display@1.delete_id(207)
[1083993,847] wl_display@1.delete_id(209)
[1083993,855] wl_pointer@20.motion(1569667, 662,000000, 1314,000000)
[1083993,861] wl_pointer@20.frame()
[1083993,866] wl_callback@209.done(1569661)
[1083998,094] wl_callback@207.done(1039)
[1083998,101] wl_buffer@210.release()
[1083998,197]  -> wl_surface@62.frame(new id wl_callback@209)
[1083998,204]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1083998,208]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1083998,220]  -> wl_surface@62.commit()
[1083998,222]  -> wl_display@1.sync(new id wl_callback@207)
[1083998,608] wl_display@1.delete_id(207)
[1083998,615] wl_display@1.delete_id(209)
[1083998,619] wl_callback@209.done(1569669)
[1084002,081] wl_pointer@20.leave(1040, wl_surface@31)
[1084002,091] wl_pointer@20.frame()
[1084021,460] wl_callback@207.done(1039)
[1084021,468] wl_buffer@211.release()
[1084021,567]  -> wl_surface@62.frame(new id wl_callback@209)
[1084021,573]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1084021,577]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1084021,589]  -> wl_surface@62.commit()
[1084021,591]  -> wl_display@1.sync(new id wl_callback@207)
[1084021,698] wl_display@1.delete_id(207)
[1084035,240] wl_display@1.delete_id(209)
[1084035,249] wl_callback@209.done(1569676)
[1084035,291] wl_callback@207.done(1041)
[1084035,295] wl_buffer@210.release()
[1084035,478]  -> wl_surface@62.frame(new id wl_callback@209)
[1084035,488]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1084035,491]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1084035,509]  -> wl_surface@62.commit()
[1084035,511]  -> wl_display@1.sync(new id wl_callback@207)
[1084035,598] wl_display@1.delete_id(207)
[1084040,559] wl_display@1.delete_id(209)
[1084040,567] wl_callback@209.done(1569710)
[1084047,147] wl_callback@207.done(1041)
[1084047,153] wl_buffer@211.release()
[1084047,280]  -> wl_surface@62.frame(new id wl_callback@209)
[1084047,288]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1084047,292]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1084047,305]  -> wl_surface@62.commit()
[1084047,307]  -> wl_display@1.sync(new id wl_callback@207)
[1084047,440] wl_display@1.delete_id(207)
[1084058,426] wl_display@1.delete_id(209)
[1084058,434] wl_callback@209.done(1569718)
[1084062,614] wl_callback@207.done(1041)
[1084062,621] wl_buffer@210.release()
[1084062,739]  -> wl_surface@62.frame(new id wl_callback@209)
[1084062,748]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1084062,752]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1084062,764]  -> wl_surface@62.commit()
[1084062,766]  -> wl_display@1.sync(new id wl_callback@207)
[1084073,676] wl_display@1.delete_id(207)
[1084073,681] wl_display@1.delete_id(209)
[1084073,684] wl_callback@209.done(1569735)
[1084079,372] wl_callback@207.done(1041)
[1084079,378] wl_buffer@211.release()
[1084079,488]  -> wl_surface@62.frame(new id wl_callback@209)
[1084079,496]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1084079,500]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1084079,513]  -> wl_surface@62.commit()
[1084079,515]  -> wl_display@1.sync(new id wl_callback@207)
[1084085,944] wl_display@1.delete_id(207)
[1084085,952] wl_display@1.delete_id(209)
[1084085,955] wl_callback@209.done(1569747)
[1084094,506] wl_callback@207.done(1041)
[1084094,514] wl_buffer@210.release()
[1084094,636]  -> wl_surface@62.frame(new id wl_callback@209)
[1084094,645]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1084094,648]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1084094,668]  -> wl_surface@62.commit()
[1084094,669]  -> wl_display@1.sync(new id wl_callback@207)
[1084095,563] wl_display@1.delete_id(207)
[1084116,076] wl_display@1.delete_id(209)
[1084116,084] wl_callback@209.done(1569780)
[1086219,915] wl_keyboard@3.key(1042, 1571887, 29, 1)
[1086219,944] wl_keyboard@3.modifiers(1043, 4, 0, 0, 0)
[1086925,961] wl_keyboard@3.key(1044, 1572591, 46, 1)
[1087019,978] wl_keyboard@3.key(1045, 1572695, 46, 0)
[1087219,990] wl_keyboard@3.key(1046, 1572895, 29, 0)
[1087220,008] wl_keyboard@3.modifiers(1047, 0, 0, 0, 0)
[1088387,987] wl_keyboard@3.leave(1049, wl_surface@123)
[1088388,003]  -> wl_data_offer@4278190102.destroy()
[1088388,057]  -> zwp_primary_selection_offer_v1@4278190101.destroy()
[1088388,064] zwp_text_input_v2@19.leave(1050, wl_surface@123)
[1088388,068] org_kde_plasma_window@375.state_changed(237312)
[1088388,072] org_kde_plasma_window@374.state_changed(237312)
[1088388,144] org_kde_plasma_window@195.state_changed(233217)
[1088388,364] org_kde_plasma_window@176.state_changed(233217)
[1088388,372] org_kde_plasma_window_management@58.stacking_order_changed(array)
[1088388,375] org_kde_plasma_window_management@122.stacking_order_changed(array)
[1088388,377] org_kde_plasma_window_management@58.stacking_order_uuid_changed("{06802d3d-ed86-4181-8f0c-3ec5c78bf4f7};{42512e63-2d09-4143-8be5-4ee52d089f74};{a3b5dc0d-f16a-4f38-9aaf-4d5d04386672};{fb4041dc-db0e-44b8-8229-44fee65e06fc};{dfab77ad-d5f5-437d-8b9f-c5bda0f0c3d9}")
[1088388,404] org_kde_plasma_window_management@122.stacking_order_uuid_changed("{06802d3d-ed86-4181-8f0c-3ec5c78bf4f7};{42512e63-2d09-4143-8be5-4ee52d089f74};{a3b5dc0d-f16a-4f38-9aaf-4d5d04386672};{fb4041dc-db0e-44b8-8229-44fee65e06fc};{dfab77ad-d5f5-437d-8b9f-c5bda0f0c3d9}")
[1088388,409] xdg_toplevel@360.configure(828, 524, array)
[1088388,413] xdg_surface@359.configure(1054)
[1088388,710] wl_callback@207.done(1041)
[1088388,716] wl_buffer@211.release()
[1088388,996]  -> wl_surface@62.frame(new id wl_callback@209)
[1088389,007]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1088389,011]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1088389,038]  -> wl_surface@62.commit()
[1088389,041]  -> wl_display@1.sync(new id wl_callback@207)
[1088389,068]  -> wl_display@1.sync(new id wl_callback@327)
[1088389,077]  -> xdg_surface@359.set_window_geometry(0, 0, 828, 524)
[1088389,083]  -> xdg_toplevel@360.set_min_size(828, 524)
[1088389,085]  -> xdg_toplevel@360.set_max_size(3840, 2160)
[1088389,087]  -> xdg_surface@359.ack_configure(1054)
[1088389,108]  -> org_kde_kwin_blur_manager@36.create(new id org_kde_kwin_blur@343, wl_surface@123)
[1088389,113]  -> wl_compositor@4.create_region(new id wl_region@324)
[1088389,116]  -> wl_region@324.add(0, 0, 827, 1)
[1088389,119]  -> wl_region@324.add(0, 1, 828, 523)
[1088389,123]  -> org_kde_kwin_blur@343.set_region(wl_region@324)
[1088389,125]  -> org_kde_kwin_blur@343.commit()
[1088389,130]  -> org_kde_kwin_contrast_manager@23.create(new id org_kde_kwin_contrast@329, wl_surface@123)
[1088389,133]  -> wl_compositor@4.create_region(new id wl_region@320)
[1088389,136]  -> wl_region@320.add(0, 0, 827, 1)
[1088389,139]  -> wl_region@320.add(0, 1, 828, 523)
[1088389,142]  -> org_kde_kwin_contrast@329.set_region(wl_region@320)
[1088389,144]  -> org_kde_kwin_contrast@329.set_contrast(0,199219)
[1088389,146]  -> org_kde_kwin_contrast@329.set_intensity(1,398438)
[1088389,148]  -> org_kde_kwin_contrast@329.set_saturation(10,000000)
[1088389,150]  -> org_kde_kwin_contrast@329.commit()
[1088389,206] wl_callback@380.done(1037)
[1088389,210] wl_buffer@379.release()
[1088389,582]  -> wl_surface@123.frame(new id wl_callback@370)
[1088389,591]  -> wl_surface@123.attach(wl_buffer@379, 0, 0)
[1088389,595]  -> wl_surface@123.damage(0, 0, 2147483647, 2147483647)
[1088389,609]  -> wl_surface@123.commit()
[1088389,611]  -> wl_display@1.sync(new id wl_callback@380)
[1088389,851] wl_display@1.delete_id(207)
[1088389,857] wl_display@1.delete_id(327)
[1088389,859] wl_display@1.delete_id(380)
[1088389,861] wl_callback@327.done(1055)
[1088389,949]  -> xdg_toplevel@360.destroy()
[1088389,953]  -> xdg_surface@359.destroy()
[1088389,959]  -> wl_surface@123.destroy()
[1088389,969]  -> org_kde_kwin_appmenu@358.release()
[1088389,975]  -> org_kde_kwin_shadow@365.destroy()
[1088390,053]  -> wl_buffer@379.destroy()
[1088390,058]  -> wl_buffer@372.destroy()
[1088391,311] wl_display@1.delete_id(360)
[1088391,318] wl_display@1.delete_id(359)
[1088391,321] wl_display@1.delete_id(370)
[1088391,322] wl_display@1.delete_id(123)
[1088391,324] wl_display@1.delete_id(358)
[1088391,325] wl_display@1.delete_id(365)
[1088391,327] wl_display@1.delete_id(379)
[1088391,328] wl_display@1.delete_id(372)
[1088391,330] org_kde_plasma_window@375.parent_window(nil)
[1088391,335] org_kde_plasma_window@374.parent_window(nil)
[1088391,337] org_kde_plasma_window@375.unmapped()
[1088391,340] org_kde_plasma_window@374.unmapped()
[1088391,357] org_kde_plasma_window_management@58.stacking_order_changed(array)
[1088391,360] org_kde_plasma_window_management@122.stacking_order_changed(array)
[1088391,362] org_kde_plasma_window_management@58.stacking_order_uuid_changed("{06802d3d-ed86-4181-8f0c-3ec5c78bf4f7};{42512e63-2d09-4143-8be5-4ee52d089f74};{fb4041dc-db0e-44b8-8229-44fee65e06fc};{dfab77ad-d5f5-437d-8b9f-c5bda0f0c3d9}")
[1088391,394] org_kde_plasma_window_management@122.stacking_order_uuid_changed("{06802d3d-ed86-4181-8f0c-3ec5c78bf4f7};{42512e63-2d09-4143-8be5-4ee52d089f74};{fb4041dc-db0e-44b8-8229-44fee65e06fc};{dfab77ad-d5f5-437d-8b9f-c5bda0f0c3d9}")
[1088391,398] wl_buffer@296.release()
[1088391,399] wl_buffer@299.release()
[1088391,401] wl_buffer@302.release()
[1088391,421]  -> org_kde_plasma_window@375.destroy()
[1088391,427]  -> org_kde_plasma_window@374.destroy()
[1088397,345] wl_display@1.delete_id(375)
[1088397,355] wl_display@1.delete_id(374)
[1088397,357] wl_display@1.delete_id(209)
[1088397,360] wl_callback@209.done(1574065)
[1088535,904] wl_callback@207.done(1055)
[1088535,915] wl_buffer@210.release()
[1088536,109]  -> wl_surface@62.frame(new id wl_callback@209)
[1088536,118]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1088536,122]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1088536,146]  -> wl_surface@62.commit()
[1088536,148]  -> wl_display@1.sync(new id wl_callback@207)
[1088536,389] wl_display@1.delete_id(207)
[1088541,935] wl_display@1.delete_id(209)
[1088541,944] wl_callback@209.done(1574211)
[1088542,002] wl_callback@207.done(1056)
[1088542,006] wl_buffer@211.release()
[1088542,123]  -> wl_surface@62.frame(new id wl_callback@209)
[1088542,132]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1088542,136]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1088542,176]  -> wl_surface@62.commit()
[1088542,179]  -> wl_display@1.sync(new id wl_callback@207)
[1088544,179] wl_display@1.delete_id(207)
[1088549,805] wl_display@1.delete_id(209)
[1088549,814] wl_callback@209.done(1574219)
[1088549,947] wl_callback@207.done(1056)
[1088549,952] wl_buffer@210.release()
[1088550,084]  -> wl_surface@62.frame(new id wl_callback@209)
[1088550,094]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1088550,098]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1088551,882]  -> wl_surface@62.commit()
[1088551,889]  -> wl_display@1.sync(new id wl_callback@207)
[1088552,002] wl_display@1.delete_id(207)
[1088564,859] wl_display@1.delete_id(209)
[1088564,867] wl_callback@209.done(1574231)
[1088566,054] wl_callback@207.done(1056)
[1088566,061] wl_buffer@211.release()
[1088566,183]  -> wl_surface@62.frame(new id wl_callback@209)
[1088566,192]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1088566,196]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1088566,214]  -> wl_surface@62.commit()
[1088566,216]  -> wl_display@1.sync(new id wl_callback@207)
[1088566,328] wl_display@1.delete_id(207)
[1088574,269] wl_display@1.delete_id(209)
[1088574,277] wl_callback@209.done(1574243)
[1088582,786] wl_callback@207.done(1056)
[1088582,793] wl_buffer@210.release()
[1088582,915]  -> wl_surface@62.frame(new id wl_callback@209)
[1088582,924]  -> wl_surface@62.attach(wl_buffer@210, 0, 0)
[1088582,928]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1088582,946]  -> wl_surface@62.commit()
[1088582,948]  -> wl_display@1.sync(new id wl_callback@207)
[1088583,061] wl_display@1.delete_id(207)
[1088597,786] wl_display@1.delete_id(209)
[1088597,795] wl_callback@209.done(1574259)
[1088597,899] wl_callback@207.done(1056)
[1088597,904] wl_buffer@211.release()
[1088597,998]  -> wl_surface@62.frame(new id wl_callback@209)
[1088598,006]  -> wl_surface@62.attach(wl_buffer@211, 0, 0)
[1088598,009]  -> wl_surface@62.damage(0, 0, 2147483647, 2147483647)
[1088598,026]  -> wl_surface@62.commit()
[1088598,028]  -> wl_display@1.sync(new id wl_callback@207)
[1088603,817] wl_display@1.delete_id(207)
[1088609,551] wl_display@1.delete_id(209)
[1088609,560] wl_callback@209.done(1574279)
^C
Comment 4 Nate Graham 2021-12-09 14:26:49 UTC
Thanks for the info.
Comment 5 David Edmundson 2022-01-14 16:01:08 UTC
This log is missing all calls to org_kde_plasma_surface

This log appears to be extremely truncated. Can you attach the whole thing please.
Comment 6 Bug Janitor Service 2022-01-29 04:37:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2022-02-13 04:36:34 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!