dangvd / ksmoothdock

A cool desktop panel for KDE Plasma 5
56 stars 7 forks source link

Bad Possition after disable display #132

Open tyvioto opened 1 year ago

tyvioto commented 1 year ago

I use 2 Monitor With Different Size , FullHD on Laptop an External monitor with 2k. Dock is on Bottom Position, Prim Display is Laptop . After close laptop is Laptop Display Turned Off Dock IS moved to External monitor, not at bottom. Dock position is set to "OLD monitor Height". I must Exit Dock and start Again

dangvd commented 1 year ago

Hi,

Sorry for the slow response.

This dock is gonna be replaced with: https://github.com/dangvd/crystal-dock

So when it appears on your external monitor, where does it show?

I will try to fix this issue in the new dock if it's still there.

Thanks, Viet

tyvioto commented 1 year ago

Hello Thanks for information,

I use Manjaro and i dont find crystal-dock in AUR. I try it pull from github and compile and i GET some errors : Do I need other version of libs ?

I send StaceTrack:

[ 4%] Building CXX object CMakeFiles/crystal-dock_lib.dir/crystal-dock_lib_autogen/mocs_compilation.cpp.o In file included from /home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/moc_desktop_selector.cpp:10,

            from

/home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/mocs_compilation.cpp:11:

/home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/../../../src/view/desktop_selector.h: In member function ‘bool crystaldock::DesktopSelector::isCurrentDesktop() const’: /home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/../../../src/view/desktopselector.h:65:41: error: ‘static int KWindowSystem::currentDesktop()’ is deprecated: Since 5.101. Use KX11Extras::currentDesktop() instead [-Werror=deprecated-declarat ions] 65 | return KWindowSystem::currentDesktop() == desktop; | ~~~~~~~~~^~ In file included from /usr/include/KF5/KWindowSystem/KWindowSystem:1, from /home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/../../../src/view/desktop_selector.h:31:

/usr/include/KF5/KWindowSystem/kwindowsystem.h:241:16: note: declared here 241 | static int currentDesktop(); | ^~~~~~ In file included from /home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/moc_dock_panel.cpp:10,

            from

/home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/mocs_compilation.cpp:12:

/home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/../../../src/view/dock_panel.h: In member function ‘int crystaldock::DockPanel::pagerItemCount() const’: /home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/../../../src/view/dockpanel.h:199:56: error: ‘static int KWindowSystem::numberOfDesktops()’ is deprecated: Since 5.101. Use KX11Extras::numberOfDesktops() instead [-Werror=deprecated-declarati ons] 199 | return showPager ? KWindowSystem::numberOfDesktops() : 0; | ~~~~~~~^~ /usr/include/KF5/KWindowSystem/kwindowsystem.h:251:16: note: declared here 251 | static int numberOfDesktops(); | ^~~~ In file included from /home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/moc_program.cpp:10,

            from

/home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/mocs_compilation.cpp:16:

/home/robo/Documents/pkg/crystal-dock/build/crystal-dock_lib_autogen/OTUN7GXZT4/../../../src/view/program.h: In member function ‘int crystaldock::Program::getActiveTask() const’: /home/robo/Documents/pkg/crystal-dock/build/crystal-dock_libautogen/OTUN7GXZT4/../../../src/view/program.h:88:38: error: ‘static WId KWindowSystem::activeWindow()’ is deprecated: Since 5.101. Use KX11Extras::activeWindow() instead [-Werror=deprecated-declarations] 88 | if (KWindowSystem::activeWindow() == tasks[i].wId) { | ~~~~~~~^~ /usr/include/KF5/KWindowSystem/kwindowsystem.h:126:16: note: declared here 126 | static WId activeWindow();

On Fri, Dec 23, 2022 at 11:30 PM Viet Dang @.***> wrote:

Hi,

Sorry for the slow response.

This dock is gonna be replaced with: https://github.com/dangvd/crystal-dock

So when it appears on your external monitor, where does it show?

I will try to fix this issue in the new dock if it's still there.

Thanks, Viet

— Reply to this email directly, view it on GitHub https://github.com/dangvd/ksmoothdock/issues/132#issuecomment-1364367574, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7SWFQ56JFUTJHW3IBNOM3WOYRXXANCNFSM6AAAAAASLDWWHY . You are receiving this because you authored the thread.Message ID: @.***>

dangvd commented 1 year ago

The compiling error should be fixed now. Btw this problem still persists in the new dock. I don't know how to fix it yet. Sorry for the inconvenience. Viet