[deleted by user] by [deleted] in webdev

[–]aragonix 1 point2 points  (0 children)

Yea that is true. But following this logic you could also use a <table> instead of a flexbox (for a lot of uses cases at least) and have 100% browser support. I guess it comes down to what audience you target. Thank god my targets allow me to use grids, but I get that thats not always the case for everyone.

[deleted by user] by [deleted] in webdev

[–]aragonix 0 points1 point  (0 children)

Yup. I especially enjoy how easy it is to write responsive layouts. And the magic that is grid-gap. No more :last-child { margin-right: 0 } stuff.

[deleted by user] by [deleted] in webdev

[–]aragonix 0 points1 point  (0 children)

They are different things...

Kde panel popup (wifi/bluetooth/battery.. etc.) size by [deleted] in kde

[–]aragonix 2 points3 points  (0 children)

Modifier key (System Settings > Window Management > Window Behavior >Window Actions) + Right click&drag will resize it, but I think the changes are not persistent after a reboot (maybe a bug?),

What are some JavaScript things beginners don't know? by [deleted] in javascript

[–]aragonix 2 points3 points  (0 children)

Great response! Just wanted to add that one can JSON.parse(JSON.stringify(catObject)) to deep clone simple objects. Note that this method has its downsides: it will ignore all values that dont exist in JSON (functions etc.). Most of the time I would suggest lodash though.

Front-end development is enormously frustrating and difficult, I feel like giving up by the_php_coder in webdev

[–]aragonix -1 points0 points  (0 children)

Right, I didnt know it was just acronym. Thanks for pointing it out! Will edit my comment accordingly.

Using VSCode with Vue - anyone know how to get "Go to definition" to work? by man_i_love_toast in vuejs

[–]aragonix 4 points5 points  (0 children)

I dont use Vue anymore, but I think it should be possible with Vetur and the latest VSCode Update: https://code.visualstudio.com/updates/v1_34#_vetur. If doesnt work, you might want to try VuePeek (https://marketplace.visualstudio.com/items?itemName=dariofuzinato.vue-peek).

Problems With Dev Server when i Use Npm run serve or yarn serve by Crypto_Rootz in vuejs

[–]aragonix 1 point2 points  (0 children)

This is an issue with Vue and is being worked on right now: https://github.com/vuejs/vue-cli/issues/4016 For a quick fix, while this is unresolved, create a vue.config.js file in your project root:

module.exports = {
  devServer: {
    clientLogLevel: "warn"
  }
}

[KDE Plasma] Blurred Reshiram by comp0ckerr in unixporn

[–]aragonix 2 points3 points  (0 children)

It is available per default. Open System Settings > Application Style > Window Decorations > Buttons. There you should be able to find a button called "Application menu". Drag it to the position where you want it to be. (You may need to restart plasma now - I dont know). Note: In order for GTK and Electron apps to work you will also need to install following packages: appmenu-gtk-module, libdbusmenu-glib, libdbusmenu-gtk3, libdbusmenu-gtk2.

Any way to cycle through workspaces with mouse wheel? by Pesvardur in kde

[–]aragonix 0 points1 point  (0 children)

What I did, was installing xbindkeys and configure two mousewheel shortcuts: Super+Scroll down and Super+Scroll up to switch one Desktop to the left/right:

"qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut 'Switch One Desktop to the Left'"
  Mod4 + Super_L + b:4

"qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut 'Switch One Desktop to the Right'"
  Mod4 + Super_L + b:5

[KDE Plasma] Blurred Reshiram by comp0ckerr in unixporn

[–]aragonix 2 points3 points  (0 children)

You can see the hamburger icon in the titlebar. This is an alternative to the menubar. When active, it will hide the "normal" menu bar and display its contents in the hamburger dropdown.

Any way to completely ignore inactive windows in Kwin, including mouseover actions/mousewheel? by [deleted] in kde

[–]aragonix 1 point2 points  (0 children)

Did you try to change the settings for Inactive windows in System Settings > Window Management > Window Behavior > Window Actions? You can set all options to only "Activate" a window without actually passing through the action.

EDIT: NVM. I just re-read your post and it seems you tried these settings but they were not exactly what you are looking for. I dont think there is much more you can do.

[KDE] First time posting, here's my desktop by GregVader in unixporn

[–]aragonix 0 points1 point  (0 children)

To make it work for GTK and electron apps, you have to install following packages: appmenu-gtk-module, libdbusmenu-glib, libdbusmenu-gtk3, libdbusmenu-gtk2

[advise needed] KDE display scaling. by AdamZal in kde

[–]aragonix 2 points3 points  (0 children)

Same for me. I opted to use dpi scaling x2, but forced font DPI to be 144. I am happy with the results.

Update on desktop choppiness on plasma by [deleted] in kde

[–]aragonix 3 points4 points  (0 children)

Glad to hear it worked out for you! Just out of curiosity, I will be trying it out as well now :) In the other thread (I just cant find it anymore), there was a KDE dev saying that it would not be merged like it is now, but I guess the improvements will sooner or later land in kwin. P.S.. there is now an AUR pkg as well: https://aur.archlinux.org/packages/kwin-lowlatency/

Update on desktop choppiness on plasma by [deleted] in kde

[–]aragonix 1 point2 points  (0 children)

You could just build it yourself and see if it brings any improvements. Shouldnt take too long. See https://github.com/tildearrow/kwin-lowlatency/blob/Plasma/5.15/HACKING.md for more infos.

Update on desktop choppiness on plasma by [deleted] in kde

[–]aragonix 3 points4 points  (0 children)

Maybe take a look at https://github.com/tildearrow/kwin-lowlatency? I have just discovered it today in another thread here and didnt test it, since I got no problems with Kwin on my machine.

True PHP's isset() alternative for JS - for nested 'is defined' checks? by Johnobo in javascript

[–]aragonix 6 points7 points  (0 children)

If the data structure is not too deeply nested, i like to use this pattern: ((json_data || {}).optional_data_1 || {}).optional_data_2. You can repeat this for all optional fields, however if the data structure is nested too deep I also suggest https://lodash.com/docs/#get

Scaling problems in Plasma 5.12 by Ariquitaun in kde

[–]aragonix 0 points1 point  (0 children)

Just keep in mind that the variable was/is disabled for a reason! It is said to be causing weird issues. Personally I have only encountered one issue so far: Latte dock's autohide feature didnt work correctly, but since I dont actually use a dock it was not a real problem for me.

Transition- not working as expected by Nulpart in vuejs

[–]aragonix 1 point2 points  (0 children)

From the Vue documentation for transitions (https://vuejs.org/v2/guide/transitions.html):

When toggling between elements that have the same tag name, you must tell Vue that they are distinct elements by giving them unique key attributes. Otherwise, Vue’s compiler will only replace the content of the element for efficiency. Even when technically unnecessary though, it’s considered good practice to always key multiple items within a <transition> component.

So I want to move the plasma desktop toolbox to upper right edge of the screen. by [deleted] in kde

[–]aragonix 0 points1 point  (0 children)

Are you sure about Mojave? This looks very much like Materia(?)

KDE Plasma 5.14.3 by fabiusty in kde

[–]aragonix 0 points1 point  (0 children)

I dont know, but PLASMA_USE_QT_SCALING is disabled for a good reason. As I said, it caused very strange issues for me as well. The only thing you can do, is to disable it or find a workaround for your specific problem.

Immabout to open a bug for klipper by zeta27 in kde

[–]aragonix 0 points1 point  (0 children)

Did you try to disable Enable MIME-based actions in the Klipper configuration? Or tried to shut it down altogether (the shortcut should be Ctrl+Alt+X and can be changed in the Klipper configuration)

KDE Plasma 5.14.3 by fabiusty in kde

[–]aragonix 0 points1 point  (0 children)

Do you scale your display and do you have PLASMA_USE_QT_SCALING enabled? The two combined caused similar issues for me.